fog-brightbox 1.4.0 → 1.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +35 -0
- data/CHANGELOG.md +31 -0
- data/lib/fog/brightbox/compute/image_selector.rb +28 -3
- data/lib/fog/brightbox/compute.rb +13 -0
- data/lib/fog/brightbox/models/compute/database_server.rb +3 -0
- data/lib/fog/brightbox/models/compute/server.rb +9 -1
- data/lib/fog/brightbox/models/compute/volume.rb +152 -0
- data/lib/fog/brightbox/models/compute/volumes.rb +23 -0
- data/lib/fog/brightbox/requests/compute/attach_volume.rb +23 -0
- data/lib/fog/brightbox/requests/compute/copy_volume.rb +25 -0
- data/lib/fog/brightbox/requests/compute/create_volume.rb +25 -0
- data/lib/fog/brightbox/requests/compute/delete_volume.rb +20 -0
- data/lib/fog/brightbox/requests/compute/detach_volume.rb +21 -0
- data/lib/fog/brightbox/requests/compute/get_volume.rb +20 -0
- data/lib/fog/brightbox/requests/compute/list_volumes.rb +18 -0
- data/lib/fog/brightbox/requests/compute/lock_resource_volume.rb +18 -0
- data/lib/fog/brightbox/requests/compute/resize_volume.rb +26 -0
- data/lib/fog/brightbox/requests/compute/unlock_resource_volume.rb +18 -0
- data/lib/fog/brightbox/requests/compute/update_volume.rb +26 -0
- data/lib/fog/brightbox/version.rb +1 -1
- data/spec/fog/compute/brightbox/image_selector_spec.rb +34 -0
- data/spec/fog/compute/brightbox/volume_spec.rb +348 -0
- data/tests/brightbox/compute/schema.rb +74 -0
- data/tests/brightbox/requests/compute/volume_tests.rb +57 -0
- metadata +22 -4
- data/.travis.yml +0 -12
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-brightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Thornthwaite
|
@@ -163,10 +163,10 @@ executables: []
|
|
163
163
|
extensions: []
|
164
164
|
extra_rdoc_files: []
|
165
165
|
files:
|
166
|
+
- ".github/workflows/ruby.yml"
|
166
167
|
- ".gitignore"
|
167
168
|
- ".rubocop.yml"
|
168
169
|
- ".rubocop_todo.yml"
|
169
|
-
- ".travis.yml"
|
170
170
|
- CHANGELOG.md
|
171
171
|
- Gemfile
|
172
172
|
- LICENSE.txt
|
@@ -219,6 +219,8 @@ files:
|
|
219
219
|
- lib/fog/brightbox/models/compute/user_collaboration.rb
|
220
220
|
- lib/fog/brightbox/models/compute/user_collaborations.rb
|
221
221
|
- lib/fog/brightbox/models/compute/users.rb
|
222
|
+
- lib/fog/brightbox/models/compute/volume.rb
|
223
|
+
- lib/fog/brightbox/models/compute/volumes.rb
|
222
224
|
- lib/fog/brightbox/models/compute/zone.rb
|
223
225
|
- lib/fog/brightbox/models/compute/zones.rb
|
224
226
|
- lib/fog/brightbox/models/storage/directories.rb
|
@@ -232,6 +234,8 @@ files:
|
|
232
234
|
- lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb
|
233
235
|
- lib/fog/brightbox/requests/compute/add_servers_server_group.rb
|
234
236
|
- lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb
|
237
|
+
- lib/fog/brightbox/requests/compute/attach_volume.rb
|
238
|
+
- lib/fog/brightbox/requests/compute/copy_volume.rb
|
235
239
|
- lib/fog/brightbox/requests/compute/create_api_client.rb
|
236
240
|
- lib/fog/brightbox/requests/compute/create_application.rb
|
237
241
|
- lib/fog/brightbox/requests/compute/create_cloud_ip.rb
|
@@ -243,6 +247,7 @@ files:
|
|
243
247
|
- lib/fog/brightbox/requests/compute/create_load_balancer.rb
|
244
248
|
- lib/fog/brightbox/requests/compute/create_server.rb
|
245
249
|
- lib/fog/brightbox/requests/compute/create_server_group.rb
|
250
|
+
- lib/fog/brightbox/requests/compute/create_volume.rb
|
246
251
|
- lib/fog/brightbox/requests/compute/delete_api_client.rb
|
247
252
|
- lib/fog/brightbox/requests/compute/delete_application.rb
|
248
253
|
- lib/fog/brightbox/requests/compute/delete_cloud_ip.rb
|
@@ -256,6 +261,8 @@ files:
|
|
256
261
|
- lib/fog/brightbox/requests/compute/delete_server.rb
|
257
262
|
- lib/fog/brightbox/requests/compute/delete_server_group.rb
|
258
263
|
- lib/fog/brightbox/requests/compute/delete_user_collaboration.rb
|
264
|
+
- lib/fog/brightbox/requests/compute/delete_volume.rb
|
265
|
+
- lib/fog/brightbox/requests/compute/detach_volume.rb
|
259
266
|
- lib/fog/brightbox/requests/compute/get_account.rb
|
260
267
|
- lib/fog/brightbox/requests/compute/get_api_client.rb
|
261
268
|
- lib/fog/brightbox/requests/compute/get_application.rb
|
@@ -276,6 +283,7 @@ files:
|
|
276
283
|
- lib/fog/brightbox/requests/compute/get_server_type.rb
|
277
284
|
- lib/fog/brightbox/requests/compute/get_user.rb
|
278
285
|
- lib/fog/brightbox/requests/compute/get_user_collaboration.rb
|
286
|
+
- lib/fog/brightbox/requests/compute/get_volume.rb
|
279
287
|
- lib/fog/brightbox/requests/compute/get_zone.rb
|
280
288
|
- lib/fog/brightbox/requests/compute/list_accounts.rb
|
281
289
|
- lib/fog/brightbox/requests/compute/list_api_clients.rb
|
@@ -294,12 +302,14 @@ files:
|
|
294
302
|
- lib/fog/brightbox/requests/compute/list_servers.rb
|
295
303
|
- lib/fog/brightbox/requests/compute/list_user_collaborations.rb
|
296
304
|
- lib/fog/brightbox/requests/compute/list_users.rb
|
305
|
+
- lib/fog/brightbox/requests/compute/list_volumes.rb
|
297
306
|
- lib/fog/brightbox/requests/compute/list_zones.rb
|
298
307
|
- lib/fog/brightbox/requests/compute/lock_resource_database_server.rb
|
299
308
|
- lib/fog/brightbox/requests/compute/lock_resource_database_snapshot.rb
|
300
309
|
- lib/fog/brightbox/requests/compute/lock_resource_image.rb
|
301
310
|
- lib/fog/brightbox/requests/compute/lock_resource_load_balancer.rb
|
302
311
|
- lib/fog/brightbox/requests/compute/lock_resource_server.rb
|
312
|
+
- lib/fog/brightbox/requests/compute/lock_resource_volume.rb
|
303
313
|
- lib/fog/brightbox/requests/compute/map_cloud_ip.rb
|
304
314
|
- lib/fog/brightbox/requests/compute/move_servers_server_group.rb
|
305
315
|
- lib/fog/brightbox/requests/compute/reboot_server.rb
|
@@ -315,6 +325,7 @@ files:
|
|
315
325
|
- lib/fog/brightbox/requests/compute/reset_secret_api_client.rb
|
316
326
|
- lib/fog/brightbox/requests/compute/reset_secret_application.rb
|
317
327
|
- lib/fog/brightbox/requests/compute/reset_server.rb
|
328
|
+
- lib/fog/brightbox/requests/compute/resize_volume.rb
|
318
329
|
- lib/fog/brightbox/requests/compute/shutdown_server.rb
|
319
330
|
- lib/fog/brightbox/requests/compute/snapshot_database_server.rb
|
320
331
|
- lib/fog/brightbox/requests/compute/snapshot_server.rb
|
@@ -325,6 +336,7 @@ files:
|
|
325
336
|
- lib/fog/brightbox/requests/compute/unlock_resource_image.rb
|
326
337
|
- lib/fog/brightbox/requests/compute/unlock_resource_load_balancer.rb
|
327
338
|
- lib/fog/brightbox/requests/compute/unlock_resource_server.rb
|
339
|
+
- lib/fog/brightbox/requests/compute/unlock_resource_volume.rb
|
328
340
|
- lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb
|
329
341
|
- lib/fog/brightbox/requests/compute/update_account.rb
|
330
342
|
- lib/fog/brightbox/requests/compute/update_api_client.rb
|
@@ -340,6 +352,7 @@ files:
|
|
340
352
|
- lib/fog/brightbox/requests/compute/update_server.rb
|
341
353
|
- lib/fog/brightbox/requests/compute/update_server_group.rb
|
342
354
|
- lib/fog/brightbox/requests/compute/update_user.rb
|
355
|
+
- lib/fog/brightbox/requests/compute/update_volume.rb
|
343
356
|
- lib/fog/brightbox/requests/storage/copy_object.rb
|
344
357
|
- lib/fog/brightbox/requests/storage/delete_container.rb
|
345
358
|
- lib/fog/brightbox/requests/storage/delete_multiple_objects.rb
|
@@ -391,12 +404,14 @@ files:
|
|
391
404
|
- spec/fog/compute/brightbox/event_spec.rb
|
392
405
|
- spec/fog/compute/brightbox/firewall_policy_spec.rb
|
393
406
|
- spec/fog/compute/brightbox/flavor_spec.rb
|
407
|
+
- spec/fog/compute/brightbox/image_selector_spec.rb
|
394
408
|
- spec/fog/compute/brightbox/image_spec.rb
|
395
409
|
- spec/fog/compute/brightbox/load_balancer_spec.rb
|
396
410
|
- spec/fog/compute/brightbox/server_group_spec.rb
|
397
411
|
- spec/fog/compute/brightbox/server_spec.rb
|
398
412
|
- spec/fog/compute/brightbox/user_collaboration_spec.rb
|
399
413
|
- spec/fog/compute/brightbox/user_spec.rb
|
414
|
+
- spec/fog/compute/brightbox/volume_spec.rb
|
400
415
|
- spec/fog/compute/brightbox/zone_spec.rb
|
401
416
|
- spec/fog/compute/brightbox_spec.rb
|
402
417
|
- spec/fog/storage/brightbox_spec.rb
|
@@ -433,6 +448,7 @@ files:
|
|
433
448
|
- tests/brightbox/requests/compute/server_type_tests.rb
|
434
449
|
- tests/brightbox/requests/compute/user_collaboration_tests.rb
|
435
450
|
- tests/brightbox/requests/compute/user_tests.rb
|
451
|
+
- tests/brightbox/requests/compute/volume_tests.rb
|
436
452
|
- tests/brightbox/requests/compute/zone_tests.rb
|
437
453
|
- tests/helper.rb
|
438
454
|
- tests/helpers/collection_helper.rb
|
@@ -461,9 +477,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
461
477
|
version: '2.0'
|
462
478
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
463
479
|
requirements:
|
464
|
-
- - "
|
480
|
+
- - ">"
|
465
481
|
- !ruby/object:Gem::Version
|
466
|
-
version:
|
482
|
+
version: 1.3.1
|
467
483
|
requirements: []
|
468
484
|
rubygems_version: 3.0.6
|
469
485
|
signing_key:
|
@@ -495,12 +511,14 @@ test_files:
|
|
495
511
|
- spec/fog/compute/brightbox/event_spec.rb
|
496
512
|
- spec/fog/compute/brightbox/firewall_policy_spec.rb
|
497
513
|
- spec/fog/compute/brightbox/flavor_spec.rb
|
514
|
+
- spec/fog/compute/brightbox/image_selector_spec.rb
|
498
515
|
- spec/fog/compute/brightbox/image_spec.rb
|
499
516
|
- spec/fog/compute/brightbox/load_balancer_spec.rb
|
500
517
|
- spec/fog/compute/brightbox/server_group_spec.rb
|
501
518
|
- spec/fog/compute/brightbox/server_spec.rb
|
502
519
|
- spec/fog/compute/brightbox/user_collaboration_spec.rb
|
503
520
|
- spec/fog/compute/brightbox/user_spec.rb
|
521
|
+
- spec/fog/compute/brightbox/volume_spec.rb
|
504
522
|
- spec/fog/compute/brightbox/zone_spec.rb
|
505
523
|
- spec/fog/compute/brightbox_spec.rb
|
506
524
|
- spec/fog/storage/brightbox_spec.rb
|