dor-services 5.23.1 → 5.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 200990fb553cd1e4eca73d050890251a880a8cdc
4
- data.tar.gz: 0316357c9bef1dfa568e8937c7d3fada2de9a18d
3
+ metadata.gz: 717f61e866d1e1e4125edf760e88e8a3ec6ed02e
4
+ data.tar.gz: f91e4bfb476c2ff531c5cae8908b6f85556cc50c
5
5
  SHA512:
6
- metadata.gz: a42d94ae1fbc620e3a79526becfb364a0e679044d49d64e2ffecb9809720f466063dda75c00e640431ac30ce5c12f02d834d5f3894f36f0528cacbd8a624dafe
7
- data.tar.gz: 6fdc9ee507f8fe56877470d03c44a9a0f0f255cfda76a9fc26be0a54466327824af9551b5015f0fc7b37accfc2e6e2471ba1758c2424f208a996ea5876d95daf
6
+ metadata.gz: 51f9bb46b0ccda8a56ca46d5dbed0f53fe7287160fdd0122b0660c054e86e9450218c6bf24a566a8d2a6564fb2e801078825bce2c4467b3d89fb0ae42a9ec32f
7
+ data.tar.gz: fcd112412914daf058bc260540454c5764c5ead6930808341679824061e4610586119c4a93510276d92cee64fdc61e8611eebfab9f2c1b878b18873988a356f8
@@ -1,3 +1,5 @@
1
+ require 'set'
2
+
1
3
  module Dor
2
4
  class ContentMetadataDS < ActiveFedora::OmDatastream
3
5
 
@@ -82,6 +84,7 @@ module Dor
82
84
  preserved_size = 0
83
85
  counts = Hash.new(0) # default count is zero
84
86
  resource_type_counts = Hash.new(0) # default count is zero
87
+ mime_types = ::Set.new
85
88
  first_shelved_image = nil
86
89
 
87
90
  doc.xpath('contentMetadata/resource').sort { |a, b| a['sequence'].to_i <=> b['sequence'].to_i }.each do |resource|
@@ -93,9 +96,11 @@ module Dor
93
96
  next unless file['shelve'] == 'yes'
94
97
  counts['shelved_file'] += 1
95
98
  first_shelved_image ||= file['id'] if file['id'] =~ /jp2$/
99
+ mime_types << file['mimetype']
96
100
  end
97
101
  end
98
102
  solr_doc['content_type_ssim' ] = doc.root['type']
103
+ solr_doc['content_file_mimetypes_ssim' ] = mime_types.to_a
99
104
  solr_doc['content_file_count_itsi' ] = counts['content_file']
100
105
  solr_doc['shelved_content_file_count_itsi'] = counts['shelved_file']
101
106
  solr_doc['resource_count_itsi' ] = counts['resource']
data/lib/dor/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dor
2
- VERSION = '5.23.1'.freeze
2
+ VERSION = '5.24.0'.freeze
3
3
  end
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.23.1
4
+ version: 5.24.0
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: 2017-04-26 00:00:00.000000000 Z
17
+ date: 2017-07-05 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: active-fedora
@@ -588,13 +588,7 @@ extensions: []
588
588
  extra_rdoc_files: []
589
589
  files:
590
590
  - config/certs/README
591
- - config/certs/dlss-dev-petucket-dor-dev.crt
592
- - config/certs/dlss-dev-petucket-dor-dev.csr
593
- - config/certs/dlss-dev-petucket-dor-dev.key
594
- - config/certs/dlss-dev-petucket-dor-prod.crt
595
- - config/certs/dlss-dev-petucket-dor-prod.key
596
591
  - config/config_defaults.yml
597
- - config/dev_console_env.rb
598
592
  - config/dev_console_env.rb.example
599
593
  - config/predicate_mappings.yml
600
594
  - lib/dor-services.rb
@@ -688,7 +682,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
688
682
  version: 1.3.6
689
683
  requirements: []
690
684
  rubyforge_project:
691
- rubygems_version: 2.6.11
685
+ rubygems_version: 2.5.2
692
686
  signing_key:
693
687
  specification_version: 4
694
688
  summary: Ruby implmentation of DOR services used by the SULAIR Digital Library
@@ -1,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k/sK
14
- o8wTuVebJGhuffTgYU2VWJ5at7AMasOP6IAT2nP2KvcoCmvG8u3BCTkck57Vde5H
15
- 86bJ88z6TEzhrElDMjmKx7gEb2P6RIKnDcNdduaR6DE6qJOBJ5F5W3KlAoGBANA1
16
- nKBEFEXJ4Cuw6OrJeyrgu/aCLFKus/orlfLPHFQAvFJzpqmCONz5H/Wcf+m6uMeR
17
- MQ6V705h2y+FUmwufpFyqCVunC1zJu6mZG9TNEjXzyFBnb4jcEjsMm6DCrVA6zOx
18
- 3iWd+rLNxIpN3fhskzclNnhn+WhGo7xktuIrVDHvAoGBAPLWVVLKTllQkWIFaRu2
19
- GA08yMuP1DFX0JcOrqi+BuUeDkslEh8N8oMGld9hnSojzBg/Hkd/fmN6Q4RO5qQe
20
- QqH90oUCk9Tzordx9EAxHEgt03dDYFwG0Eb+68lZc/23PNGZ2Vr8+F/lxCAVMtH3
21
- Avnyw3Gx/pj54zcpiYin8DqNAoGBAKSqcdfSX9Id6ZvES0E83Zs4p486vkEaCB8H
22
- j4y7veS1vDrdWmbfJYelw1/lSMiaMv8qVgj6DYwJGmdH4rrKPrFbY55PD1dmpdjC
23
- YdYlkMk3XIopsc6pimkx3GTIYJSe5iU5O762ZYo58IGNOcr6W6eWV7D8UiTlESOy
24
- 52yR5gGjAoGALfzgCSIAVlOli3a7m3aMWUtGhp+sVi7jGLE9NHTwFXnkYEoXmR+v
25
- 5CIvK8IzwtATEomoAa2GKGek8MSE+H1/o+SrGL9PIATnzuEZeJOIMnGa5mO26a9/
26
- eV2Qud4v/7qD2P2VnCVYaAMYqS6l0SxB11/UhuQiWdpITxy44CK1Jk8=
27
- -----END RSA PRIVATE KEY-----
@@ -1,85 +0,0 @@
1
- cert_dir = File.join(File.dirname(__FILE__), "certs")
2
-
3
- Dor::Config.configure do
4
-
5
- fedora do
6
- url 'https://sul-dor-test.stanford.edu/fedora'
7
- end
8
-
9
- ssl do
10
- cert_file File.join(cert_dir,"dlss-dev-petucket-dor-dev.crt")
11
- key_file File.join(cert_dir,"dlss-dev-petucket-dor-dev.key")
12
- key_pass ''
13
- end
14
-
15
- sdr do
16
- # url 'https://sdrAdmin:sdrPass@sdr-services-test.stanford.edu/sdr/'
17
- local_workspace_root '/dor/workspace'
18
- local_export_home '/dor/export'
19
- datastreams do
20
- administrativeMetadata 'optional'
21
- contentMetadata 'optional'
22
- descMetadata 'required'
23
- defaultObjectRights 'optional'
24
- events 'optional'
25
- embargoMetadata 'optional'
26
- identityMetadata 'required'
27
- provenanceMetadata 'required'
28
- relationshipMetadata 'required'
29
- rightsMetadata 'optional'
30
- roleMetadata 'optional'
31
- sourceMetadata 'optional'
32
- technicalMetadata 'optional'
33
- versionMetadata 'required'
34
- workflows 'optional'
35
- geoMetadata 'optional'
36
- end
37
- end
38
-
39
- suri do
40
- mint_ids true
41
- id_namespace 'druid'
42
- url 'http://sul-lyberservices-test.stanford.edu'
43
- user 'labware'
44
- pass 'lyberteam'
45
- end
46
-
47
- solr.url 'https://sul-solr-tester.stanford.edu/argo_stage'
48
- workflow.url 'https://sul-lyberservices-test.stanford.edu/workflow/'
49
- dor_services.url 'https://dorAdmin:dorAdmin@sul-lyberservices-test.stanford.edu/dor'
50
-
51
- purl do
52
- base_url 'https://purl-test.stanford.edu/'
53
- end
54
-
55
- remediation do
56
- check_for_versioning_required false # this MUST be true in production; can be false in development and test if you want to ignore workflow checks
57
- check_for_in_accessioning false # this MUST be true in production; can be false in development and test if you want to ignore workflow checks
58
- end
59
-
60
- dor do
61
- service_root 'https://dorAdmin:dorAdmin@sul-lyberservices-test.stanford.edu/dor/v1'
62
- num_attempts 3 # the number of attempts to contact the dor web service before throwing an exception
63
- sleep_time 2 # sleep time in seconds between attempts to contact the dor service
64
- default_label 'Untitled' # the default label for an object that is registered when no label is provided in the manifest
65
- end
66
-
67
- content do
68
- content_user 'lyberadmin'
69
- content_base_dir '/dor/workspace/'
70
- content_server 'lyberservices-test'
71
- end
72
- status do
73
- indexer_url 'http://sulstats-raw.stanford.edu//render/?format=json&from=-1minute&until=now&target=stats.gauges.dor-prod.argo.reindexqueue.queue-size.count'
74
- end
75
- stacks do
76
- document_cache_storage_root '/home/lyberadmin/document_cache'
77
- document_cache_host 'purl-test.stanford.edu'
78
- document_cache_user 'lyberadmin'
79
- local_workspace_root '/dor/workspace'
80
- storage_root '/stacks'
81
- host 'stacks-test.stanford.edu'
82
- user 'lyberadmin'
83
- end
84
-
85
- end