stacker_bee 2.1.1.pre284 → 2.1.1.pre295

Sign up to get free protection for your applications and to get access to all the features.
Files changed (15) hide show
  1. checksums.yaml +8 -8
  2. data/Gemfile +4 -0
  3. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/.yml +31 -1
  4. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/a_nil_request_parameter/properly_executes_the_request.yml +31 -1
  5. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/a_request_parameter_with_a_map/can_create_an_object.yml +151 -1
  6. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/a_request_parameter_with_an_Array/.yml +32 -1
  7. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/a_request_parameter_with_and_empty_string/properly_executes_the_request.yml +31 -1
  8. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/a_request_that_triggers_an_error/properly_signs_the_request.yml +33 -1
  9. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/first_item/.yml +31 -1
  10. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/first_item/_account_type_/.yml +31 -1
  11. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/first_item/_accounttype_/.yml +31 -1
  12. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/middleware/a_middleware_that_doesn_t_match_the_content_type/uses_the_middleware.yml +31 -1
  13. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/middleware/a_middleware_that_matches_the_content_type/uses_the_middleware.yml +31 -1
  14. data/spec/cassettes/A_response_to_a_request_sent_to_the_CloudStack_API/space_character_in_a_request_parameter/properly_signs_the_request.yml +30 -1
  15. metadata +3 -3
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTEyNTExMTg5MTA4Yjk5Y2FjZTMxYzA1NTFjYmM3N2FiOGY1YjIzNw==
4
+ YWI0NTZiOWVmNjBiMmZiZTgwYTMyMWZiY2E1NTY4MThjY2M4MjBkMw==
5
5
  data.tar.gz: !binary |-
6
- M2UzNzE5YTc3ZmUzNzYwYTVmMjZlNDkxM2MzNTgyMDQ0OWU1MzZkNw==
6
+ ZmJkMjZjYmUyOGE2YmRlZGYxOThlNjI4NTRlYWIxOGY2NTc5YzA5ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDk0MDBjYmJhMzEyNjFmZjgxNmQ1MDc0MzZhMDdmZDZjY2EyMGVlM2JmOWQ3
10
- NzA5MmNkZGI1ODRjMGEyOGM3NDg4MjM2MWJjMTliZGY3MGEwZWJlYTExYjVh
11
- ZDNhY2UzMTU0ZDVkMWYwYzQ5YWE5MGYzMTFkN2JiOTI2MzljNDU=
9
+ ODg5YzdjODA1YTg5MjQ1NTJiNjdkOTdmMTM0ZmY4YWI3NDMxNjJkMjRhYTU5
10
+ OTA2ZmE2OGFhYjUzZTcyOTEwYTYyYzMxOTU1OThkMjliZTBkN2MwNjE0ZDI0
11
+ ZjQ0NzkwNmE2N2EyNTJhNDFjMTc5OTdmOGQxYmRhMTkwNjJmY2E=
12
12
  data.tar.gz: !binary |-
13
- YmU4YjJlYmNjOTM0ZTljNDMxOWJhMTIwOWU1OGI5NWE5YWQ0NDVmYjAxNWZj
14
- MDE5MTg1ODM5NzQxNTNkZWZjMjM4NGI5NzZhNDJlOTNiYjQ0MzRkZGU3YjQy
15
- YjdkMTdlOWE1MzI1NDNjYjEwM2VjYjhkMjQ4NDc4MTYzOWMzODk=
13
+ Y2Q5MWU2MjVlZWU4NTc3ODAzOTU1MDM4NDA4MTE3NzEyYWQyMjFlZjJlZjc4
14
+ Mjc4YjAzMmZjZjczNWYzZTVlYTM3MTRlOWRhMzE5NzI1NjlmODJkOTQ3ZDc2
15
+ ZTg5MDdmYjM1MDYyZjRhOGJhNGVkOTg4MjhmZGE4ZmI1NTk4NzE=
data/Gemfile CHANGED
@@ -2,6 +2,10 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
+ # webmock 1.19.0 breaks VCR cassettes using multiple brackets
6
+ # Could be related to https://github.com/bblimke/webmock/issues/365
7
+ gem 'webmock', '1.18.0'
8
+
5
9
  group :development do
6
10
  gem 'pry'
7
11
  end
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Thu, 24 Oct 2013 18:42:15 GMT
33
- recorded_with: VCR 2.6.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":11,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:02 GMT
63
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Mon, 28 Oct 2013 17:22:52 GMT
33
- recorded_with: VCR 2.6.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":12,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
63
+ recorded_with: VCR 2.9.3
@@ -180,4 +180,154 @@ http_interactions:
180
180
  }'
181
181
  http_version:
182
182
  recorded_at: Thu, 19 Dec 2013 17:42:02 GMT
183
- recorded_with: VCR 2.8.0
183
+ - request:
184
+ method: get
185
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listZones&response=json&signature=/MnHgTBKGc%2BXx0Z8KwMllvw92vg=
186
+ body:
187
+ encoding: US-ASCII
188
+ string: ''
189
+ headers:
190
+ User-Agent:
191
+ - Faraday v0.8.9
192
+ Accept-Encoding:
193
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
194
+ Accept:
195
+ - '*/*'
196
+ response:
197
+ status:
198
+ code: 200
199
+ message: OK
200
+ headers:
201
+ Content-Type:
202
+ - text/javascript; charset=UTF-8
203
+ Content-Length:
204
+ - '403'
205
+ Server:
206
+ - Jetty(6.1.26)
207
+ body:
208
+ encoding: UTF-8
209
+ string: '{ "listzonesresponse" : { "count":1 ,"zone" : [ {"id":"3c0f55e5-a4a2-4a82-8c98-20bf34d5766b","name":"Sandbox-simulator","dns1":"10.147.28.6","internaldns1":"10.147.28.6","guestcidraddress":"10.1.1.0/24","networktype":"Advanced","securitygroupsenabled":false,"allocationstate":"Enabled","zonetoken":"f4879166-43de-3164-841c-213cc55f6623","dhcpprovider":"VirtualRouter","localstorageenabled":false}
210
+ ] } }'
211
+ http_version:
212
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
213
+ - request:
214
+ method: get
215
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listNetworkOfferings&response=json&signature=BAdYatJ5Rjcffi6sU8P%2BZtLhSF8=&supportedServices=sourcenat&type=isolated
216
+ body:
217
+ encoding: US-ASCII
218
+ string: ''
219
+ headers:
220
+ User-Agent:
221
+ - Faraday v0.8.9
222
+ Accept-Encoding:
223
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
224
+ Accept:
225
+ - '*/*'
226
+ response:
227
+ status:
228
+ code: 200
229
+ message: OK
230
+ headers:
231
+ Content-Type:
232
+ - text/javascript; charset=UTF-8
233
+ Content-Length:
234
+ - '6006'
235
+ Server:
236
+ - Jetty(6.1.26)
237
+ body:
238
+ encoding: UTF-8
239
+ string: '{ "listnetworkofferingsresponse" : { "count":4 ,"networkoffering" :
240
+ [ {"id":"01e36ec9-d1a0-4023-b781-c8dcd5b9cdb4","name":"DefaultIsolatedNetworkOfferingWithSourceNatService","displaytext":"Offering
241
+ for Isolated networks with Source Nat service enabled","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":true,"specifyipranges":false,"availability":"Required","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"40f265ea-0185-4d41-b766-170dbc2213ec","service":[{"name":"PortForwarding","provider":[{"name":"VirtualRouter"}]},{"name":"Lb","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false},{"name":"ElasticLb","value":"false","canchooseservicecapability":false},{"name":"InlineMode","value":"false","canchooseservicecapability":false}]},{"name":"Dhcp","provider":[{"name":"VirtualRouter"}]},{"name":"UserData","provider":[{"name":"VirtualRouter"}]},{"name":"Vpn","provider":[{"name":"VirtualRouter"}]},{"name":"StaticNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"ElasticIp","value":"false","canchooseservicecapability":false},{"name":"AssociatePublicIP","value":"true","canchooseservicecapability":false}]},{"name":"Dns","provider":[{"name":"VirtualRouter"}]},{"name":"Firewall","provider":[{"name":"VirtualRouter"}]},{"name":"SourceNat","provider":[{"name":"VirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]}],"forvpc":false,"ispersistent":false,"egressdefaultpolicy":false},
242
+ {"id":"e3d6437f-da81-4ead-9566-7ffa7a047569","name":"DefaultIsolatedNetworkOfferingForVpcNetworks","displaytext":"Offering
243
+ for Isolated Vpc networks with Source Nat service enabled","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"40f265ea-0185-4d41-b766-170dbc2213ec","service":[{"name":"PortForwarding","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Lb","provider":[{"name":"VpcVirtualRouter"}],"capability":[{"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false},{"name":"ElasticLb","value":"false","canchooseservicecapability":false},{"name":"InlineMode","value":"false","canchooseservicecapability":false}]},{"name":"Dhcp","provider":[{"name":"VpcVirtualRouter"}]},{"name":"UserData","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Vpn","provider":[{"name":"VpcVirtualRouter"}]},{"name":"StaticNat","provider":[{"name":"VpcVirtualRouter"}],"capability":[{"name":"ElasticIp","value":"false","canchooseservicecapability":false},{"name":"AssociatePublicIP","value":"true","canchooseservicecapability":false}]},{"name":"NetworkACL","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Dns","provider":[{"name":"VpcVirtualRouter"}]},{"name":"SourceNat","provider":[{"name":"VpcVirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]}],"forvpc":true,"ispersistent":false,"egressdefaultpolicy":false},
244
+ {"id":"74b83fba-e223-4f77-9374-39dda87cd7e1","name":"DefaultIsolatedNetworkOfferingForVpcNetworksNoLB","displaytext":"Offering
245
+ for Isolated Vpc networks with Source Nat service enabled and LB service Disabled","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"40f265ea-0185-4d41-b766-170dbc2213ec","service":[{"name":"PortForwarding","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Dhcp","provider":[{"name":"VpcVirtualRouter"}]},{"name":"UserData","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Vpn","provider":[{"name":"VpcVirtualRouter"}]},{"name":"StaticNat","provider":[{"name":"VpcVirtualRouter"}],"capability":[{"name":"ElasticIp","value":"false","canchooseservicecapability":false},{"name":"AssociatePublicIP","value":"true","canchooseservicecapability":false}]},{"name":"NetworkACL","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Dns","provider":[{"name":"VpcVirtualRouter"}]},{"name":"SourceNat","provider":[{"name":"VpcVirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]}],"forvpc":true,"ispersistent":false,"egressdefaultpolicy":false},
246
+ {"id":"3d0cab31-531e-4522-8c47-45cf0f1690ad","name":"DefaultIsolatedNetworkOfferingForVpcNetworksWithInternalLB","displaytext":"Offering
247
+ for Isolated Vpc networks with Internal LB support","traffictype":"Guest","isdefault":true,"specifyvlan":false,"conservemode":false,"specifyipranges":false,"availability":"Optional","networkrate":200,"state":"Enabled","guestiptype":"Isolated","serviceofferingid":"40f265ea-0185-4d41-b766-170dbc2213ec","service":[{"name":"Lb","provider":[{"name":"InternalLbVm"}],"capability":[{"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false},{"name":"ElasticLb","value":"false","canchooseservicecapability":false},{"name":"InlineMode","value":"false","canchooseservicecapability":false}]},{"name":"Dhcp","provider":[{"name":"VpcVirtualRouter"}]},{"name":"UserData","provider":[{"name":"VpcVirtualRouter"}]},{"name":"NetworkACL","provider":[{"name":"VpcVirtualRouter"}]},{"name":"Dns","provider":[{"name":"VpcVirtualRouter"}]},{"name":"SourceNat","provider":[{"name":"VpcVirtualRouter"}],"capability":[{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false},{"name":"RedundantRouter","value":"false","canchooseservicecapability":false}]}],"forvpc":true,"ispersistent":false,"egressdefaultpolicy":false}
248
+ ] } }'
249
+ http_version:
250
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
251
+ - request:
252
+ method: get
253
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=createNetwork&displaytext=John&name=John&networkOfferingId=01e36ec9-d1a0-4023-b781-c8dcd5b9cdb4&response=json&signature=/nNmE94p717JINMF7VU7FEgW0MM=&zoneId=3c0f55e5-a4a2-4a82-8c98-20bf34d5766b
254
+ body:
255
+ encoding: US-ASCII
256
+ string: ''
257
+ headers:
258
+ User-Agent:
259
+ - Faraday v0.8.9
260
+ Accept-Encoding:
261
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
262
+ Accept:
263
+ - '*/*'
264
+ response:
265
+ status:
266
+ code: 200
267
+ message: OK
268
+ headers:
269
+ Content-Type:
270
+ - text/javascript; charset=UTF-8
271
+ Content-Length:
272
+ - '4441'
273
+ Server:
274
+ - Jetty(6.1.26)
275
+ body:
276
+ encoding: UTF-8
277
+ string: '{ "createnetworkresponse" : { "network" : {"id":"8d68c673-a7e4-4bc0-b1ce-8a7688ac8f71","name":"John","displaytext":"John","broadcastdomaintype":"Vlan","traffictype":"Guest","gateway":"10.1.1.1","netmask":"255.255.255.0","cidr":"10.1.1.0/24","zoneid":"3c0f55e5-a4a2-4a82-8c98-20bf34d5766b","zonename":"Sandbox-simulator","networkofferingid":"01e36ec9-d1a0-4023-b781-c8dcd5b9cdb4","networkofferingname":"DefaultIsolatedNetworkOfferingWithSourceNatService","networkofferingdisplaytext":"Offering
278
+ for Isolated networks with Source Nat service enabled","networkofferingconservemode":true,"networkofferingavailability":"Required","issystem":false,"state":"Allocated","related":"8d68c673-a7e4-4bc0-b1ce-8a7688ac8f71","dns1":"10.147.28.6","type":"Isolated","acltype":"Account","account":"admin","domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","service":[{"name":"PortForwarding"},{"name":"Lb","capability":[{"name":"SupportedLBIsolation","value":"dedicated","canchooseservicecapability":false},{"name":"LbSchemes","value":"Public","canchooseservicecapability":false},{"name":"SupportedStickinessMethods","value":"[{\"methodname\":\"LbCookie\",\"paramlist\":[{\"paramname\":\"cookie-name\",\"required\":false,\"isflag\":false,\"description\":\"
279
+ \"},{\"paramname\":\"mode\",\"required\":false,\"isflag\":false,\"description\":\"
280
+ \"},{\"paramname\":\"nocache\",\"required\":false,\"isflag\":true,\"description\":\"
281
+ \"},{\"paramname\":\"indirect\",\"required\":false,\"isflag\":true,\"description\":\"
282
+ \"},{\"paramname\":\"postonly\",\"required\":false,\"isflag\":true,\"description\":\"
283
+ \"},{\"paramname\":\"domain\",\"required\":false,\"isflag\":false,\"description\":\"
284
+ \"}],\"description\":\"This is loadbalancer cookie based stickiness method.\"},{\"methodname\":\"AppCookie\",\"paramlist\":[{\"paramname\":\"cookie-name\",\"required\":false,\"isflag\":false,\"description\":\"
285
+ \"},{\"paramname\":\"length\",\"required\":false,\"isflag\":false,\"description\":\"
286
+ \"},{\"paramname\":\"holdtime\",\"required\":false,\"isflag\":false,\"description\":\"
287
+ \"},{\"paramname\":\"request-learn\",\"required\":false,\"isflag\":true,\"description\":\"
288
+ \"},{\"paramname\":\"prefix\",\"required\":false,\"isflag\":true,\"description\":\"
289
+ \"},{\"paramname\":\"mode\",\"required\":false,\"isflag\":false,\"description\":\"
290
+ \"}],\"description\":\"This is App session based sticky method. Define session
291
+ stickiness on an existing application cookie. It can be used only for a specific
292
+ http traffic\"},{\"methodname\":\"SourceBased\",\"paramlist\":[{\"paramname\":\"tablesize\",\"required\":false,\"isflag\":false,\"description\":\"
293
+ \"},{\"paramname\":\"expire\",\"required\":false,\"isflag\":false,\"description\":\"
294
+ \"}],\"description\":\"This is source based Stickiness method, it can be used
295
+ for any type of protocol.\"}]","canchooseservicecapability":false},{"name":"SupportedProtocols","value":"tcp,
296
+ udp","canchooseservicecapability":false},{"name":"SupportedLbAlgorithms","value":"roundrobin,leastconn,source","canchooseservicecapability":false}]},{"name":"Dhcp","capability":[{"name":"DhcpAccrossMultipleSubnets","value":"true","canchooseservicecapability":false}]},{"name":"UserData"},{"name":"Vpn","capability":[{"name":"SupportedVpnTypes","value":"pptp,l2tp,ipsec","canchooseservicecapability":false},{"name":"VpnTypes","value":"removeaccessvpn","canchooseservicecapability":false}]},{"name":"StaticNat"},{"name":"Dns","capability":[{"name":"AllowDnsSuffixModification","value":"true","canchooseservicecapability":false}]},{"name":"Firewall","capability":[{"name":"SupportedEgressProtocols","value":"tcp,udp,icmp,
297
+ all","canchooseservicecapability":false},{"name":"SupportedTrafficDirection","value":"ingress,
298
+ egress","canchooseservicecapability":false},{"name":"TrafficStatistics","value":"per
299
+ public ip","canchooseservicecapability":false},{"name":"SupportedProtocols","value":"tcp,udp,icmp","canchooseservicecapability":false},{"name":"MultipleIps","value":"true","canchooseservicecapability":false}]},{"name":"SourceNat","capability":[{"name":"RedundantRouter","value":"true","canchooseservicecapability":false},{"name":"SupportedSourceNatTypes","value":"peraccount","canchooseservicecapability":false}]}],"networkdomain":"cs2sandbox.simulator","physicalnetworkid":"25b674fb-96c2-4c8c-80b4-051ef4dbde22","restartrequired":false,"specifyipranges":false,"canusefordeploy":true,"ispersistent":false,"tags":[],"displaynetwork":true}
300
+ } }'
301
+ http_version:
302
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
303
+ - request:
304
+ method: get
305
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=createTags&resourceIds=8d68c673-a7e4-4bc0-b1ce-8a7688ac8f71&resourceType=Network&response=json&signature=t1WgpQZnD34LJGTssO2JLlADSQo=&tags%5B0.key%5D=speed%20%5Blab%5D&tags%5B0.name%5D=speed%20%5Blab%5D&tags%5B0.value%5D=real%20fast!
306
+ body:
307
+ encoding: US-ASCII
308
+ string: ''
309
+ headers:
310
+ User-Agent:
311
+ - Faraday v0.8.9
312
+ Accept-Encoding:
313
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
314
+ Accept:
315
+ - '*/*'
316
+ response:
317
+ status:
318
+ code: 200
319
+ message: OK
320
+ headers:
321
+ Content-Type:
322
+ - text/javascript; charset=UTF-8
323
+ Content-Length:
324
+ - '75'
325
+ Server:
326
+ - Jetty(6.1.26)
327
+ body:
328
+ encoding: UTF-8
329
+ string: '{ "createtagsresponse" : {"jobid":"c2b0b5ed-f017-4850-909a-080ad1edcded"}
330
+ }'
331
+ http_version:
332
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
333
+ recorded_with: VCR 2.9.3
@@ -32,4 +32,35 @@ http_interactions:
32
32
  }'
33
33
  http_version:
34
34
  recorded_at: Mon, 28 Oct 2013 18:20:00 GMT
35
- recorded_with: VCR 2.6.0
35
+ - request:
36
+ method: get
37
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listHosts&details=events,stats&page=1&pagesize=1&response=json&signature=YO7r8REbwAoQVCRYRQEbs6s9tmQ=
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ''
41
+ headers:
42
+ User-Agent:
43
+ - Faraday v0.8.9
44
+ Accept-Encoding:
45
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
46
+ Accept:
47
+ - '*/*'
48
+ response:
49
+ status:
50
+ code: 200
51
+ message: OK
52
+ headers:
53
+ Content-Type:
54
+ - text/javascript; charset=UTF-8
55
+ Content-Length:
56
+ - '983'
57
+ Server:
58
+ - Jetty(6.1.26)
59
+ body:
60
+ encoding: UTF-8
61
+ string: '{ "listhostsresponse" : { "count":4 ,"host" : [ {"id":"98a6bdba-9659-4e9b-8cb5-5d4b46bcd42a","name":"SimulatedAgent.20e7b318-8e08-4368-bf65-436d59511555","state":"Up","disconnected":"2014-10-09T15:17:58+0000","type":"Routing","ipaddress":"172.16.15.3","zoneid":"3c0f55e5-a4a2-4a82-8c98-20bf34d5766b","zonename":"Sandbox-simulator","podid":"1aa4f03c-ca85-414a-9b78-c8bc8980c5f5","podname":"POD0","version":"4.2.0","hypervisor":"Simulator","cpunumber":4,"cpuspeed":8000,"cpuused":"0%","networkkbsread":32768,"networkkbswrite":16384,"memoryused":0,"capabilities":"hvm","lastpinged":"1970-01-16T23:15:54+0000","managementserverid":8796747832893,"clusterid":"ad093cd1-1346-4cc7-ac0e-b06cbe0486a7","clustername":"C0","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2014-03-31T18:50:29+0000","events":"Remove;
62
+ Ping; ManagementServerDown; PingTimeout; StartAgentRebalance; HostDown; AgentConnected;
63
+ ShutdownRequested; AgentDisconnected","resourcestate":"Enabled"} ] } }'
64
+ http_version:
65
+ recorded_at: Thu, 09 Oct 2014 18:16:02 GMT
66
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Thu, 31 Oct 2013 17:50:08 GMT
33
- recorded_with: VCR 2.6.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":12,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
63
+ recorded_with: VCR 2.9.3
@@ -32,4 +32,36 @@ http_interactions:
32
32
  id=666 doesn''t exist"} }'
33
33
  http_version:
34
34
  recorded_at: Tue, 11 Feb 2014 02:48:17 GMT
35
- recorded_with: VCR 2.8.0
35
+ - request:
36
+ method: get
37
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&domainId=666&response=json&signature=xsXEaSNzlFQjI3%2B4EVBOV%2BwFrbM=
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ''
41
+ headers:
42
+ User-Agent:
43
+ - Faraday v0.8.9
44
+ Accept-Encoding:
45
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
46
+ Accept:
47
+ - '*/*'
48
+ response:
49
+ status:
50
+ code: 431
51
+ message: '431'
52
+ headers:
53
+ X-Description:
54
+ - Domain id=666 doesn't exist
55
+ Content-Type:
56
+ - text/javascript; charset=UTF-8
57
+ Content-Length:
58
+ - '121'
59
+ Server:
60
+ - Jetty(6.1.26)
61
+ body:
62
+ encoding: UTF-8
63
+ string: '{ "listaccountsresponse" : {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Domain
64
+ id=666 doesn''t exist"} }'
65
+ http_version:
66
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
67
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Tue, 29 Oct 2013 20:20:10 GMT
33
- recorded_with: VCR 2.6.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":11,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:02 GMT
63
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Tue, 29 Oct 2013 20:20:11 GMT
33
- recorded_with: VCR 2.6.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":11,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:02 GMT
63
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Tue, 29 Oct 2013 20:20:11 GMT
33
- recorded_with: VCR 2.6.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":11,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:02 GMT
63
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Sat, 15 Feb 2014 20:42:23 GMT
33
- recorded_with: VCR 2.8.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":12,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:04 GMT
63
+ recorded_with: VCR 2.9.3
@@ -30,4 +30,34 @@ http_interactions:
30
30
  ] } }'
31
31
  http_version:
32
32
  recorded_at: Sat, 15 Feb 2014 20:39:56 GMT
33
- recorded_with: VCR 2.8.0
33
+ - request:
34
+ method: get
35
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&response=json&signature=oftBcJm8kFc%2Buxul8pAL2%2Bh0bdU=
36
+ body:
37
+ encoding: US-ASCII
38
+ string: ''
39
+ headers:
40
+ User-Agent:
41
+ - Faraday v0.8.9
42
+ Accept-Encoding:
43
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
44
+ Accept:
45
+ - '*/*'
46
+ response:
47
+ status:
48
+ code: 200
49
+ message: OK
50
+ headers:
51
+ Content-Type:
52
+ - text/javascript; charset=UTF-8
53
+ Content-Length:
54
+ - '1728'
55
+ Server:
56
+ - Jetty(6.1.26)
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{ "listaccountsresponse" : { "count":1 ,"account" : [ {"id":"b32dc958-b904-11e3-b3f0-080027079e3d","name":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","vmlimit":"Unlimited","vmtotal":0,"vmavailable":"Unlimited","iplimit":"Unlimited","iptotal":0,"ipavailable":"Unlimited","volumelimit":"Unlimited","volumetotal":0,"volumeavailable":"Unlimited","snapshotlimit":"Unlimited","snapshottotal":0,"snapshotavailable":"Unlimited","templatelimit":"Unlimited","templatetotal":0,"templateavailable":"Unlimited","projectlimit":"Unlimited","projecttotal":0,"projectavailable":"Unlimited","networklimit":"Unlimited","networktotal":12,"networkavailable":"Unlimited","vpclimit":"Unlimited","vpctotal":0,"vpcavailable":"Unlimited","cpulimit":"Unlimited","cputotal":0,"cpuavailable":"Unlimited","memorylimit":"Unlimited","memorytotal":0,"memoryavailable":"Unlimited","primarystoragelimit":"Unlimited","primarystoragetotal":0,"primarystorageavailable":"Unlimited","secondarystoragelimit":"Unlimited","secondarystoragetotal":0,"secondarystorageavailable":"Unlimited","state":"enabled","user":[{"id":"b32e02b0-b904-11e3-b3f0-080027079e3d","username":"admin","firstname":"Admin","lastname":"User","email":"admin@mailprovider.com","created":"2014-03-31T18:45:58+0000","state":"enabled","account":"admin","accounttype":1,"domainid":"b32db4c2-b904-11e3-b3f0-080027079e3d","domain":"ROOT","apikey":"<CLOUD_STACK_API_KEY>","secretkey":"<CLOUD_STACK_SECRET_KEY>","accountid":"b32dc958-b904-11e3-b3f0-080027079e3d","iscallerchilddomain":false,"isdefault":true}],"isdefault":true}
60
+ ] } }'
61
+ http_version:
62
+ recorded_at: Thu, 09 Oct 2014 18:16:04 GMT
63
+ recorded_with: VCR 2.9.3
@@ -29,4 +29,33 @@ http_interactions:
29
29
  string: '{ "listaccountsresponse" : { } }'
30
30
  http_version:
31
31
  recorded_at: Mon, 28 Oct 2013 15:24:49 GMT
32
- recorded_with: VCR 2.6.0
32
+ - request:
33
+ method: get
34
+ uri: <CLOUD_STACK_URL>/?apiKey=<CLOUD_STACK_API_KEY>&command=listAccounts&name=stacker%20bee&response=json&signature=uAHazDwdFrvlPK9JgZjNZvsojfI=
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers:
39
+ User-Agent:
40
+ - Faraday v0.8.9
41
+ Accept-Encoding:
42
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
43
+ Accept:
44
+ - '*/*'
45
+ response:
46
+ status:
47
+ code: 200
48
+ message: OK
49
+ headers:
50
+ Content-Type:
51
+ - text/javascript; charset=UTF-8
52
+ Content-Length:
53
+ - '32'
54
+ Server:
55
+ - Jetty(6.1.26)
56
+ body:
57
+ encoding: UTF-8
58
+ string: '{ "listaccountsresponse" : { } }'
59
+ http_version:
60
+ recorded_at: Thu, 09 Oct 2014 18:16:03 GMT
61
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacker_bee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.pre284
4
+ version: 2.1.1.pre295
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Sterndale
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-24 00:00:00.000000000 Z
12
+ date: 2014-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -307,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
307
307
  version: 1.3.1
308
308
  requirements: []
309
309
  rubyforge_project:
310
- rubygems_version: 2.4.1
310
+ rubygems_version: 2.4.2
311
311
  signing_key:
312
312
  specification_version: 4
313
313
  summary: Ruby CloudStack client