libis-services 0.1.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +36 -0
- data/Rakefile +6 -0
- data/lib/libis/services/aleph/search.rb +157 -0
- data/lib/libis/services/alma/web_service.rb +36 -0
- data/lib/libis/services/collective_access/cataloguing.rb +48 -0
- data/lib/libis/services/collective_access/connector.rb +151 -0
- data/lib/libis/services/collective_access/item_info.rb +36 -0
- data/lib/libis/services/collective_access/search.rb +26 -0
- data/lib/libis/services/collective_access/service.rb +80 -0
- data/lib/libis/services/collective_access.rb +1 -0
- data/lib/libis/services/digitool/digital_entity_manager.rb +223 -0
- data/lib/libis/services/digitool/digitool_connector.rb +46 -0
- data/lib/libis/services/digitool/meta_data_manager.rb +193 -0
- data/lib/libis/services/extend/http_fetch.rb +63 -0
- data/lib/libis/services/generic_search.rb +38 -0
- data/lib/libis/services/http_error.rb +21 -0
- data/lib/libis/services/oracle_client.rb +47 -0
- data/lib/libis/services/primo/limo.rb +33 -0
- data/lib/libis/services/primo/search.rb +46 -0
- data/lib/libis/services/primo.rb +2 -0
- data/lib/libis/services/rest_client.rb +66 -0
- data/lib/libis/services/rosetta/client.rb +108 -0
- data/lib/libis/services/rosetta/collection_handler.rb +45 -0
- data/lib/libis/services/rosetta/collection_info.rb +44 -0
- data/lib/libis/services/rosetta/deposit_activity.rb +48 -0
- data/lib/libis/services/rosetta/deposit_handler.rb +187 -0
- data/lib/libis/services/rosetta/ie.rb +19 -0
- data/lib/libis/services/rosetta/ie_handler.rb +29 -0
- data/lib/libis/services/rosetta/oai_pmh.rb +48 -0
- data/lib/libis/services/rosetta/oai_set.rb +21 -0
- data/lib/libis/services/rosetta/pds_handler.rb +60 -0
- data/lib/libis/services/rosetta/producer.rb +71 -0
- data/lib/libis/services/rosetta/producer_handler.rb +125 -0
- data/lib/libis/services/rosetta/service.rb +403 -0
- data/lib/libis/services/rosetta/sip.rb +26 -0
- data/lib/libis/services/rosetta/sip_handler.rb +31 -0
- data/lib/libis/services/rosetta/user.rb +70 -0
- data/lib/libis/services/rosetta/user_manager.rb +28 -0
- data/lib/libis/services/rosetta.rb +2 -0
- data/lib/libis/services/scope/search.rb +46 -0
- data/lib/libis/services/search_factory.rb +40 -0
- data/lib/libis/services/service_error.rb +16 -0
- data/lib/libis/services/sharepoint/connector.rb +236 -0
- data/lib/libis/services/sharepoint/search.rb +19 -0
- data/lib/libis/services/soap_client.rb +57 -0
- data/lib/libis/services/soap_error.rb +22 -0
- data/lib/libis/services/version.rb +5 -0
- data/lib/libis/services.rb +22 -0
- data/lib/libis-services.rb +1 -0
- data/libis-services.gemspec +40 -0
- data/spec/alma_service_spec.rb +104 -0
- data/spec/ie_data.rb +726 -0
- data/spec/primo_limo_spec.rb +363 -0
- data/spec/primo_search_spec.rb +39 -0
- data/spec/rosetta_collection_spec.rb +206 -0
- data/spec/rosetta_deposit_spec.rb +82 -0
- data/spec/rosetta_ie_spec.rb +54 -0
- data/spec/rosetta_oai_spec.rb +52 -0
- data/spec/rosetta_pds_spec.rb +79 -0
- data/spec/rosetta_producer_spec.rb +270 -0
- data/spec/rosetta_sip_spec.rb +39 -0
- data/spec/spec_helper.rb +28 -0
- metadata +317 -0
@@ -0,0 +1,270 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require_relative 'spec_helper'
|
3
|
+
require 'yaml'
|
4
|
+
|
5
|
+
require 'libis/tools/config_file'
|
6
|
+
|
7
|
+
require 'libis/services/rosetta/pds_handler'
|
8
|
+
require 'libis/services/rosetta/producer_handler'
|
9
|
+
|
10
|
+
describe 'Rosetta Producer Service' do
|
11
|
+
|
12
|
+
let(:credentials) { Libis::Tools::ConfigFile.new File.join(File.dirname(__FILE__), 'credentials-test.yml') }
|
13
|
+
# noinspection RubyResolve
|
14
|
+
let(:admin) { credentials.admin }
|
15
|
+
# noinspection RubyResolve
|
16
|
+
let(:admin_usr) { admin.user }
|
17
|
+
# noinspection RubyResolve
|
18
|
+
let(:admin_uid) { admin.user_id }
|
19
|
+
# noinspection RubyResolve
|
20
|
+
let(:admin_pwd) {admin.password}
|
21
|
+
# noinspection RubyResolve
|
22
|
+
let(:admin_ins) {admin.institute}
|
23
|
+
|
24
|
+
let(:pds_handler) do
|
25
|
+
# noinspection RubyResolve
|
26
|
+
Libis::Services::Rosetta::PdsHandler.new(credentials.pds_url)
|
27
|
+
end
|
28
|
+
|
29
|
+
let(:handle) { pds_handler.login(admin_usr, admin_pwd, admin_ins) }
|
30
|
+
|
31
|
+
let(:contact_info) { {user_id: credentials.contact.user_id, name: 'Test User'} }
|
32
|
+
# noinspection RubyResolve
|
33
|
+
subject(:producer_handler) do
|
34
|
+
handler = Libis::Services::Rosetta::ProducerHandler.new credentials.rosetta_url,
|
35
|
+
log: credentials.debug,
|
36
|
+
log_level: credentials.debug_level
|
37
|
+
handler.pds_handle = handle
|
38
|
+
handler
|
39
|
+
end
|
40
|
+
|
41
|
+
before :each do
|
42
|
+
producer_handler.pds_handle = handle
|
43
|
+
end
|
44
|
+
|
45
|
+
context 'user info' do
|
46
|
+
let(:user_id) { admin_uid }
|
47
|
+
|
48
|
+
let(:user_name) { admin_usr }
|
49
|
+
|
50
|
+
it 'gets user id' do
|
51
|
+
result = producer_handler.user_id(user_name)
|
52
|
+
expect(result).to eq user_id
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'checks user id' do
|
56
|
+
result = producer_handler.is_user?(user_name)
|
57
|
+
expect(result).to be_truthy
|
58
|
+
|
59
|
+
result = producer_handler.is_user?(user_id)
|
60
|
+
expect(result).to be_truthy
|
61
|
+
|
62
|
+
result = producer_handler.is_user?('user_that_does_not_exist')
|
63
|
+
# Disabled: Rosetta API bug
|
64
|
+
# expect(result).to be_falsey
|
65
|
+
expect(result).to be_truthy
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
69
|
+
|
70
|
+
context 'producer' do
|
71
|
+
|
72
|
+
let(:producer_id) { credentials.producer.id }
|
73
|
+
let(:producer_data) { credentials.producer.data.to_hash }
|
74
|
+
let(:producer_info) { ::Libis::Services::Rosetta::Producer.new(producer_data).to_hash }
|
75
|
+
let(:updated_info) { {email: 'nomail@mail.com', telephone_2: '0032 16 32 22 22'} }
|
76
|
+
let(:new_producer_info) {
|
77
|
+
producer_data.merge(
|
78
|
+
authoritative_name: 'new test producer',
|
79
|
+
email: 'nomail@mail.com',
|
80
|
+
telephone_2: '0032 16 32 22 22',
|
81
|
+
)
|
82
|
+
}
|
83
|
+
|
84
|
+
def new_producer_id(id = nil)
|
85
|
+
$new_producer_id = id if id
|
86
|
+
"#{$new_producer_id}"
|
87
|
+
end
|
88
|
+
|
89
|
+
it 'get producer' do
|
90
|
+
result = producer_handler.producer(producer_id)
|
91
|
+
expect(result).not_to be_nil
|
92
|
+
expect(result.to_hash).to match producer_data
|
93
|
+
expect(producer_data).to match result.to_hash
|
94
|
+
end
|
95
|
+
|
96
|
+
it 'create producer' do
|
97
|
+
result = producer_handler.new_producer(new_producer_info)
|
98
|
+
expect(result).not_to be_nil
|
99
|
+
expect(result).to match /^\d+$/
|
100
|
+
new_producer_id(result)
|
101
|
+
end
|
102
|
+
|
103
|
+
it 'update producer' do
|
104
|
+
result = producer_handler.producer(new_producer_id, updated_info)
|
105
|
+
expect(result).not_to be_nil
|
106
|
+
expect(result).to eq new_producer_id
|
107
|
+
|
108
|
+
result = producer_handler.producer(new_producer_id)
|
109
|
+
expect(result).not_to be_nil
|
110
|
+
expect(result.to_hash).to match new_producer_info.merge(updated_info)
|
111
|
+
end
|
112
|
+
|
113
|
+
it 'delete producer' do
|
114
|
+
result = producer_handler.delete_producer new_producer_id
|
115
|
+
expect(result).not_to be_nil
|
116
|
+
expect(result).to eq new_producer_id
|
117
|
+
end
|
118
|
+
|
119
|
+
# noinspection RubyResolve
|
120
|
+
it 'get material flows of producer' do
|
121
|
+
result = producer_handler.material_flows credentials.producer.id
|
122
|
+
expect(result).not_to be_nil
|
123
|
+
expect(result).to include credentials.material_flow.automated.to_h
|
124
|
+
# Disabled: Rosetta bug ?
|
125
|
+
# expect(result).to include credentials.material_flow.manual.to_h
|
126
|
+
end
|
127
|
+
|
128
|
+
end
|
129
|
+
|
130
|
+
# Disabled section. Rosett bugs and insuficient dcumentating cause these tests to fail.
|
131
|
+
#
|
132
|
+
# context 'producer agent' do
|
133
|
+
#
|
134
|
+
# let(:new_agent) {
|
135
|
+
# Libis::Services::Rosetta::User.new(
|
136
|
+
# record_type: 'PUBLIC',
|
137
|
+
# user_name: 'testagent',
|
138
|
+
# first_name: 'Test',
|
139
|
+
# last_name: 'Agent',
|
140
|
+
# email_address: 'test@mail.com',
|
141
|
+
# street: 'Willem de Croylaan 54',
|
142
|
+
# city: 'Heverlee',
|
143
|
+
# zip: '3001',
|
144
|
+
# telephone_1: '0032 16 32 22 66',
|
145
|
+
# # password: 'abc123ABC',
|
146
|
+
# # password_verify: 'abc123ABC',
|
147
|
+
# ).to_hash
|
148
|
+
# }
|
149
|
+
#
|
150
|
+
# # noinspection RubyResolve
|
151
|
+
# let(:agent_data) { credentials.producer_agent.data.to_hash }
|
152
|
+
# let(:agent) { ::Libis::Services::Rosetta::User.new(agent_data) }
|
153
|
+
# # noinspection RubyResolve
|
154
|
+
# let(:agent_id) { credentials.producer_agent.user_id }
|
155
|
+
# # noinspection RubyResolve
|
156
|
+
# let(:agent_ins) { credentials.producer_agent.institute}
|
157
|
+
#
|
158
|
+
# def new_agent_id(val = nil)
|
159
|
+
# $new_agent_id = val.to_i if val
|
160
|
+
# "#{$new_agent_id}"
|
161
|
+
# end
|
162
|
+
#
|
163
|
+
# it 'get info' do
|
164
|
+
# result = producer_handler.agent(agent_id)
|
165
|
+
# expect(result).not_to be_nil
|
166
|
+
# expect(result).to include new_agent
|
167
|
+
# end
|
168
|
+
#
|
169
|
+
# it 'create' do
|
170
|
+
# result = producer_handler.new_agent new_agent
|
171
|
+
# expect(result).not_to be_nil
|
172
|
+
# expect(result).to match /^\d+$/
|
173
|
+
# new_agent_id result
|
174
|
+
# end
|
175
|
+
#
|
176
|
+
# it 'get info' do
|
177
|
+
# result = producer_handler.agent(new_agent_id)
|
178
|
+
# expect(result).not_to be_nil
|
179
|
+
# expect(result).to include new_agent
|
180
|
+
# end
|
181
|
+
#
|
182
|
+
# it 'update info' do
|
183
|
+
# # update data
|
184
|
+
# updated_agent = new_agent.dup
|
185
|
+
# updated_agent[:email] = 'other@mail.com'
|
186
|
+
# result = producer_handler.agent(new_agent_id, updated_agent)
|
187
|
+
# expect(result).not_to be_nil
|
188
|
+
# expect(result).to eq new_agent_id
|
189
|
+
#
|
190
|
+
# # retrieve updated data
|
191
|
+
# result = producer_handler.agent(new_agent_id)
|
192
|
+
# expect(result).not_to be_nil
|
193
|
+
# expect(result.to_hash).to match updated_agent
|
194
|
+
# end
|
195
|
+
#
|
196
|
+
#
|
197
|
+
# it 'delete' do
|
198
|
+
# result = producer_handler.delete_agent new_agent_id
|
199
|
+
# expect(result).not_to be_nil
|
200
|
+
# expect(result).to eq new_agent_id
|
201
|
+
# end
|
202
|
+
#
|
203
|
+
# it 'get producers' do
|
204
|
+
# result = producer_handler.agent_producers agent_id, agent_ins
|
205
|
+
# expect(result).not_to be_nil
|
206
|
+
# expect(result).to eq [credentials.producer.user_id]
|
207
|
+
# end
|
208
|
+
#
|
209
|
+
# end
|
210
|
+
|
211
|
+
context 'contact' do
|
212
|
+
|
213
|
+
let(:contact_id) { credentials.contact.user_id }
|
214
|
+
let(:contact_info) { credentials.contact.data.to_hash }
|
215
|
+
let(:new_contact) {
|
216
|
+
::Libis::Services::Rosetta::User.new(
|
217
|
+
first_name: 'New',
|
218
|
+
last_name: 'Contact',
|
219
|
+
language: 'English',
|
220
|
+
status: 'ACTIVE',
|
221
|
+
telephone_1: '0032 16 32 00 00',
|
222
|
+
email_address: 'nomail@mail.com',
|
223
|
+
street: 'Oude Markt 1',
|
224
|
+
city: 'Leuven',
|
225
|
+
country: 'Belgium',
|
226
|
+
zip: '3000',
|
227
|
+
)
|
228
|
+
}
|
229
|
+
let(:updated_info) { {email_address: 'new_contact@mail.com', telephone_2: '0032 16 32 22 22'} }
|
230
|
+
let(:updated_contact) { new_contact.to_hash.dup.merge(updated_info) }
|
231
|
+
|
232
|
+
def new_contact_id(val = nil)
|
233
|
+
$new_contact_id = val.to_i if val
|
234
|
+
"#{$new_contact_id}"
|
235
|
+
end
|
236
|
+
|
237
|
+
it 'get info' do
|
238
|
+
result = producer_handler.contact(contact_id)
|
239
|
+
expect(result).not_to be_nil
|
240
|
+
expect(result.to_hash).to match contact_info
|
241
|
+
end
|
242
|
+
|
243
|
+
it 'create' do
|
244
|
+
result = producer_handler.new_contact new_contact
|
245
|
+
expect(result).not_to be_nil
|
246
|
+
expect(result).to match /^\d+$/
|
247
|
+
new_contact_id result
|
248
|
+
end
|
249
|
+
|
250
|
+
it 'update info' do
|
251
|
+
# update data
|
252
|
+
result = producer_handler.contact(new_contact_id, updated_info)
|
253
|
+
expect(result).not_to be_nil
|
254
|
+
expect(result).to eq new_contact_id
|
255
|
+
|
256
|
+
# retrieve updated data
|
257
|
+
result = producer_handler.contact(new_contact_id)
|
258
|
+
expect(result).not_to be_nil
|
259
|
+
expect(result.to_hash).to match updated_contact
|
260
|
+
end
|
261
|
+
|
262
|
+
it 'delete' do
|
263
|
+
result = producer_handler.delete_contact new_contact_id
|
264
|
+
expect(result).not_to be_nil
|
265
|
+
expect(result).to eq new_contact_id
|
266
|
+
end
|
267
|
+
|
268
|
+
end
|
269
|
+
|
270
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require_relative 'spec_helper'
|
3
|
+
require 'yaml'
|
4
|
+
|
5
|
+
require 'libis/tools/config_file'
|
6
|
+
require 'libis/services/rosetta/sip_handler'
|
7
|
+
|
8
|
+
describe 'Rosetta SIP Service' do
|
9
|
+
|
10
|
+
let(:credentials) { Libis::Tools::ConfigFile.new File.join(File.dirname(__FILE__), 'credentials-test.yml') }
|
11
|
+
|
12
|
+
subject(:sip_handler) do
|
13
|
+
# noinspection RubyResolve
|
14
|
+
Libis::Services::Rosetta::SipHandler.new credentials.rosetta_url,
|
15
|
+
log: credentials.debug,
|
16
|
+
log_level: credentials.debug_level
|
17
|
+
end
|
18
|
+
|
19
|
+
let(:expected_info) {
|
20
|
+
{ module: 'PER', stage: 'Finished', status: 'FINISHED' }
|
21
|
+
}
|
22
|
+
|
23
|
+
let(:expected_ies) { [{pid: 'IE403595'}] }
|
24
|
+
|
25
|
+
it 'should get SIP info' do
|
26
|
+
|
27
|
+
sip_info = sip_handler.get_info(55010)
|
28
|
+
expect(sip_info).not_to be_nil
|
29
|
+
expect(sip_info.to_hash).to match expected_info
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'should get list of IEs in the SIP' do
|
33
|
+
|
34
|
+
ies = sip_handler.get_ies(55010)
|
35
|
+
expect(ies).not_to be_nil
|
36
|
+
expect(ies.map(&:to_h)).to match_array expected_ies
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# require 'codeclimate-test-reporter'
|
2
|
+
# ::CodeClimate::TestReporter.start
|
3
|
+
|
4
|
+
require 'coveralls'
|
5
|
+
Coveralls.wear!
|
6
|
+
|
7
|
+
require 'bundler/setup'
|
8
|
+
Bundler.setup
|
9
|
+
|
10
|
+
require 'rspec'
|
11
|
+
require 'libis-services'
|
12
|
+
|
13
|
+
def check_container(expected, result)
|
14
|
+
case expected
|
15
|
+
when Array
|
16
|
+
expect(result).to be_a Array
|
17
|
+
expected.each_with_index { |value, i| check_container(value, result[i]) }
|
18
|
+
when Hash
|
19
|
+
expect(result).to be_a Hash
|
20
|
+
expected.each_key do |key|
|
21
|
+
expect(result[key]).not_to be_nil
|
22
|
+
check_container(expected[key], result[key])
|
23
|
+
end
|
24
|
+
else
|
25
|
+
expect(result).to eq expected
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
metadata
ADDED
@@ -0,0 +1,317 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: libis-services
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Kris Dekeyser
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.6'
|
19
|
+
name: bundler
|
20
|
+
prerelease: false
|
21
|
+
type: :development
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '10.3'
|
33
|
+
name: rake
|
34
|
+
prerelease: false
|
35
|
+
type: :development
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3.1'
|
47
|
+
name: rspec
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.9'
|
61
|
+
name: simplecov
|
62
|
+
prerelease: false
|
63
|
+
type: :development
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.9'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0.7'
|
75
|
+
name: coveralls
|
76
|
+
prerelease: false
|
77
|
+
type: :development
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.7'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0.6'
|
89
|
+
name: equivalent-xml
|
90
|
+
prerelease: false
|
91
|
+
type: :development
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.9'
|
103
|
+
name: libis-tools
|
104
|
+
prerelease: false
|
105
|
+
type: :runtime
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.9'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '1.7'
|
117
|
+
name: highline
|
118
|
+
prerelease: false
|
119
|
+
type: :runtime
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.7'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '2.11'
|
131
|
+
name: savon
|
132
|
+
prerelease: false
|
133
|
+
type: :runtime
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '2.11'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
requirement: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '1.8'
|
145
|
+
name: rest-client
|
146
|
+
prerelease: false
|
147
|
+
type: :runtime
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.8'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
requirement: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0.4'
|
159
|
+
name: oai
|
160
|
+
prerelease: false
|
161
|
+
type: :runtime
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0.4'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '1.0'
|
173
|
+
name: virtus
|
174
|
+
prerelease: false
|
175
|
+
type: :runtime
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '1.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0.83'
|
187
|
+
name: write_xlsx
|
188
|
+
prerelease: false
|
189
|
+
type: :runtime
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0.83'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
requirement: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '1.6'
|
201
|
+
name: awesome_print
|
202
|
+
prerelease: false
|
203
|
+
type: :runtime
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '1.6'
|
209
|
+
description: Set of classes that simplify connection to different LIBIS services.
|
210
|
+
email:
|
211
|
+
- kris.dekeyser@libis.be
|
212
|
+
executables: []
|
213
|
+
extensions: []
|
214
|
+
extra_rdoc_files: []
|
215
|
+
files:
|
216
|
+
- ".gitignore"
|
217
|
+
- Gemfile
|
218
|
+
- LICENSE.txt
|
219
|
+
- README.md
|
220
|
+
- Rakefile
|
221
|
+
- lib/libis-services.rb
|
222
|
+
- lib/libis/services.rb
|
223
|
+
- lib/libis/services/aleph/search.rb
|
224
|
+
- lib/libis/services/alma/web_service.rb
|
225
|
+
- lib/libis/services/collective_access.rb
|
226
|
+
- lib/libis/services/collective_access/cataloguing.rb
|
227
|
+
- lib/libis/services/collective_access/connector.rb
|
228
|
+
- lib/libis/services/collective_access/item_info.rb
|
229
|
+
- lib/libis/services/collective_access/search.rb
|
230
|
+
- lib/libis/services/collective_access/service.rb
|
231
|
+
- lib/libis/services/digitool/digital_entity_manager.rb
|
232
|
+
- lib/libis/services/digitool/digitool_connector.rb
|
233
|
+
- lib/libis/services/digitool/meta_data_manager.rb
|
234
|
+
- lib/libis/services/extend/http_fetch.rb
|
235
|
+
- lib/libis/services/generic_search.rb
|
236
|
+
- lib/libis/services/http_error.rb
|
237
|
+
- lib/libis/services/oracle_client.rb
|
238
|
+
- lib/libis/services/primo.rb
|
239
|
+
- lib/libis/services/primo/limo.rb
|
240
|
+
- lib/libis/services/primo/search.rb
|
241
|
+
- lib/libis/services/rest_client.rb
|
242
|
+
- lib/libis/services/rosetta.rb
|
243
|
+
- lib/libis/services/rosetta/client.rb
|
244
|
+
- lib/libis/services/rosetta/collection_handler.rb
|
245
|
+
- lib/libis/services/rosetta/collection_info.rb
|
246
|
+
- lib/libis/services/rosetta/deposit_activity.rb
|
247
|
+
- lib/libis/services/rosetta/deposit_handler.rb
|
248
|
+
- lib/libis/services/rosetta/ie.rb
|
249
|
+
- lib/libis/services/rosetta/ie_handler.rb
|
250
|
+
- lib/libis/services/rosetta/oai_pmh.rb
|
251
|
+
- lib/libis/services/rosetta/oai_set.rb
|
252
|
+
- lib/libis/services/rosetta/pds_handler.rb
|
253
|
+
- lib/libis/services/rosetta/producer.rb
|
254
|
+
- lib/libis/services/rosetta/producer_handler.rb
|
255
|
+
- lib/libis/services/rosetta/service.rb
|
256
|
+
- lib/libis/services/rosetta/sip.rb
|
257
|
+
- lib/libis/services/rosetta/sip_handler.rb
|
258
|
+
- lib/libis/services/rosetta/user.rb
|
259
|
+
- lib/libis/services/rosetta/user_manager.rb
|
260
|
+
- lib/libis/services/scope/search.rb
|
261
|
+
- lib/libis/services/search_factory.rb
|
262
|
+
- lib/libis/services/service_error.rb
|
263
|
+
- lib/libis/services/sharepoint/connector.rb
|
264
|
+
- lib/libis/services/sharepoint/search.rb
|
265
|
+
- lib/libis/services/soap_client.rb
|
266
|
+
- lib/libis/services/soap_error.rb
|
267
|
+
- lib/libis/services/version.rb
|
268
|
+
- libis-services.gemspec
|
269
|
+
- spec/alma_service_spec.rb
|
270
|
+
- spec/ie_data.rb
|
271
|
+
- spec/primo_limo_spec.rb
|
272
|
+
- spec/primo_search_spec.rb
|
273
|
+
- spec/rosetta_collection_spec.rb
|
274
|
+
- spec/rosetta_deposit_spec.rb
|
275
|
+
- spec/rosetta_ie_spec.rb
|
276
|
+
- spec/rosetta_oai_spec.rb
|
277
|
+
- spec/rosetta_pds_spec.rb
|
278
|
+
- spec/rosetta_producer_spec.rb
|
279
|
+
- spec/rosetta_sip_spec.rb
|
280
|
+
- spec/spec_helper.rb
|
281
|
+
homepage: https://github.com/Kris-LIBIS/LIBIS_Services
|
282
|
+
licenses:
|
283
|
+
- MIT
|
284
|
+
metadata: {}
|
285
|
+
post_install_message:
|
286
|
+
rdoc_options: []
|
287
|
+
require_paths:
|
288
|
+
- lib
|
289
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
290
|
+
requirements:
|
291
|
+
- - ">="
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '0'
|
299
|
+
requirements: []
|
300
|
+
rubyforge_project:
|
301
|
+
rubygems_version: 2.4.8
|
302
|
+
signing_key:
|
303
|
+
specification_version: 4
|
304
|
+
summary: LIBIS Services toolbox.
|
305
|
+
test_files:
|
306
|
+
- spec/alma_service_spec.rb
|
307
|
+
- spec/ie_data.rb
|
308
|
+
- spec/primo_limo_spec.rb
|
309
|
+
- spec/primo_search_spec.rb
|
310
|
+
- spec/rosetta_collection_spec.rb
|
311
|
+
- spec/rosetta_deposit_spec.rb
|
312
|
+
- spec/rosetta_ie_spec.rb
|
313
|
+
- spec/rosetta_oai_spec.rb
|
314
|
+
- spec/rosetta_pds_spec.rb
|
315
|
+
- spec/rosetta_producer_spec.rb
|
316
|
+
- spec/rosetta_sip_spec.rb
|
317
|
+
- spec/spec_helper.rb
|