occi-api 4.1.1 → 4.2.0.beta.2
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.
- data/Gemfile +9 -0
- data/README.md +37 -11
- data/Rakefile +2 -9
- data/examples/dsl_example.rb +2 -2
- data/examples/x509auth_example.rb +9 -9
- data/lib/occi-api.rb +0 -1
- data/lib/occi/api/client/client_base.rb +102 -92
- data/lib/occi/api/client/client_http.rb +6 -6
- data/lib/occi/api/client/http/authn_plugins/keystone.rb +27 -11
- data/lib/occi/api/dsl.rb +7 -3
- data/lib/occi/api/version.rb +1 -1
- data/occi-api.gemspec +2 -14
- data/{features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml → spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_all_available_mixins.yml} +125 -147
- data/{features/cassettes/Miscellaneous_operation_on_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml → spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/looks_up_a_mixin_type_identifier_for_os_tpl.yml} +126 -148
- data/{features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml → spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/looks_up_a_mixin_type_identifier_for_resource_tpl.yml} +126 -148
- data/spec/occi/api/client/client_http_spec.rb +52 -28
- data/spec/occi/api/dsl_spec.rb +0 -6
- data/spec/spec_helper.rb +4 -1
- metadata +31 -200
- checksums.yaml +0 -7
- data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__application_json_200_.yml +0 -333
- data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_.yml +0 -529
- data/features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_action_.yml +0 -288
- data/features/cassettes/Read_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
- data/features/cassettes/Update_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml +0 -288
- data/features/common/step_definitions/common_steps.rb +0 -32
- data/features/occi/core/create/create.feature +0 -18
- data/features/occi/core/create/step_definitions/create_steps.rb +0 -0
- data/features/occi/core/delete/delete.feature +0 -18
- data/features/occi/core/delete/step_definitions/delete_steps.rb +0 -0
- data/features/occi/core/discovery_interface/discovery_interface.feature +0 -37
- data/features/occi/core/discovery_interface/step_definitions/discovery_interface_steps.rb +0 -19
- data/features/occi/core/miscellaneous/miscellaneous.feature +0 -18
- data/features/occi/core/miscellaneous/step_definitions/miscellaneous_steps.rb +0 -0
- data/features/occi/core/read/read.feature +0 -18
- data/features/occi/core/read/step_definitions/read_steps.rb +0 -0
- data/features/occi/core/update/step_definitions/update_steps.rb +0 -0
- data/features/occi/core/update/update.feature +0 -18
- data/features/occi/infrastructure/create/create.feature +0 -18
- data/features/occi/infrastructure/create/step_definitions/create_steps.rb +0 -0
- data/features/support/env.rb +0 -16
- data/lib/occi/api/client/client_amqp.rb +0 -766
- data/spec/occi/api/client/client_amqp_spec.rb +0 -158
@@ -132,7 +132,7 @@ module Occi
|
|
132
132
|
end
|
133
133
|
|
134
134
|
it "lists all available mixins" do
|
135
|
-
@client.
|
135
|
+
@client.list_mixins.should include(
|
136
136
|
"http://occi.localhost:3300/occi/infrastructure/resource_tpl#large",
|
137
137
|
"http://occi.localhost:3300/occi/infrastructure/resource_tpl#extra_large",
|
138
138
|
"http://occi.localhost:3300/occi/infrastructure/resource_tpl#medium",
|
@@ -142,78 +142,94 @@ module Occi
|
|
142
142
|
end
|
143
143
|
|
144
144
|
it "lists os_tpl mixins" do
|
145
|
-
|
145
|
+
mixins = Occi::Core::Mixins.new
|
146
|
+
mixins << Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/os_tpl#", "mytesttemplate")
|
147
|
+
|
148
|
+
expect(@client.get_mixins("os_tpl")).to eq mixins
|
149
|
+
expect(@client.get_os_tpls).to eq mixins
|
146
150
|
end
|
147
151
|
|
148
152
|
it "lists resource_tpl mixins" do
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
153
|
+
mixins = Occi::Core::Mixins.new
|
154
|
+
mixins << Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "large")
|
155
|
+
mixins << Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "extra_large")
|
156
|
+
mixins << Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "medium")
|
157
|
+
mixins << Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "small")
|
158
|
+
|
159
|
+
expect(@client.get_mixins("resource_tpl")).to eq mixins
|
160
|
+
expect(@client.get_resource_tpls).to eq mixins
|
155
161
|
end
|
156
162
|
|
157
163
|
it "describes compute resources" do
|
158
164
|
cmpts = @client.describe("compute")
|
159
165
|
|
160
166
|
cmpts.length.should eq 1
|
161
|
-
cmpts.first.
|
162
|
-
cmpts.first.
|
163
|
-
cmpts.first.
|
164
|
-
cmpts.first.
|
165
|
-
cmpts.first.
|
167
|
+
cmpts.first.attributes['occi.core.id'].should eq('c62fce01-0d8e-510c-ba07-973b0d6d5034')
|
168
|
+
cmpts.first.attributes['occi.core.title'].should eq('one-3')
|
169
|
+
cmpts.first.attributes['occi.compute.cores'].should eq(2)
|
170
|
+
cmpts.first.attributes['org.opennebula.compute.cpu'].should eq(2.0)
|
171
|
+
cmpts.first.attributes['occi.compute.memory'].should eq(1.564)
|
166
172
|
end
|
167
173
|
|
168
174
|
it "describes network resources" do
|
169
175
|
nets = @client.describe "network"
|
170
176
|
|
171
177
|
nets.length.should eq 1
|
172
|
-
nets.first.
|
173
|
-
nets.first.
|
174
|
-
nets.first.
|
175
|
-
nets.first.
|
178
|
+
nets.first.attributes['occi.core.id'].should eq('1e8e0d63-e3c8-5be7-8a46-f4df226bca01')
|
179
|
+
nets.first.attributes['occi.core.title'].should eq('private')
|
180
|
+
nets.first.attributes['occi.network.allocation'].should eq('dynamic')
|
181
|
+
nets.first.attributes['org.opennebula.network.id'].should eq("1")
|
176
182
|
end
|
177
183
|
|
178
184
|
it "describes storage resources" do
|
179
185
|
stors = @client.describe "storage"
|
180
186
|
|
181
187
|
stors.length.should eq 2
|
182
|
-
stors.last.
|
183
|
-
stors.last.
|
184
|
-
stors.last.
|
185
|
-
stors.last.
|
188
|
+
stors.to_a.last.attributes['occi.core.id'].should eq('5c1a7099-859e-5c3d-9386-740edbb610b8')
|
189
|
+
stors.to_a.last.attributes['occi.core.title'].should eq('ttylinux - VMware ')
|
190
|
+
stors.to_a.last.attributes['occi.storage.state'].should eq('online')
|
191
|
+
stors.to_a.last.attributes['org.opennebula.storage.id'].should eq("4")
|
186
192
|
|
187
|
-
stors.first.
|
193
|
+
stors.first.attributes['occi.core.id'].should eq('32fc6c92-88aa-54dc-b814-be0df741278e')
|
194
|
+
end
|
195
|
+
|
196
|
+
it "describes all available mixins" do
|
197
|
+
@client.get_mixins.should include(
|
198
|
+
Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "large"),
|
199
|
+
Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "extra_large"),
|
200
|
+
Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "medium"),
|
201
|
+
Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/resource_tpl#", "small"),
|
202
|
+
Occi::Core::Mixin.new("http://occi.localhost:3300/occi/infrastructure/os_tpl#", "mytesttemplate")
|
203
|
+
)
|
188
204
|
end
|
189
205
|
|
190
206
|
it "finds and describes unscoped mixin" do
|
191
|
-
mxn = @client.
|
207
|
+
mxn = @client.get_mixin('mytesttemplate', nil, true)
|
192
208
|
mxn.type_identifier.should eq 'http://occi.localhost:3300/occi/infrastructure/os_tpl#mytesttemplate'
|
193
209
|
end
|
194
210
|
|
195
211
|
it "finds and describes scoped os_tpl mixin" do
|
196
|
-
mxn = @client.
|
212
|
+
mxn = @client.get_mixin('mytesttemplate', "os_tpl", true)
|
197
213
|
mxn.type_identifier.should eq 'http://occi.localhost:3300/occi/infrastructure/os_tpl#mytesttemplate'
|
198
214
|
end
|
199
215
|
|
200
216
|
it "finds and describes scoped resource_tpl mixin" do
|
201
|
-
mxn = @client.
|
217
|
+
mxn = @client.get_mixin('large', "resource_tpl", true)
|
202
218
|
mxn.type_identifier.should eq 'http://occi.localhost:3300/occi/infrastructure/resource_tpl#large'
|
203
219
|
end
|
204
220
|
|
205
221
|
it "returns nil when looking for a non-existent mixin" do
|
206
|
-
mxn = @client.
|
222
|
+
mxn = @client.get_mixin('blablabla', nil, true)
|
207
223
|
mxn.should be_nil
|
208
224
|
end
|
209
225
|
|
210
226
|
it "returns nil when looking for a non-existent mixin of a specific type" do
|
211
|
-
mxn = @client.
|
227
|
+
mxn = @client.get_mixin('blablabla', 'os_tpl', true)
|
212
228
|
mxn.should be_nil
|
213
229
|
end
|
214
230
|
|
215
231
|
it "raises an error when looking for a non-existent mixin type" do
|
216
|
-
expect{ @client.
|
232
|
+
expect{ @client.get_mixin('blablabla', 'blabla', true) }.to raise_error
|
217
233
|
end
|
218
234
|
|
219
235
|
it "creates a new compute resource"
|
@@ -240,6 +256,14 @@ module Occi
|
|
240
256
|
@client.refresh
|
241
257
|
end
|
242
258
|
|
259
|
+
it 'looks up a mixin type identifier for os_tpl' do
|
260
|
+
expect(@client.get_mixin_type_identifier('os_tpl')).to eq "http://schemas.ogf.org/occi/infrastructure#os_tpl"
|
261
|
+
end
|
262
|
+
|
263
|
+
it 'looks up a mixin type identifier for resource_tpl' do
|
264
|
+
expect(@client.get_mixin_type_identifier('resource_tpl')).to eq "http://schemas.ogf.org/occi/infrastructure#resource_tpl"
|
265
|
+
end
|
266
|
+
|
243
267
|
end
|
244
268
|
|
245
269
|
context "using media type application/occi+json" do
|
data/spec/occi/api/dsl_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,13 +1,16 @@
|
|
1
1
|
require 'rubygems'
|
2
|
-
require 'occi-api'
|
3
2
|
require 'vcr'
|
4
3
|
|
5
4
|
# enable coverage reports
|
6
5
|
if ENV['COVERAGE']
|
7
6
|
require 'simplecov'
|
7
|
+
|
8
|
+
SimpleCov.add_filter "/spec/"
|
8
9
|
SimpleCov.start
|
9
10
|
end
|
10
11
|
|
12
|
+
require 'occi-api'
|
13
|
+
|
11
14
|
# enable VCR for HTTP/HTTPS connections
|
12
15
|
# using RSPEC metadata integration;
|
13
16
|
# this will automatically generate a named
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: occi-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0.beta.2
|
5
|
+
prerelease: 6
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Florian Feldhaus
|
@@ -10,204 +11,56 @@ authors:
|
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date:
|
14
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: occi-core
|
17
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
18
20
|
requirements:
|
19
|
-
- -
|
21
|
+
- - ~>
|
20
22
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.
|
23
|
+
version: 4.2.0
|
22
24
|
type: :runtime
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
25
28
|
requirements:
|
26
|
-
- -
|
29
|
+
- - ~>
|
27
30
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.
|
31
|
+
version: 4.2.0
|
29
32
|
- !ruby/object:Gem::Dependency
|
30
33
|
name: httparty
|
31
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
32
36
|
requirements:
|
33
|
-
- -
|
37
|
+
- - ! '>='
|
34
38
|
- !ruby/object:Gem::Version
|
35
39
|
version: '0'
|
36
40
|
type: :runtime
|
37
41
|
prerelease: false
|
38
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
39
44
|
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0'
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: amqp
|
45
|
-
requirement: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '0'
|
50
|
-
type: :runtime
|
51
|
-
prerelease: false
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
53
|
-
requirements:
|
54
|
-
- - ">="
|
45
|
+
- - ! '>='
|
55
46
|
- !ruby/object:Gem::Version
|
56
47
|
version: '0'
|
57
48
|
- !ruby/object:Gem::Dependency
|
58
49
|
name: json
|
59
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
60
52
|
requirements:
|
61
|
-
- -
|
53
|
+
- - ! '>='
|
62
54
|
- !ruby/object:Gem::Version
|
63
55
|
version: '0'
|
64
56
|
type: :runtime
|
65
57
|
prerelease: false
|
66
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
67
60
|
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '0'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: rspec
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
61
|
+
- - ! '>='
|
83
62
|
- !ruby/object:Gem::Version
|
84
63
|
version: '0'
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: rake
|
87
|
-
requirement: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - ">="
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '0'
|
92
|
-
type: :development
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: !ruby/object:Gem::Requirement
|
95
|
-
requirements:
|
96
|
-
- - ">="
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
version: '0'
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: builder
|
101
|
-
requirement: !ruby/object:Gem::Requirement
|
102
|
-
requirements:
|
103
|
-
- - ">="
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
version: '0'
|
106
|
-
type: :development
|
107
|
-
prerelease: false
|
108
|
-
version_requirements: !ruby/object:Gem::Requirement
|
109
|
-
requirements:
|
110
|
-
- - ">="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '0'
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: simplecov
|
115
|
-
requirement: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '0'
|
120
|
-
type: :development
|
121
|
-
prerelease: false
|
122
|
-
version_requirements: !ruby/object:Gem::Requirement
|
123
|
-
requirements:
|
124
|
-
- - ">="
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '0'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: yard
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - ">="
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '0'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
requirements:
|
138
|
-
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: '0'
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: yard-sinatra
|
143
|
-
requirement: !ruby/object:Gem::Requirement
|
144
|
-
requirements:
|
145
|
-
- - ">="
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '0'
|
148
|
-
type: :development
|
149
|
-
prerelease: false
|
150
|
-
version_requirements: !ruby/object:Gem::Requirement
|
151
|
-
requirements:
|
152
|
-
- - ">="
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '0'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: yard-rspec
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - ">="
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '0'
|
162
|
-
type: :development
|
163
|
-
prerelease: false
|
164
|
-
version_requirements: !ruby/object:Gem::Requirement
|
165
|
-
requirements:
|
166
|
-
- - ">="
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: '0'
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: yard-cucumber
|
171
|
-
requirement: !ruby/object:Gem::Requirement
|
172
|
-
requirements:
|
173
|
-
- - ">="
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: '0'
|
176
|
-
type: :development
|
177
|
-
prerelease: false
|
178
|
-
version_requirements: !ruby/object:Gem::Requirement
|
179
|
-
requirements:
|
180
|
-
- - ">="
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: '0'
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: rspec-http
|
185
|
-
requirement: !ruby/object:Gem::Requirement
|
186
|
-
requirements:
|
187
|
-
- - ">="
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0'
|
190
|
-
type: :development
|
191
|
-
prerelease: false
|
192
|
-
version_requirements: !ruby/object:Gem::Requirement
|
193
|
-
requirements:
|
194
|
-
- - ">="
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version: '0'
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: webmock
|
199
|
-
requirement: !ruby/object:Gem::Requirement
|
200
|
-
requirements:
|
201
|
-
- - "~>"
|
202
|
-
- !ruby/object:Gem::Version
|
203
|
-
version: 1.9.3
|
204
|
-
type: :development
|
205
|
-
prerelease: false
|
206
|
-
version_requirements: !ruby/object:Gem::Requirement
|
207
|
-
requirements:
|
208
|
-
- - "~>"
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version: 1.9.3
|
211
64
|
description: This gem provides ready-to-use client classes to simplify the integration
|
212
65
|
of OCCI into your application
|
213
66
|
email:
|
@@ -218,10 +71,10 @@ executables: []
|
|
218
71
|
extensions: []
|
219
72
|
extra_rdoc_files: []
|
220
73
|
files:
|
221
|
-
-
|
222
|
-
-
|
223
|
-
-
|
224
|
-
-
|
74
|
+
- .gitignore
|
75
|
+
- .rspec
|
76
|
+
- .travis.yml
|
77
|
+
- .yardopts
|
225
78
|
- AUTHORS
|
226
79
|
- Gemfile
|
227
80
|
- LICENSE
|
@@ -229,33 +82,8 @@ files:
|
|
229
82
|
- Rakefile
|
230
83
|
- examples/dsl_example.rb
|
231
84
|
- examples/x509auth_example.rb
|
232
|
-
- features/cassettes/Create_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
|
233
|
-
- features/cassettes/Delete_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
|
234
|
-
- features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__application_json_200_.yml
|
235
|
-
- features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_.yml
|
236
|
-
- features/cassettes/Discovery_Interface/Retrieving_all_OCCI_Categories_supported_by_the_OCCI_Server/_http_http___141_5_99_69__text_plain_200_action_.yml
|
237
|
-
- features/cassettes/Miscellaneous_operation_on_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
|
238
|
-
- features/cassettes/Read_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
|
239
|
-
- features/cassettes/Update_an_OCCI_Resource/_http_http___141_5_99_69__text_plain_201_.yml
|
240
|
-
- features/common/step_definitions/common_steps.rb
|
241
|
-
- features/occi/core/create/create.feature
|
242
|
-
- features/occi/core/create/step_definitions/create_steps.rb
|
243
|
-
- features/occi/core/delete/delete.feature
|
244
|
-
- features/occi/core/delete/step_definitions/delete_steps.rb
|
245
|
-
- features/occi/core/discovery_interface/discovery_interface.feature
|
246
|
-
- features/occi/core/discovery_interface/step_definitions/discovery_interface_steps.rb
|
247
|
-
- features/occi/core/miscellaneous/miscellaneous.feature
|
248
|
-
- features/occi/core/miscellaneous/step_definitions/miscellaneous_steps.rb
|
249
|
-
- features/occi/core/read/read.feature
|
250
|
-
- features/occi/core/read/step_definitions/read_steps.rb
|
251
|
-
- features/occi/core/update/step_definitions/update_steps.rb
|
252
|
-
- features/occi/core/update/update.feature
|
253
|
-
- features/occi/infrastructure/create/create.feature
|
254
|
-
- features/occi/infrastructure/create/step_definitions/create_steps.rb
|
255
|
-
- features/support/env.rb
|
256
85
|
- lib/occi-api.rb
|
257
86
|
- lib/occi/api/client/authn_utils.rb
|
258
|
-
- lib/occi/api/client/client_amqp.rb
|
259
87
|
- lib/occi/api/client/client_base.rb
|
260
88
|
- lib/occi/api/client/client_http.rb
|
261
89
|
- lib/occi/api/client/errors.rb
|
@@ -279,6 +107,7 @@ files:
|
|
279
107
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_network_resource.yml
|
280
108
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deletes_a_storage_resource.yml
|
281
109
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/deploys_an_instance_based_on_OVF_OVA_file.yml
|
110
|
+
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_all_available_mixins.yml
|
282
111
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_compute_resources.yml
|
283
112
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_network_resources.yml
|
284
113
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/describes_storage_resources.yml
|
@@ -306,6 +135,8 @@ files:
|
|
306
135
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_os_tpl_mixins.yml
|
307
136
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_resource_tpl_mixins.yml
|
308
137
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/lists_storage_resources.yml
|
138
|
+
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/looks_up_a_mixin_type_identifier_for_os_tpl.yml
|
139
|
+
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/looks_up_a_mixin_type_identifier_for_resource_tpl.yml
|
309
140
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/raises_an_error_when_looking_for_a_non-existent_mixin_type.yml
|
310
141
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/refreshes_its_model.yml
|
311
142
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/returns_nil_when_looking_for_a_non-existent_mixin.yml
|
@@ -314,7 +145,6 @@ files:
|
|
314
145
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_network_resource.yml
|
315
146
|
- spec/cassettes/Occi_Api_Client_ClientHttp/using_media_type_text_plain/triggers_an_action_on_a_storage_resource.yml
|
316
147
|
- spec/occi/api/client/authn_utils_spec.rb
|
317
|
-
- spec/occi/api/client/client_amqp_spec.rb
|
318
148
|
- spec/occi/api/client/client_http_spec.rb
|
319
149
|
- spec/occi/api/client/http/httparty_fix_spec.rb
|
320
150
|
- spec/occi/api/client/http/net_http_fix_spec.rb
|
@@ -327,25 +157,26 @@ files:
|
|
327
157
|
homepage: https://github.com/gwdg/rOCCI-api
|
328
158
|
licenses:
|
329
159
|
- Apache License, Version 2.0
|
330
|
-
metadata: {}
|
331
160
|
post_install_message:
|
332
161
|
rdoc_options: []
|
333
162
|
require_paths:
|
334
163
|
- lib
|
335
164
|
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
336
166
|
requirements:
|
337
|
-
- -
|
167
|
+
- - ! '>='
|
338
168
|
- !ruby/object:Gem::Version
|
339
169
|
version: 1.9.3
|
340
170
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
341
172
|
requirements:
|
342
|
-
- -
|
173
|
+
- - ! '>'
|
343
174
|
- !ruby/object:Gem::Version
|
344
|
-
version:
|
175
|
+
version: 1.3.1
|
345
176
|
requirements: []
|
346
177
|
rubyforge_project:
|
347
|
-
rubygems_version:
|
178
|
+
rubygems_version: 1.8.25
|
348
179
|
signing_key:
|
349
|
-
specification_version:
|
180
|
+
specification_version: 3
|
350
181
|
summary: OCCI development library providing a high-level API
|
351
182
|
test_files: []
|