libis-services 0.1.11 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c800ab699b1376668e4ca1b69642e2a1aecf9046
4
- data.tar.gz: dc4340ddf71919cc675258db6635ded30847bcaf
3
+ metadata.gz: ba5e29784d68584bf65c2e37772585e3cc629d35
4
+ data.tar.gz: 8187615a4b52a6e2a89507e63e349cae6897a2a5
5
5
  SHA512:
6
- metadata.gz: 76ad17245bc4b1e81c1ecdc5bc535e7a65f67ce9eb283a492abf7be690033d6b9af153eeb418c9e2913d7ab1d254ace32d01b7177eb42462dcab3877392203c2
7
- data.tar.gz: 4238b0012fa945da77f58073fc4449a81999a5ba2aef89511fe76471bac45d7670cb26c97330598adcccfe78bfe3d62467670cce3568928bb7a8a44a7a19d80a
6
+ metadata.gz: d6dc1ce8c57b5d0aa76d08f52f9cf6fd3cbc63c4847e3c192c4fb24bcb430193bf1a722216650ba9bb08fc51501d34150d3034b892260b85d0da224413a9e6a6
7
+ data.tar.gz: 5fa5195120bf68cc953dca82826b8ad3c4dd81efd80cf240d93ebb71c57a3d743f038639e02c270d8fae5f6189190c96516c0f2a6719a16d4f8bf5b1108bee5d
@@ -72,7 +72,7 @@ module Libis
72
72
  end
73
73
  when REXML::Element
74
74
  obj.to_s
75
- when OAI::Response, OAI::Header, OAI::Record, OAI::MetadataFormat
75
+ when OAI::Response, OAI::Header, OAI::Record, OAI::MetadataFormat, OAI::Set
76
76
  result = obj.instance_variables.map do |x|
77
77
  x[1..-1].to_sym
78
78
  end.select do |x|
@@ -12,7 +12,7 @@ module Libis
12
12
  @user = user
13
13
  @password = password
14
14
  @oci = OCI8.new(user, password, database)
15
- ObjectSpace.define_finalizer( self, self.class.finalize(@oci) )
15
+ ObjectSpace.define_finalizer(self, self.class.finalize(@oci))
16
16
  end
17
17
 
18
18
  def self.finalize(oci)
@@ -39,6 +39,27 @@ module Libis
39
39
  oci.exec(statement, *bindvars, &block)
40
40
  end
41
41
 
42
+ def table(name)
43
+ metadata = oci.describe_table(name)
44
+ {
45
+ columns: metadata.columns.map do |column|
46
+ {
47
+ name: column.name,
48
+ type: column.data_type,
49
+ size: case column.data_type
50
+ when :number
51
+ column.precision
52
+ when :varchar2
53
+ column.char_size
54
+ else
55
+ column.data_size
56
+ end,
57
+ required: !column.nullable?
58
+ }
59
+ end
60
+ }
61
+ end
62
+
42
63
  def run(script, parameters = [])
43
64
  params = ''
44
65
  params = "\"" + parameters.join("\" \"") + "\"" if parameters and parameters.size > 0
@@ -1,6 +1,8 @@
1
1
  # coding: utf-8
2
2
 
3
3
  require 'awesome_print'
4
+ require 'httpclient'
5
+ require 'base64'
4
6
 
5
7
  require 'libis/tools/extend/hash'
6
8
  require 'libis/tools/config'
@@ -26,6 +28,10 @@ module Libis
26
28
  @pds_handle = handle
27
29
  end
28
30
 
31
+ def authenticate(user, password, institution)
32
+ @basic_auth = Base64.encode64 "#{user}-institutionCode-#{institution}:#{password}"
33
+ end
34
+
29
35
  def get_heart_bit
30
36
  request :get_heart_bit
31
37
  end
@@ -33,7 +39,11 @@ module Libis
33
39
  protected
34
40
 
35
41
  def call_raw(operation, args = {})
36
- data = request operation.to_s.to_sym, args
42
+ data = if @basic_auth
43
+ request operation.to_s.to_sym, args, headers: ['Authenticate', @basic_auth]
44
+ else
45
+ request operation.to_s.to_sym, args
46
+ end
37
47
 
38
48
  # remove wrapper
39
49
  data = data["#{operation}_response".to_sym]
@@ -176,7 +176,7 @@ module Libis
176
176
  def request_activities(method, args = {})
177
177
  data = call method, args
178
178
  list = Rosetta::DepositActivityList.new(total_records: data[:total_records])
179
- records = data[:records][:record]
179
+ records = data[:records][:record] rescue nil
180
180
  list.records = (records.is_a?(Array) ? records : [records]).map { |record| Rosetta::DepositActivity.new(record)}
181
181
  list
182
182
  end
@@ -6,7 +6,7 @@ module Libis
6
6
  class OaiPmh < Libis::Services::Oai
7
7
 
8
8
  def initialize(base_url = 'http://depot.lias.be', options = {})
9
- super('http://depot.lias.be')
9
+ super(base_url + '/oaiprovider/request')
10
10
  end
11
11
 
12
12
  def collections(institute, token = nil, query = Query.new)
@@ -21,7 +21,8 @@ module Libis
21
21
  end
22
22
 
23
23
  def is_user?(user_id)
24
- call :is_user_exists, arg0: @pds_handle, arg1: user_id
24
+ data = call :is_user_exists, arg0: @pds_handle, arg1: user_id
25
+ data == "User name #{user_id} already exists"
25
26
  end
26
27
 
27
28
  def producer(producer_id, producer_info = nil)
@@ -0,0 +1,28 @@
1
+ module Libis
2
+ module Services
3
+ module RosettaDb
4
+
5
+ class Client
6
+ require 'libis/services/oracle_client'
7
+
8
+ attr_accessor :url, :user, :password
9
+
10
+ def initialize(url, user, password)
11
+ @url = url
12
+ @user = user
13
+ @password = password
14
+ end
15
+
16
+ def connect
17
+ @oracle = OracleClient.new(@url, @user, @password)
18
+ end
19
+
20
+ def set_schema(schema)
21
+ @oracle.execute("alter session set current_schema = #{schema}")
22
+ end
23
+
24
+ end
25
+
26
+ end
27
+ end
28
+ end
@@ -26,8 +26,16 @@ module Libis
26
26
  super
27
27
  end
28
28
 
29
- def query(term, _options = {})
30
- @oracle.call('kul_packages.scope_xml_meta_file_ed', [term.upcase])
29
+ def query(term, options = {})
30
+
31
+ case options[:type] || 'REPCODE'
32
+ when 'REPCODE'
33
+ @oracle.call('kul_packages.scope_xml_meta_file_ed', [term.upcase])
34
+ when 'ID'
35
+ @oracle.call('kul_packages.scope_xml_meta_file_by_id', term.to_i)
36
+ else
37
+ raise RuntimeError, "Invalid Scope search type '#{options[:type]}'"
38
+ end
31
39
  term = term.gsub(/[-\/]/, '_')
32
40
  err_file = "/nas/vol03/oracle/SCOPEP/#{term}_err.XML"
33
41
  md_file = "/nas/vol03/oracle/SCOPEP/#{term}_md.XML"
@@ -19,6 +19,8 @@ module Libis
19
19
  soap_version: 1,
20
20
  filters: [:password],
21
21
  pretty_print_xml: true,
22
+ read_timeout: 30,
23
+ open_timeout: 5,
22
24
  }.merge options
23
25
 
24
26
  @client = Savon.client(opts) { yield if block_given? }
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Services
3
- VERSION = '0.1.11'
3
+ VERSION = '0.1.12'
4
4
  end
5
5
  end
@@ -38,4 +38,5 @@ Gem::Specification.new do |spec|
38
38
  spec.add_runtime_dependency 'virtus', '~> 1.0'
39
39
  spec.add_runtime_dependency 'write_xlsx', '~> 0.83'
40
40
  spec.add_runtime_dependency 'awesome_print', '~> 1.6'
41
+ spec.add_runtime_dependency 'httpclient', '~> 2.8'
41
42
  end
@@ -10,7 +10,7 @@ describe 'Alma' do
10
10
  let(:record) {
11
11
  {
12
12
  leader: '01960nas a2200553u 4500',
13
- controlfield: ['9930800070101471', '20160801110041.0', '881205c19679999be r|p|| 0|||a|dut c'],
13
+ controlfield: ['9930800070101471', '20170602113306.0', '881205c19679999be r|p|| 0|||a|dut c'],
14
14
  datafield: [
15
15
  {
16
16
  subfield: '(BeLVLBS)003080007LBS01-Aleph',
@@ -65,76 +65,76 @@ describe 'Alma' do
65
65
  :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
66
66
  }, {
67
67
  subfield: ['EKAD', '(1967)7-35, 37-52'],
68
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
68
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
69
69
  }, {
70
70
  subfield: ['EKAD', '(1968)1-14, 17-49'],
71
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
71
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
72
72
  }, {
73
73
  subfield: ['EKAD', '(1969)1-10, 12-37, 39-49'],
74
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
74
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
75
75
  }, {
76
76
  subfield: ['EKAD', '(1970)1-50 volledig'],
77
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
77
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
78
78
  }, {
79
79
  subfield: ['EKAD', '(1971)1-28, 30-31, 33-37, 41-49'],
80
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
80
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
81
81
  }, {
82
82
  subfield: ['EKAD', '(1972)22, 30-32, 34-36, 38-50'],
83
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
83
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
84
84
  }, {
85
85
  subfield: ['EKAD', '(1973)1-50 volledig'],
86
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
86
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
87
87
  }, {
88
88
  subfield: ['EKAD', '(1974)1-25, 27-50'],
89
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
89
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
90
90
  }, {
91
91
  subfield: ['EKAD', '(1975)-(1992)volledig'],
92
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
92
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
93
93
  }, {
94
94
  subfield: ['EKAD', '(1993)1-10, 12-50'],
95
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
95
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
96
96
  }, {
97
97
  subfield: ['EKAD', '(1994)-(1996)volledig'],
98
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
98
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
99
99
  }, {
100
100
  subfield: ['EKAD', '(1997)volledig'],
101
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
101
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
102
102
  }, {
103
103
  subfield: ['EKAD', '(1998)1-53'],
104
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
104
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
105
105
  }, {
106
106
  subfield: ['EKAD', '(2000)1-16, 18-52'],
107
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
107
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
108
108
  }, {
109
109
  subfield: ['EKAD', '(2001)-(2003)volledig'],
110
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
110
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
111
111
  }, {
112
112
  subfield: ['EKAD', '(2004)1-53'],
113
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
113
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
114
114
  }, {
115
115
  subfield: ['EKAD', '(2005)1-8, 10-52'],
116
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
116
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
117
117
  }, {
118
118
  subfield: ['EKAD', '(2006)1-26, 29, 32-52'],
119
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
119
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
120
120
  }, {
121
121
  subfield: ['EKAD', '(2007)39-42, 44, 46-49, 51-52'],
122
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
122
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
123
123
  }, {
124
124
  subfield: ['EKAD', '(2008)1-28, 32-53'],
125
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
125
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
126
126
  }, {
127
127
  subfield: ['EKAD', '(2009)1-34, 36-38'],
128
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
128
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
129
129
  }, {
130
130
  subfield: ['EKAD', '(2011)1-13, 15-36, 45-52'],
131
- :@tag => '993', :@ind1 => ' ', :@ind2 => ' '
131
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
132
132
  }, {
133
133
  subfield: ['EKAD', 'KADOC elektronische tijdschriften'],
134
- :@tag => '995', :@ind1 => ' ', :@ind2 => ' '
134
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
135
135
  }, {
136
136
  subfield: ['EKAD', 'KADOC lopende periodiek'],
137
- :@tag => '995', :@ind1 => ' ', :@ind2 => ' '
137
+ :@tag => '983', :@ind1 => ' ', :@ind2 => ' '
138
138
  }
139
139
  ],
140
140
  }
@@ -160,8 +160,8 @@ describe 'Alma' do
160
160
  it 'get record' do
161
161
  result = subject.get_marc('9930800070101480', 'l7xx8879c82a7d7b453a887a6e6dca8300fd').
162
162
  to_hash(:convert_tags_to => lambda { |tag| tag.snakecase.to_sym })
163
- puts result
164
- check_container(record, result[:bib][:record])
163
+ # ap result
164
+ expect(result[:bib][:record]).to deep_include(record)
165
165
  end
166
166
 
167
167
  end
@@ -178,7 +178,7 @@ describe 'Alma' do
178
178
  result = subject.search('alma.local_field_983', 'KYE000486')
179
179
  expect(result.size).to be 1
180
180
  result = result.first.to_hash(:convert_tags_to => lambda { |tag| tag.snakecase.to_sym })
181
- check_container(record, result[:record])
181
+ expect(result[:record]).to deep_include(record)
182
182
  end
183
183
  end
184
184
  end
data/spec/ie_data.rb CHANGED
@@ -15,8 +15,6 @@ def expected_ies
15
15
  "objectType" => "INTELLECTUAL_ENTITY",
16
16
  "creationDate" => "2015-10-13 14:41:56",
17
17
  "createdBy" => "testadmin",
18
- "modificationDate" => "2016-07-04 11:07:00",
19
- "modifiedBy" => "testadmin",
20
18
  "owner" => "CRS00.TESTINS.TESTDEP",
21
19
  "groupID" => "ABC123"
22
20
  }
@@ -85,8 +83,6 @@ def expected_mets
85
83
  "objectType" => "REPRESENTATION",
86
84
  "creationDate" => "2015-10-31 11:23:13",
87
85
  "createdBy" => "testadmin",
88
- "modificationDate" => "2015-10-31 11:43:10",
89
- "modifiedBy" => "testadmin",
90
86
  "owner" => "CRS00.TESTINS.TESTDEP"
91
87
  }
92
88
  ],
@@ -105,11 +101,7 @@ def expected_mets
105
101
  }
106
102
  ]
107
103
  },
108
- :rights => {
109
- "accessRightsPolicy" => [
110
- {"policyId" => "50740"}
111
- ]
112
- }
104
+ :rights => {}
113
105
  },
114
106
  "Table of Contents" => {
115
107
  "Zonsondergang Sinebjerg" => {
@@ -122,8 +114,6 @@ def expected_mets
122
114
  "objectType" => "FILE",
123
115
  "creationDate" => "2015-10-31 11:23:13",
124
116
  "createdBy" => "testadmin",
125
- "modificationDate" => "2015-10-31 11:43:10",
126
- "modifiedBy" => "testadmin",
127
117
  "owner" => "CRS00.TESTINS.TESTDEP",
128
118
  "groupID" => "DSC03102"
129
119
  }
@@ -159,8 +149,6 @@ def expected_mets
159
149
  "objectType" => "FILE",
160
150
  "creationDate" => "2015-10-31 11:23:13",
161
151
  "createdBy" => "testadmin",
162
- "modificationDate" => "2015-10-31 11:23:13",
163
- "modifiedBy" => "testadmin",
164
152
  "owner" => "CRS00.TESTINS.TESTDEP"
165
153
  }
166
154
  ],
@@ -183,8 +171,6 @@ def expected_mets
183
171
  "objectType" => "FILE",
184
172
  "creationDate" => "2015-10-31 11:23:13",
185
173
  "createdBy" => "testadmin",
186
- "modificationDate" => "2015-10-31 11:23:13",
187
- "modifiedBy" => "testadmin",
188
174
  "owner" => "CRS00.TESTINS.TESTDEP"
189
175
  }
190
176
  ],
@@ -206,8 +192,6 @@ def expected_mets
206
192
  "objectType" => "FILE",
207
193
  "creationDate" => "2015-10-31 11:23:13",
208
194
  "createdBy" => "testadmin",
209
- "modificationDate" => "2015-10-31 11:23:13",
210
- "modifiedBy" => "testadmin",
211
195
  "owner" => "CRS00.TESTINS.TESTDEP"
212
196
  }
213
197
  ],
@@ -228,8 +212,6 @@ def expected_mets
228
212
  [{"objectType" => "FILE",
229
213
  "creationDate" => "2015-10-31 11:23:13",
230
214
  "createdBy" => "testadmin",
231
- "modificationDate" => "2015-10-31 11:23:13",
232
- "modifiedBy" => "testadmin",
233
215
  "owner" => "CRS00.TESTINS.TESTDEP"}],
234
216
  "internalIdentifier" =>
235
217
  [{"internalIdentifierType" => "PID",
@@ -245,8 +227,6 @@ def expected_mets
245
227
  "objectType" => "FILE",
246
228
  "creationDate" => "2015-10-31 11:23:13",
247
229
  "createdBy" => "testadmin",
248
- "modificationDate" => "2015-10-31 11:23:13",
249
- "modifiedBy" => "testadmin",
250
230
  "owner" => "CRS00.TESTINS.TESTDEP"
251
231
  }
252
232
  ],
@@ -270,8 +250,6 @@ def expected_mets
270
250
  "objectType" => "REPRESENTATION",
271
251
  "creationDate" => "2015-10-31 11:24:55",
272
252
  "createdBy" => "testadmin",
273
- "modificationDate" => "2015-10-31 11:43:10",
274
- "modifiedBy" => "testadmin",
275
253
  "owner" => "CRS00.TESTINS.TESTDEP"
276
254
  }
277
255
  ],
@@ -279,8 +257,7 @@ def expected_mets
279
257
  {
280
258
  "usageType" => "VIEW",
281
259
  "preservationType" => "DERIVATIVE_COPY",
282
- "label" => "Small",
283
- "RepresentationCode" => "LOW"
260
+ "label" => "Small"
284
261
  }
285
262
  ],
286
263
  "internalIdentifier" => [
@@ -290,11 +267,7 @@ def expected_mets
290
267
  }
291
268
  ]
292
269
  },
293
- :rights => {
294
- "accessRightsPolicy" => [
295
- {"policyId" => "AR_EVERYONE"}
296
- ]
297
- },
270
+ :rights => {},
298
271
  },
299
272
  "Table of Contents" => {
300
273
  "Zonsondergang Sinebjerg" => {
@@ -307,8 +280,6 @@ def expected_mets
307
280
  "objectType" => "FILE",
308
281
  "creationDate" => "2015-10-31 11:24:55",
309
282
  "createdBy" => "testadmin",
310
- "modificationDate" => "2015-10-31 11:43:10",
311
- "modifiedBy" => "testadmin",
312
283
  "owner" => "CRS00.TESTINS.TESTDEP",
313
284
  "groupID" => "DSC03102"
314
285
  }
@@ -331,8 +302,6 @@ def expected_mets
331
302
  "objectType" => "FILE",
332
303
  "creationDate" => "2015-10-31 11:24:55",
333
304
  "createdBy" => "testadmin",
334
- "modificationDate" => "2015-10-31 11:24:55",
335
- "modifiedBy" => "testadmin",
336
305
  "owner" => "CRS00.TESTINS.TESTDEP"
337
306
  }
338
307
  ],
@@ -354,8 +323,6 @@ def expected_mets
354
323
  "objectType" => "FILE",
355
324
  "creationDate" => "2015-10-31 11:24:55",
356
325
  "createdBy" => "testadmin",
357
- "modificationDate" => "2015-10-31 11:24:55",
358
- "modifiedBy" => "testadmin",
359
326
  "owner" => "CRS00.TESTINS.TESTDEP"
360
327
  }
361
328
  ],
@@ -377,8 +344,6 @@ def expected_mets
377
344
  "objectType" => "FILE",
378
345
  "creationDate" => "2015-10-31 11:24:55",
379
346
  "createdBy" => "testadmin",
380
- "modificationDate" => "2015-10-31 11:24:55",
381
- "modifiedBy" => "testadmin",
382
347
  "owner" => "CRS00.TESTINS.TESTDEP"
383
348
  }
384
349
  ],
@@ -400,8 +365,6 @@ def expected_mets
400
365
  "objectType" => "FILE",
401
366
  "creationDate" => "2015-10-31 11:24:55",
402
367
  "createdBy" => "testadmin",
403
- "modificationDate" => "2015-10-31 11:24:55",
404
- "modifiedBy" => "testadmin",
405
368
  "owner" => "CRS00.TESTINS.TESTDEP"
406
369
  }
407
370
  ],
@@ -423,8 +386,6 @@ def expected_mets
423
386
  "objectType" => "FILE",
424
387
  "creationDate" => "2015-10-31 11:24:55",
425
388
  "createdBy" => "testadmin",
426
- "modificationDate" => "2015-10-31 11:24:55",
427
- "modifiedBy" => "testadmin",
428
389
  "owner" => "CRS00.TESTINS.TESTDEP"
429
390
  }
430
391
  ],
@@ -473,8 +434,6 @@ def expected_mets
473
434
  "objectType" => "REPRESENTATION",
474
435
  "creationDate" => "2015-10-13 14:41:56",
475
436
  "createdBy" => "testadmin",
476
- "modificationDate" => "2016-07-04 11:07:00",
477
- "modifiedBy" => "testadmin",
478
437
  "owner" => "CRS00.TESTINS.TESTDEP",
479
438
  "groupID" => "originals"
480
439
  }
@@ -570,8 +529,6 @@ def expected_mets
570
529
  "objectType" => "FILE",
571
530
  "creationDate" => "2015-10-31 11:19:45",
572
531
  "createdBy" => "testadmin",
573
- "modificationDate" => "2015-10-31 11:43:11",
574
- "modifiedBy" => "testadmin",
575
532
  "owner" => "CRS00.TESTINS.TESTDEP",
576
533
  "groupID" => "DSC03102"
577
534
  }
@@ -600,8 +557,6 @@ def expected_mets
600
557
  "objectType" => "FILE",
601
558
  "creationDate" => "2015-10-31 11:19:45",
602
559
  "createdBy" => "testadmin",
603
- "modificationDate" => "2015-10-31 11:19:45",
604
- "modifiedBy" => "testadmin",
605
560
  "owner" => "CRS00.TESTINS.TESTDEP"
606
561
  }
607
562
  ],
@@ -623,8 +578,6 @@ def expected_mets
623
578
  "objectType" => "FILE",
624
579
  "creationDate" => "2015-10-31 11:19:45",
625
580
  "createdBy" => "testadmin",
626
- "modificationDate" => "2015-10-31 11:19:46",
627
- "modifiedBy" => "testadmin",
628
581
  "owner" => "CRS00.TESTINS.TESTDEP"
629
582
  }
630
583
  ],
@@ -646,8 +599,6 @@ def expected_mets
646
599
  "objectType" => "FILE",
647
600
  "creationDate" => "2015-10-31 11:19:45",
648
601
  "createdBy" => "testadmin",
649
- "modificationDate" => "2015-10-31 11:19:46",
650
- "modifiedBy" => "testadmin",
651
602
  "owner" => "CRS00.TESTINS.TESTDEP"
652
603
  }
653
604
  ],
@@ -669,8 +620,6 @@ def expected_mets
669
620
  "objectType" => "FILE",
670
621
  "creationDate" => "2015-10-31 11:19:45",
671
622
  "createdBy" => "testadmin",
672
- "modificationDate" => "2015-10-31 11:19:46",
673
- "modifiedBy" => "testadmin",
674
623
  "owner" => "CRS00.TESTINS.TESTDEP"
675
624
  }
676
625
  ],
@@ -692,8 +641,6 @@ def expected_mets
692
641
  "objectType" => "FILE",
693
642
  "creationDate" => "2015-10-31 11:19:45",
694
643
  "createdBy" => "testadmin",
695
- "modificationDate" => "2015-10-31 11:19:46",
696
- "modifiedBy" => "testadmin",
697
644
  "owner" => "CRS00.TESTINS.TESTDEP"
698
645
  }
699
646
  ],