ddr-batch 2.0.0.alpha.3 → 2.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/app/models/ddr/batch/batch_object_datastream.rb +0 -1
- data/app/models/ddr/batch/update_batch_object.rb +1 -1
- data/config/fedora.yml +15 -0
- data/config/solr.yml +6 -0
- data/lib/ddr/batch/version.rb +1 -1
- metadata +18 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01b3c494e62bcf2bfdb506dbd23b23a006388e2a
|
4
|
+
data.tar.gz: c8f6bcadf9d77ddd5834fdb7475325a404368e20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4ab39d07a6cc856a6e037a3e96cfb121a3b803b28b290dd75073565d63f35b878f9e8ee52495eadb41f4bc65e9ca12a9e7f890615f17ff8e10c16592ca66b00
|
7
|
+
data.tar.gz: 7d9696a35a5a68c3f832f932eb04ada4500e4b75d6f1ee2d13367a796362f45e9024e8ce2182a2b4e9c59462d877099ab0b29d9b72b6eaf4716d58a182be06e9
|
data/Rakefile
CHANGED
@@ -6,7 +6,6 @@ module Ddr::Batch
|
|
6
6
|
|
7
7
|
DATASTREAMS = [ Ddr::Datastreams::CONTENT,
|
8
8
|
Ddr::Datastreams::DESC_METADATA,
|
9
|
-
Ddr::Datastreams::RIGHTS_METADATA,
|
10
9
|
Ddr::Datastreams::STRUCT_METADATA ]
|
11
10
|
|
12
11
|
OPERATION_ADD = "ADD" # add this datastream to the object -- considered an error if datastream already exists
|
@@ -77,7 +77,7 @@ module Ddr::Batch
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
if repo_object.save
|
80
|
-
repo_object.notify_event(:update,
|
80
|
+
repo_object.notify_event(:update, user_key: user.user_key, comment: event_log_comment)
|
81
81
|
end
|
82
82
|
rescue Exception => e
|
83
83
|
logger.error("Error in updating repository object #{pid} for #{identifier} : : #{e}")
|
data/config/fedora.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
development:
|
2
|
+
user: fedoraAdmin
|
3
|
+
password: fedoraAdmin
|
4
|
+
url: http://127.0.0.1:8983/fedora/rest
|
5
|
+
base_path: /dev
|
6
|
+
test:
|
7
|
+
user: fedoraAdmin
|
8
|
+
password: fedoraAdmin
|
9
|
+
url: http://127.0.0.1:8983/fedora/rest
|
10
|
+
base_path: /test
|
11
|
+
production:
|
12
|
+
user: fedoraAdmin
|
13
|
+
password: fedoraAdmin
|
14
|
+
url: http://127.0.0.1:8080/fedora/rest
|
15
|
+
base_path: /prod
|
data/config/solr.yml
ADDED
data/lib/ddr/batch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -165,6 +165,20 @@ dependencies:
|
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: blacklight
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 5.15.0
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: 5.15.0
|
168
182
|
description: Batch processing for Duke Digital Repository
|
169
183
|
email:
|
170
184
|
- lib-drs@duke.edu
|
@@ -189,8 +203,10 @@ files:
|
|
189
203
|
- app/scripts/ddr/batch/batch_processor.rb
|
190
204
|
- app/views/ddr/batch/batch_processor_run_mailer/send_notification.html.erb
|
191
205
|
- app/views/ddr/batch/batch_processor_run_mailer/send_notification.text.erb
|
206
|
+
- config/fedora.yml
|
192
207
|
- config/locales/en.yml
|
193
208
|
- config/routes.rb
|
209
|
+
- config/solr.yml
|
194
210
|
- db/migrate/20150828183839_create_batches.rb
|
195
211
|
- db/migrate/20150828201857_create_batch_objects.rb
|
196
212
|
- db/migrate/20150828202118_create_batch_object_attributes.rb
|