dor-services 5.10.0 → 5.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/certs/dlss-dev-petucket-dor-dev.crt +29 -0
- data/config/certs/dlss-dev-petucket-dor-dev.csr +18 -0
- data/config/certs/dlss-dev-petucket-dor-dev.key +27 -0
- data/config/certs/dlss-dev-petucket-dor-prod.crt +29 -0
- data/config/certs/dlss-dev-petucket-dor-prod.key +27 -0
- data/config/dev_console_env.rb +86 -0
- data/lib/dor/models/publishable.rb +6 -0
- data/lib/dor/version.rb +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab8cc119c663bc0f36b8ab36cd49ffa406660077
|
4
|
+
data.tar.gz: a6fe9c9d28d341eb2747b612352a3d3a72064093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20e56da2e137e4b04b0dc1f7e5fe3a45b1dca4d79282f462fc3dd5feb7ad00f86c3a69adc10a2d4ecefa738529e22875ec530605dc2e13502277b47c1da94781
|
7
|
+
data.tar.gz: b04147c24aef8bf7ccecf604b8e110ac5a4fb67f4590c618c1370348f7069b8edf4fd361414301d70f1dd30ef2280a87adbc7dc5a54c9c96712bbfdc8f0291f6
|
@@ -0,0 +1,29 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIE3zCCAscCCQCcUJVDTu7rPzANBgkqhkiG9w0BAQUFADCBvzELMAkGA1UEBhMC
|
3
|
+
VVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCFN0YW5mb3JkMRwwGgYD
|
4
|
+
VQQKExNTdGFuZm9yZCBVbml2ZXJzaXR5MRIwEAYDVQQLEwlMaWJyYXJpZXMxJTAj
|
5
|
+
BgNVBAMTHFNVTCBET1IgKGRldi90ZXN0KSBhY2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Oli3a7m3aMWUtGhp+sVi7jGLE9NHTwFXnkYEoXmR+v
|
25
|
+
5CIvK8IzwtATEomoAa2GKGek8MSE+H1/o+SrGL9PIATnzuEZeJOIMnGa5mO26a9/
|
26
|
+
eV2Qud4v/7qD2P2VnCVYaAMYqS6l0SxB11/UhuQiWdpITxy44CK1Jk8=
|
27
|
+
-----END RSA PRIVATE KEY-----
|
@@ -0,0 +1,86 @@
|
|
1
|
+
cert_dir = File.join(File.dirname(__FILE__), "certs")
|
2
|
+
|
3
|
+
Dor::Config.configure do
|
4
|
+
fedora do
|
5
|
+
url 'https://sul-dor-test.stanford.edu/fedora'
|
6
|
+
end
|
7
|
+
|
8
|
+
ssl do
|
9
|
+
cert_file File.join(cert_dir,"dlss-dev-petucket-dor-dev.crt")
|
10
|
+
key_file File.join(cert_dir,"dlss-dev-petucket-dor-dev.key")
|
11
|
+
key_pass ''
|
12
|
+
end
|
13
|
+
|
14
|
+
suri do
|
15
|
+
mint_ids true
|
16
|
+
id_namespace 'druid'
|
17
|
+
url 'https://lyberservices-test.stanford.edu'
|
18
|
+
user 'labware'
|
19
|
+
pass 'lyberteam'
|
20
|
+
end
|
21
|
+
|
22
|
+
metadata do
|
23
|
+
exist.url 'http://viewer:l3l%40nd@lyberapps-dev.stanford.edu/exist/rest/'
|
24
|
+
catalog.url 'http://lyberservices-prod.stanford.edu/catalog/mods'
|
25
|
+
end
|
26
|
+
|
27
|
+
stacks do
|
28
|
+
local_workspace_root '/dor/workspace'
|
29
|
+
document_cache_host 'sul-purl-test.stanford.edu'
|
30
|
+
local_stacks_root '/stacks'
|
31
|
+
local_document_cache_root '/purl/document_cache'
|
32
|
+
end
|
33
|
+
|
34
|
+
gsearch.url 'http://127.0.0.1:8080/solr/argo_test'
|
35
|
+
solrizer.url 'http://127.0.0.1:8080/solr/argo_test'
|
36
|
+
workflow.url 'https://lyberservices-test.stanford.edu/workflow/'
|
37
|
+
dor_services.url 'https://dorAdmin:dorAdmin@sul-lyberservices-test.stanford.edu/dor'
|
38
|
+
|
39
|
+
content do
|
40
|
+
sdr_server 'https://sdr-services-test.stanford.edu'
|
41
|
+
sdr_user 'sdrAdmin'
|
42
|
+
sdr_pass 'sdrAdmin'
|
43
|
+
end
|
44
|
+
|
45
|
+
cleanup do
|
46
|
+
local_workspace_root '/dor/workspace'
|
47
|
+
local_assembly_root '/dor/assembly'
|
48
|
+
local_export_home '/dor/export'
|
49
|
+
end
|
50
|
+
|
51
|
+
sdr do
|
52
|
+
url 'https://sdrAdmin:sdrAdmin@sdr-services-test.stanford.edu/sdr/'
|
53
|
+
local_workspace_root '/dor/workspace'
|
54
|
+
local_export_home '/dor/export'
|
55
|
+
datastreams do
|
56
|
+
administrativeMetadata 'optional'
|
57
|
+
contentMetadata 'optional'
|
58
|
+
descMetadata 'required'
|
59
|
+
defaultObjectRights 'optional'
|
60
|
+
events 'optional'
|
61
|
+
embargoMetadata 'optional'
|
62
|
+
identityMetadata 'required'
|
63
|
+
provenanceMetadata 'required'
|
64
|
+
relationshipMetadata 'required'
|
65
|
+
rightsMetadata 'optional'
|
66
|
+
roleMetadata 'optional'
|
67
|
+
sourceMetadata 'optional'
|
68
|
+
technicalMetadata 'optional'
|
69
|
+
versionMetadata 'required'
|
70
|
+
workflows 'optional'
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
|
76
|
+
WORKFLOW_URI = 'http://lyberservices-test.stanford.edu/workflow'
|
77
|
+
|
78
|
+
# Constants for Dor::WorkflowService
|
79
|
+
# module Dor
|
80
|
+
# CREATE_WORKFLOW = DOR_CREATE_WORKFLOW = true
|
81
|
+
# WF_URI = 'http://lyberservices-test.stanford.edu/workflow'
|
82
|
+
# end
|
83
|
+
#
|
84
|
+
# # External application locations
|
85
|
+
# JHOVE_HOME = File.join(ENV['HOME'], 'jhoveToolkit')
|
86
|
+
#
|
@@ -80,11 +80,17 @@ module Dor
|
|
80
80
|
##
|
81
81
|
# When publishing a PURL, we drop a `aa11bb2222` file into the `local_recent_changes` folder
|
82
82
|
# to notify other applications watching the filesystem (i.e., purl-fetcher).
|
83
|
+
# We also remove any .deletes entry that may have left over from a previous removal
|
83
84
|
# @param [String] `local_recent_changes` usually `/purl/recent_changes`
|
84
85
|
def publish_notify_on_success(local_recent_changes = Config.stacks.local_recent_changes)
|
85
86
|
raise ArgumentError, "Missing local_recent_changes directory: #{local_recent_changes}" unless File.directory?(local_recent_changes)
|
86
87
|
id = pid.gsub(/^druid:/, '')
|
87
88
|
FileUtils.touch(File.join(local_recent_changes, id))
|
89
|
+
begin
|
90
|
+
DruidTools::Druid.new(id, Dor::Config.stacks.local_document_cache_root).deletes_delete_record
|
91
|
+
rescue Errno::EACCES
|
92
|
+
Dor.logger.warn "Access denied while trying to remove .deletes file for druid:#{id}"
|
93
|
+
end
|
88
94
|
end
|
89
95
|
end
|
90
96
|
end
|
data/lib/dor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dor-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.10.
|
4
|
+
version: 5.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2016-
|
17
|
+
date: 2016-09-07 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: active-fedora
|
@@ -552,7 +552,13 @@ extensions: []
|
|
552
552
|
extra_rdoc_files: []
|
553
553
|
files:
|
554
554
|
- config/certs/README
|
555
|
+
- config/certs/dlss-dev-petucket-dor-dev.crt
|
556
|
+
- config/certs/dlss-dev-petucket-dor-dev.csr
|
557
|
+
- config/certs/dlss-dev-petucket-dor-dev.key
|
558
|
+
- config/certs/dlss-dev-petucket-dor-prod.crt
|
559
|
+
- config/certs/dlss-dev-petucket-dor-prod.key
|
555
560
|
- config/config_defaults.yml
|
561
|
+
- config/dev_console_env.rb
|
556
562
|
- config/dev_console_env.rb.example
|
557
563
|
- config/predicate_mappings.yml
|
558
564
|
- lib/dor-services.rb
|
@@ -652,9 +658,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
652
658
|
version: 1.3.6
|
653
659
|
requirements: []
|
654
660
|
rubyforge_project:
|
655
|
-
rubygems_version: 2.4.
|
661
|
+
rubygems_version: 2.4.6
|
656
662
|
signing_key:
|
657
663
|
specification_version: 4
|
658
664
|
summary: Ruby implmentation of DOR services used by the SULAIR Digital Library
|
659
665
|
test_files: []
|
660
|
-
has_rdoc:
|