Skip to content

Commit

Permalink
Throwaway commit to test in-progress sdr-client patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed Jun 12, 2024
1 parent 7c3e438 commit 19baaaf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ gem 'dor-workflow-client'
gem 'reform', '~> 2.5.0'
gem 'reform-rails'
gem 'rubyzip', '~> 2.3'
gem 'sdr-client', '~> 2.14'
gem 'sdr-client', github: 'sul-dlss/sdr-client', branch: 'allow-collection-deposits' # '~> 2.14'
gem 'sidekiq', '~> 7.0'
gem 'sneakers', '~> 2.11' # rabbitMQ background processing
gem 'state_machines-activerecord'
Expand Down
24 changes: 15 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
GIT
remote: https://github.com/sul-dlss/sdr-client.git
revision: e2de5260f0f7ddcb6f57e34121d83ef1b2689433
branch: allow-collection-deposits
specs:
sdr-client (2.15.0)
activesupport
cocina-models (~> 0.97.0)
config
dry-monads
faraday (>= 0.16)
launchy
zeitwerk

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -544,14 +558,6 @@ GEM
ruby-next-core (1.0.3)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
sdr-client (2.15.0)
activesupport
cocina-models (~> 0.97.0)
config
dry-monads
faraday (>= 0.16)
launchy
zeitwerk
selenium-webdriver (4.21.1)
base64 (~> 0.2)
rexml (~> 3.2, >= 3.2.5)
Expand Down Expand Up @@ -729,7 +735,7 @@ DEPENDENCIES
rubocop-rails
rubocop-rspec
rubyzip (~> 2.3)
sdr-client (~> 2.14)
sdr-client!
selenium-webdriver
sidekiq (~> 7.0)
simplecov
Expand Down
3 changes: 3 additions & 0 deletions app/jobs/deposit_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def perform(work_version)

case request_dro
when Cocina::Models::RequestDRO
Rails.logger.info("WorkVersion (#{work_version.id}) staged files: #{work_version.staged_files}")
Rails.logger.info("WorkVersion (#{work_version.id}) staged local files: #{work_version.staged_local_files}")
Rails.logger.info("WorkVersion (#{work_version.id}) preserved files: #{work_version.preserved_files}")
SdrClient::RedesignedClient.deposit_model(
accession: true,
assign_doi: work_version.work.assign_doi?,
Expand Down

0 comments on commit 19baaaf

Please sign in to comment.