brightbox-cli 2.1.2 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/Gemfile.lock +7 -6
  4. data/brightbox-cli.gemspec +2 -1
  5. data/lib/brightbox-cli/config/clients.rb +1 -1
  6. data/lib/brightbox-cli/gli_global_hooks.rb +3 -1
  7. data/lib/brightbox-cli/images.rb +1 -1
  8. data/lib/brightbox-cli/version.rb +1 -1
  9. data/lib/brightbox_cli.rb +1 -1
  10. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_a_collection_of_Accounts.yml +3 -3
  11. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_resources_on_the_same_connection.yml +1 -1
  12. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_a_collection_of_Accounts.yml +2 -2
  13. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_resources_on_the_same_connection.yml +1 -1
  14. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_changes_to_the_config_file.yml +1 -1
  15. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_default_account.yml +1 -1
  16. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_new_client_as_the_default.yml +1 -1
  17. data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_is_not_authenticated/does_not_raise_an_error.yml +5 -5
  18. data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_may_access_one_account/updates_the_setting.yml +5 -5
  19. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_config_in_use_is_not_the_default/uses_correct_credentials.yml +1 -1
  20. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_a_cached_refresh_token/caches_the_new_tokens.yml +1 -1
  21. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_an_expired_refresh_token/caches_the_new_tokens.yml +2 -2
  22. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/caches_the_new_tokens.yml +1 -1
  23. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/prompts_user_to_retry_command.yml +1 -1
  24. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_an_API_client_with_no_tokens/caches_a_new_access_token.yml +1 -1
  25. data/spec/cassettes/Brightbox_CloudIP/_find_all_/when_a_Cloud_IP_exists/returns_a_suitable.yml +7 -7
  26. data/spec/cassettes/Brightbox_FirewallPolicy/_apply_to/should_apply_firewall_policy.yml +6 -6
  27. data/spec/cassettes/Brightbox_FirewallPolicy/_create/should_create_firewall_policy.yml +6 -6
  28. data/spec/cassettes/Brightbox_FirewallPolicy/_destroy/should_destroy_firewall_policy.yml +7 -7
  29. data/spec/cassettes/Brightbox_FirewallPolicy/_find_all_/when_a_policy_exists/should_list_firewall_policy.yml +6 -6
  30. data/spec/cassettes/Brightbox_FirewallPolicy/_find_or_call/when_a_policy_exists/should_show_firewall_policy.yml +5 -5
  31. data/spec/cassettes/Brightbox_FirewallRule/_create/when_policy_exists/creates_the_rule_successfully.yml +6 -6
  32. data/spec/cassettes/Brightbox_FirewallRule/_destroy/when_rule_exists/destroys_a_rule.yml +5 -5
  33. data/spec/cassettes/Brightbox_FirewallRule/_find/when_rule_exists/can_display_the_result.yml +6 -6
  34. data/spec/cassettes/Brightbox_FirewallRule/_from_policy/when_policy_exists_with_a_rule/lists_all_rules.yml +8 -8
  35. data/spec/cassettes/Brightbox_Server/_destroy/when_server_exists/should_work.yml +5 -5
  36. data/spec/cassettes/Brightbox_Server/_find_all_/when_a_server_exists/should_print_server_list.yml +7 -7
  37. data/spec/cassettes/Brightbox_Server/_show/when_server_exists/shows_detailed_attributes_of_a_server.yml +8 -8
  38. data/spec/cassettes/Brightbox_Server/_shutdown/should_work.yml +8 -8
  39. data/spec/cassettes/Brightbox_Server/_start/should_work.yml +11 -11
  40. data/spec/cassettes/Brightbox_Server/_stop/should_work.yml +8 -8
  41. data/spec/cassettes/Brightbox_Server/_update/when_passing_new_group_membership/should_update_with_group.yml +10 -10
  42. data/spec/cassettes/Brightbox_ServerGroup/_find_all_/when_a_group_exists/list_server_groups.yml +6 -6
  43. data/spec/cassettes/Firewall_policies/update/when_the_policy_does_not_exist/prints_error_to_STDERR.yml +1 -1
  44. data/spec/cassettes/brightbox_accounts/list/_when_access_token_expired_/does_not_report_invalid_token_errors.yml +7 -7
  45. data/spec/cassettes/brightbox_accounts/list/_when_both_tokens_expired_/does_not_report_invalid_token_errors.yml +7 -7
  46. data/spec/cassettes/brightbox_accounts/list/_when_invalid_tokens_/does_not_report_invalid_token_errors.yml +7 -7
  47. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/does_not_report_invalid_token_errors.yml +6 -6
  48. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/reports_they_were_updated.yml +5 -5
  49. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/does_not_report_invalid_token_errors.yml +5 -5
  50. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/reports_unable_to_authenticate.yml +4 -4
  51. data/spec/cassettes/brightbox_accounts/list/does_not_error.yml +2 -2
  52. data/spec/cassettes/brightbox_cloudips/map/when_destination_is_a_server_ID/passes_the_interface_identifier_to_the_API.yml +6 -6
  53. data/spec/cassettes/brightbox_cloudips/map/when_destination_is_another_value/passes_the_identifier_to_the_API.yml +3 -3
  54. data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/does_not_error.yml +4 -4
  55. data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/sets_up_the_config.yml +4 -4
  56. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_change_the_default_client.yml +4 -4
  57. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_error.yml +4 -4
  58. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +4 -4
  59. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +4 -4
  60. data/spec/cassettes/brightbox_config/user_add/when_NO_config_file_on_disk/sets_up_the_config.yml +3 -3
  61. data/spec/cassettes/brightbox_config/user_add/when_a_default_client_is_already_set/does_not_change_the_default_client.yml +1 -1
  62. data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/does_not_error.yml +1 -1
  63. data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/sets_up_the_config.yml +1 -1
  64. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/display_an_warning_about_preselected_default.yml +1 -1
  65. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/does_not_error.yml +1 -1
  66. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/selects_the_active_account_for_the_default.yml +1 -1
  67. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/sets_up_the_config.yml +1 -1
  68. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/display_an_warning_about_preselected_default.yml +1 -1
  69. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/does_not_error.yml +1 -1
  70. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/sets_up_the_config.yml +1 -1
  71. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_error.yml +1 -1
  72. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_prompt_to_rerun_the_command.yml +1 -1
  73. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/requests_access_tokens.yml +1 -1
  74. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +1 -1
  75. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +3 -3
  76. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_error.yml +1 -1
  77. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_prompt_to_rerun_the_command.yml +1 -1
  78. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/requests_access_tokens.yml +1 -1
  79. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/sets_up_the_config.yml +2 -2
  80. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/does_not_error.yml +1 -1
  81. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/requests_access_tokens.yml +1 -1
  82. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/sets_up_the_config.yml +1 -1
  83. data/spec/cassettes/brightbox_database-servers/create/--allow-access_10_0_0_0/correctly_sends_API_parameters.yml +1 -1
  84. data/spec/cassettes/brightbox_database-servers/create/--allow-access_srv-12345_grp-12345/correctly_sends_API_parameters.yml +1 -1
  85. data/spec/cassettes/brightbox_database-servers/create/--engine_mysql/correctly_sends_API_parameters.yml +1 -1
  86. data/spec/cassettes/brightbox_database-servers/create/--engine_mysql_--engine-version_5_6/correctly_sends_API_parameters.yml +1 -1
  87. data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_password.yml +1 -1
  88. data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_username.yml +1 -1
  89. data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_active/correctly_sends_API_parameters.yml +2 -2
  90. data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_can_not_be_snapshotted/reports_an_error_to_the_user.yml +1 -1
  91. data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/does_not_output_to_stderr.yml +1 -1
  92. data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/outputs_table_details_to_stdout.yml +1 -1
  93. data/spec/cassettes/brightbox_database-snapshots/show/when_resource_exists/does_not_output_to_stderr.yml +1 -1
  94. data/spec/commands/accounts/list_spec.rb +6 -6
  95. data/spec/commands/cloudips/map_spec.rb +2 -2
  96. data/spec/commands/config/client_add_spec.rb +3 -3
  97. data/spec/commands/config/user_add_spec.rb +8 -8
  98. data/spec/commands/firewall_policies/update_spec.rb +5 -5
  99. data/spec/commands/sql/instances/create_spec.rb +5 -5
  100. data/spec/commands/sql/instances/snapshot_spec.rb +2 -2
  101. data/spec/commands/sql/snapshots/list_spec.rb +1 -1
  102. data/spec/commands/sql/snapshots/show_spec.rb +1 -1
  103. data/spec/spec_helper.rb +1 -4
  104. data/spec/support/vcr.rb +0 -4
  105. data/spec/unit/brightbox/account/all_spec.rb +2 -2
  106. data/spec/unit/brightbox/account/get_spec.rb +5 -5
  107. data/spec/unit/brightbox/api/conn_spec.rb +1 -1
  108. data/spec/unit/brightbox/bb_config/add_section_spec.rb +1 -1
  109. data/spec/unit/brightbox/bb_config/find_or_set_default_account_spec.rb +3 -3
  110. data/spec/unit/brightbox/bb_config/renew_tokens_spec.rb +5 -5
  111. data/spec/unit/brightbox/cloud_ip/find_spec.rb +1 -1
  112. data/spec/unit/brightbox/config/api_client/to_fog_spec.rb +3 -3
  113. data/spec/unit/brightbox/config/user_application/to_fog_spec.rb +4 -4
  114. data/spec/unit/brightbox/firewall_policy/apply_to_spec.rb +1 -1
  115. data/spec/unit/brightbox/firewall_policy/create_spec.rb +1 -1
  116. data/spec/unit/brightbox/firewall_policy/destroy_spec.rb +1 -1
  117. data/spec/unit/brightbox/firewall_policy/find_or_call_spec.rb +1 -1
  118. data/spec/unit/brightbox/firewall_policy/find_spec.rb +2 -2
  119. data/spec/unit/brightbox/firewall_rule/create_spec.rb +1 -1
  120. data/spec/unit/brightbox/firewall_rule/destroy_spec.rb +1 -1
  121. data/spec/unit/brightbox/firewall_rule/find_spec.rb +1 -1
  122. data/spec/unit/brightbox/firewall_rule/from_policy_spec.rb +1 -1
  123. data/spec/unit/brightbox/server/destroy_spec.rb +1 -1
  124. data/spec/unit/brightbox/server/find_or_call_spec.rb +1 -1
  125. data/spec/unit/brightbox/server/find_spec.rb +1 -1
  126. data/spec/unit/brightbox/server/shutdown_spec.rb +1 -1
  127. data/spec/unit/brightbox/server/start_spec.rb +1 -1
  128. data/spec/unit/brightbox/server/stop_spec.rb +1 -1
  129. data/spec/unit/brightbox/server/update_spec.rb +1 -1
  130. data/spec/unit/brightbox/server_group/find_spec.rb +1 -1
  131. data/spec/unit/brightbox/user_collaboration/get_for_account_spec.rb +4 -4
  132. metadata +19 -5
@@ -173,7 +173,7 @@ http_interactions:
173
173
  uri: http://api.brightbox.dev/token
174
174
  body:
175
175
  encoding: UTF-8
176
- string: '{"grant_type":"none","client_id":"app-12345"}'
176
+ string: '{"grant_type":"client_credentials"}'
177
177
  headers:
178
178
  User-Agent:
179
179
  - fog/1.15.0
@@ -217,7 +217,7 @@ http_interactions:
217
217
  uri: http://api.brightbox.dev/token
218
218
  body:
219
219
  encoding: UTF-8
220
- string: '{"grant_type":"none","client_id":"app-12345"}'
220
+ string: '{"grant_type":"client_credentials"}'
221
221
  headers:
222
222
  User-Agent:
223
223
  - fog/1.15.0
@@ -261,7 +261,7 @@ http_interactions:
261
261
  uri: http://api.brightbox.dev/token
262
262
  body:
263
263
  encoding: UTF-8
264
- string: '{"grant_type":"none","client_id":"app-12345"}'
264
+ string: '{"grant_type":"client_credentials"}'
265
265
  headers:
266
266
  User-Agent:
267
267
  - fog/1.15.0
@@ -305,7 +305,7 @@ http_interactions:
305
305
  uri: http://api.brightbox.dev/token
306
306
  body:
307
307
  encoding: UTF-8
308
- string: '{"grant_type":"none","client_id":"app-12345"}'
308
+ string: '{"grant_type":"client_credentials"}'
309
309
  headers:
310
310
  User-Agent:
311
311
  - fog/1.15.0
@@ -349,7 +349,7 @@ http_interactions:
349
349
  uri: http://api.brightbox.dev/token
350
350
  body:
351
351
  encoding: UTF-8
352
- string: '{"grant_type":"none","client_id":"cli-12345"}'
352
+ string: '{"grant_type":"client_credentials"}'
353
353
  headers:
354
354
  User-Agent:
355
355
  - fog/1.15.0
@@ -434,7 +434,7 @@ http_interactions:
434
434
  uri: http://api.brightbox.dev/token
435
435
  body:
436
436
  encoding: UTF-8
437
- string: '{"grant_type":"none","client_id":"cli-12345"}'
437
+ string: '{"grant_type":"client_credentials"}'
438
438
  headers:
439
439
  User-Agent:
440
440
  - fog/1.15.0
@@ -53,7 +53,7 @@ http_interactions:
53
53
  uri: http://api.brightbox.dev/token
54
54
  body:
55
55
  encoding: UTF-8
56
- string: ! '{"grant_type":"none","client_id":"cli-12345"}'
56
+ string: ! '{"grant_type":"client_credentials"}'
57
57
  headers:
58
58
  User-Agent:
59
59
  - fog/1.15.0
@@ -45,7 +45,7 @@ http_interactions:
45
45
  uri: http://api.brightbox.dev/token
46
46
  body:
47
47
  encoding: UTF-8
48
- string: '{"grant_type":"none","client_id":"cli-12345"}'
48
+ string: '{"grant_type":"client_credentials"}'
49
49
  headers:
50
50
  User-Agent:
51
51
  - fog/1.15.0
@@ -131,7 +131,7 @@ http_interactions:
131
131
  uri: http://api.brightbox.dev/token
132
132
  body:
133
133
  encoding: UTF-8
134
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"a05c73351bbbc8d3abba9cf175733aec22a5cb71"}'
134
+ string: '{"grant_type":"refresh_token","refresh_token":"a05c73351bbbc8d3abba9cf175733aec22a5cb71"}'
135
135
  headers:
136
136
  User-Agent:
137
137
  - fog/1.15.0
@@ -176,7 +176,7 @@ http_interactions:
176
176
  uri: http://api.brightbox.dev/token
177
177
  body:
178
178
  encoding: UTF-8
179
- string: '{"grant_type":"none","client_id":"cli-12345"}'
179
+ string: '{"grant_type":"client_credentials"}'
180
180
  headers:
181
181
  User-Agent:
182
182
  - fog/1.15.0
@@ -222,7 +222,7 @@ http_interactions:
222
222
  uri: http://api.brightbox.dev/token
223
223
  body:
224
224
  encoding: UTF-8
225
- string: '{"grant_type":"none","client_id":"app-12345"}'
225
+ string: '{"grant_type":"client_credentials"}'
226
226
  headers:
227
227
  User-Agent:
228
228
  - fog/1.15.0
@@ -266,7 +266,7 @@ http_interactions:
266
266
  uri: http://api.brightbox.dev/token
267
267
  body:
268
268
  encoding: UTF-8
269
- string: '{"grant_type":"none","client_id":"app-12345"}'
269
+ string: '{"grant_type":"client_credentials"}'
270
270
  headers:
271
271
  User-Agent:
272
272
  - fog/1.15.0
@@ -310,7 +310,7 @@ http_interactions:
310
310
  uri: http://api.brightbox.dev/token
311
311
  body:
312
312
  encoding: UTF-8
313
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"a05c73351bbbc8d3abba9cf175733aec22a5cb71"}'
313
+ string: '{"grant_type":"refresh_token","refresh_token":"a05c73351bbbc8d3abba9cf175733aec22a5cb71"}'
314
314
  headers:
315
315
  User-Agent:
316
316
  - fog/1.15.0
@@ -356,7 +356,7 @@ http_interactions:
356
356
  uri: http://api.brightbox.dev/token
357
357
  body:
358
358
  encoding: UTF-8
359
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":""}'
359
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":""}'
360
360
  headers:
361
361
  User-Agent:
362
362
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"cli-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -91,7 +91,7 @@ http_interactions:
91
91
  uri: http://api.brightbox.dev/token
92
92
  body:
93
93
  encoding: UTF-8
94
- string: '{"grant_type":"none","client_id":"cli-12345"}'
94
+ string: '{"grant_type":"client_credentials"}'
95
95
  headers:
96
96
  User-Agent:
97
97
  - fog/1.15.0
@@ -177,7 +177,7 @@ http_interactions:
177
177
  uri: http://api.brightbox.dev/token
178
178
  body:
179
179
  encoding: UTF-8
180
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"b57a7c633a65614b74cc29839ccfade8e64e696d"}'
180
+ string: '{"grant_type":"refresh_token","refresh_token":"b57a7c633a65614b74cc29839ccfade8e64e696d"}'
181
181
  headers:
182
182
  User-Agent:
183
183
  - fog/1.15.0
@@ -223,7 +223,7 @@ http_interactions:
223
223
  uri: http://api.brightbox.dev/token
224
224
  body:
225
225
  encoding: UTF-8
226
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
226
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
227
227
  headers:
228
228
  User-Agent:
229
229
  - fog/1.15.0
@@ -268,7 +268,7 @@ http_interactions:
268
268
  uri: http://api.brightbox.dev/token
269
269
  body:
270
270
  encoding: UTF-8
271
- string: '{"grant_type":"none","client_id":"app-12345"}'
271
+ string: '{"grant_type":"client_credentials"}'
272
272
  headers:
273
273
  User-Agent:
274
274
  - fog/1.15.0
@@ -312,7 +312,7 @@ http_interactions:
312
312
  uri: http://api.brightbox.dev/token
313
313
  body:
314
314
  encoding: UTF-8
315
- string: '{"grant_type":"none","client_id":"app-12345"}'
315
+ string: '{"grant_type":"client_credentials"}'
316
316
  headers:
317
317
  User-Agent:
318
318
  - fog/1.15.0
@@ -356,7 +356,7 @@ http_interactions:
356
356
  uri: http://api.brightbox.dev/token
357
357
  body:
358
358
  encoding: UTF-8
359
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"b57a7c633a65614b74cc29839ccfade8e64e696d"}'
359
+ string: '{"grant_type":"refresh_token","refresh_token":"b57a7c633a65614b74cc29839ccfade8e64e696d"}'
360
360
  headers:
361
361
  User-Agent:
362
362
  - fog/1.15.0
@@ -45,7 +45,7 @@ http_interactions:
45
45
  uri: http://api.brightbox.dev/token
46
46
  body:
47
47
  encoding: UTF-8
48
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"c08bd7973ddf8493d878b22fe69c1044bbb3abb1"}'
48
+ string: '{"grant_type":"refresh_token","refresh_token":"c08bd7973ddf8493d878b22fe69c1044bbb3abb1"}'
49
49
  headers:
50
50
  User-Agent:
51
51
  - fog/1.15.0
@@ -130,7 +130,7 @@ http_interactions:
130
130
  uri: http://api.brightbox.dev/token
131
131
  body:
132
132
  encoding: UTF-8
133
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"c08bd7973ddf8493d878b22fe69c1044bbb3abb1"}'
133
+ string: '{"grant_type":"refresh_token","refresh_token":"c08bd7973ddf8493d878b22fe69c1044bbb3abb1"}'
134
134
  headers:
135
135
  User-Agent:
136
136
  - fog/1.15.0
@@ -175,7 +175,7 @@ http_interactions:
175
175
  uri: http://api.brightbox.dev/token
176
176
  body:
177
177
  encoding: UTF-8
178
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
178
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
179
179
  headers:
180
180
  User-Agent:
181
181
  - fog/1.15.0
@@ -220,7 +220,7 @@ http_interactions:
220
220
  uri: http://api.brightbox.dev/token
221
221
  body:
222
222
  encoding: UTF-8
223
- string: '{"grant_type":"none","client_id":"cli-12345"}'
223
+ string: '{"grant_type":"client_credentials"}'
224
224
  headers:
225
225
  User-Agent:
226
226
  - fog/1.15.0
@@ -265,7 +265,7 @@ http_interactions:
265
265
  uri: http://api.brightbox.dev/token
266
266
  body:
267
267
  encoding: UTF-8
268
- string: '{"grant_type":"none","client_id":"cli-12345"}'
268
+ string: '{"grant_type":"client_credentials"}'
269
269
  headers:
270
270
  User-Agent:
271
271
  - fog/1.15.0
@@ -311,7 +311,7 @@ http_interactions:
311
311
  uri: http://api.brightbox.dev/token
312
312
  body:
313
313
  encoding: UTF-8
314
- string: '{"grant_type":"none","client_id":"app-12345"}'
314
+ string: '{"grant_type":"client_credentials"}'
315
315
  headers:
316
316
  User-Agent:
317
317
  - fog/1.15.0
@@ -355,7 +355,7 @@ http_interactions:
355
355
  uri: http://api.brightbox.dev/token
356
356
  body:
357
357
  encoding: UTF-8
358
- string: '{"grant_type":"none","client_id":"app-12345"}'
358
+ string: '{"grant_type":"client_credentials"}'
359
359
  headers:
360
360
  User-Agent:
361
361
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"app-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -89,7 +89,7 @@ http_interactions:
89
89
  uri: http://api.brightbox.dev/token
90
90
  body:
91
91
  encoding: UTF-8
92
- string: '{"grant_type":"none","client_id":"app-12345"}'
92
+ string: '{"grant_type":"client_credentials"}'
93
93
  headers:
94
94
  User-Agent:
95
95
  - fog/1.15.0
@@ -173,7 +173,7 @@ http_interactions:
173
173
  uri: http://api.brightbox.dev/token
174
174
  body:
175
175
  encoding: UTF-8
176
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
176
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
177
177
  headers:
178
178
  User-Agent:
179
179
  - fog/1.15.0
@@ -218,7 +218,7 @@ http_interactions:
218
218
  uri: http://api.brightbox.dev/token
219
219
  body:
220
220
  encoding: UTF-8
221
- string: '{"grant_type":"none","client_id":"cli-12345"}'
221
+ string: '{"grant_type":"client_credentials"}'
222
222
  headers:
223
223
  User-Agent:
224
224
  - fog/1.15.0
@@ -263,7 +263,7 @@ http_interactions:
263
263
  uri: http://api.brightbox.dev/token
264
264
  body:
265
265
  encoding: UTF-8
266
- string: '{"grant_type":"none","client_id":"cli-12345"}'
266
+ string: '{"grant_type":"client_credentials"}'
267
267
  headers:
268
268
  User-Agent:
269
269
  - fog/1.15.0
@@ -308,7 +308,7 @@ http_interactions:
308
308
  uri: http://api.brightbox.dev/token
309
309
  body:
310
310
  encoding: UTF-8
311
- string: '{"grant_type":"refresh_token","client_id":"app-12345","refresh_token":"dcd32790159f852756dadf8bed12cc3369c7b448"}'
311
+ string: '{"grant_type":"refresh_token","refresh_token":"dcd32790159f852756dadf8bed12cc3369c7b448"}'
312
312
  headers:
313
313
  User-Agent:
314
314
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"app-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -89,7 +89,7 @@ http_interactions:
89
89
  uri: http://api.brightbox.dev/token
90
90
  body:
91
91
  encoding: UTF-8
92
- string: '{"grant_type":"none","client_id":"app-12345"}'
92
+ string: '{"grant_type":"client_credentials"}'
93
93
  headers:
94
94
  User-Agent:
95
95
  - fog/1.15.0
@@ -173,7 +173,7 @@ http_interactions:
173
173
  uri: http://api.brightbox.dev/token
174
174
  body:
175
175
  encoding: UTF-8
176
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
176
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
177
177
  headers:
178
178
  User-Agent:
179
179
  - fog/1.15.0
@@ -218,7 +218,7 @@ http_interactions:
218
218
  uri: http://api.brightbox.dev/token
219
219
  body:
220
220
  encoding: UTF-8
221
- string: '{"grant_type":"none","client_id":"cli-12345"}'
221
+ string: '{"grant_type":"client_credentials"}'
222
222
  headers:
223
223
  User-Agent:
224
224
  - fog/1.15.0
@@ -263,7 +263,7 @@ http_interactions:
263
263
  uri: http://api.brightbox.dev/token
264
264
  body:
265
265
  encoding: UTF-8
266
- string: '{"grant_type":"none","client_id":"cli-12345"}'
266
+ string: '{"grant_type":"client_credentials"}'
267
267
  headers:
268
268
  User-Agent:
269
269
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"app-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -89,7 +89,7 @@ http_interactions:
89
89
  uri: http://api.brightbox.dev/token
90
90
  body:
91
91
  encoding: UTF-8
92
- string: '{"grant_type":"none","client_id":"app-12345"}'
92
+ string: '{"grant_type":"client_credentials"}'
93
93
  headers:
94
94
  User-Agent:
95
95
  - fog/1.15.0
@@ -173,7 +173,7 @@ http_interactions:
173
173
  uri: http://api.brightbox.dev/token
174
174
  body:
175
175
  encoding: UTF-8
176
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":"wrong"}'
176
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"wrong"}'
177
177
  headers:
178
178
  User-Agent:
179
179
  - fog/1.15.0
@@ -218,7 +218,7 @@ http_interactions:
218
218
  uri: http://api.brightbox.dev/token
219
219
  body:
220
220
  encoding: UTF-8
221
- string: '{"grant_type":"none","client_id":"cli-12345"}'
221
+ string: '{"grant_type":"client_credentials"}'
222
222
  headers:
223
223
  User-Agent:
224
224
  - fog/1.15.0
@@ -263,7 +263,7 @@ http_interactions:
263
263
  uri: http://api.brightbox.dev/token
264
264
  body:
265
265
  encoding: UTF-8
266
- string: '{"grant_type":"none","client_id":"cli-12345"}'
266
+ string: '{"grant_type":"client_credentials"}'
267
267
  headers:
268
268
  User-Agent:
269
269
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"app-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -89,7 +89,7 @@ http_interactions:
89
89
  uri: http://api.brightbox.dev/token
90
90
  body:
91
91
  encoding: UTF-8
92
- string: '{"grant_type":"none","client_id":"app-12345"}'
92
+ string: '{"grant_type":"client_credentials"}'
93
93
  headers:
94
94
  User-Agent:
95
95
  - fog/1.15.0
@@ -173,7 +173,7 @@ http_interactions:
173
173
  uri: http://api.brightbox.dev/token
174
174
  body:
175
175
  encoding: UTF-8
176
- string: '{"grant_type":"password","client_id":"app-12345","username":"jason.null@brightbox.com","password":"wrong"}'
176
+ string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"wrong"}'
177
177
  headers:
178
178
  User-Agent:
179
179
  - fog/1.15.0
@@ -218,7 +218,7 @@ http_interactions:
218
218
  uri: http://api.brightbox.dev/token
219
219
  body:
220
220
  encoding: UTF-8
221
- string: '{"grant_type":"none","client_id":"cli-12345"}'
221
+ string: '{"grant_type":"client_credentials"}'
222
222
  headers:
223
223
  User-Agent:
224
224
  - fog/1.15.0
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: http://api.brightbox.dev/token
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"grant_type":"none","client_id":"cli-12345"}'
8
+ string: '{"grant_type":"client_credentials"}'
9
9
  headers:
10
10
  User-Agent:
11
11
  - fog/1.15.0
@@ -95,7 +95,7 @@ http_interactions:
95
95
  uri: http://api.brightbox.dev/token
96
96
  body:
97
97
  encoding: UTF-8
98
- string: '{"grant_type":"none","client_id":"app-12345"}'
98
+ string: '{"grant_type":"client_credentials"}'
99
99
  headers:
100
100
  User-Agent:
101
101
  - fog/1.15.0
@@ -268,7 +268,7 @@ http_interactions:
268
268
  uri: http://api.brightbox.dev/token
269
269
  body:
270
270
  encoding: UTF-8
271
- string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
271
+ string: "{\"grant_type\":\"client_credentials\"}"
272
272
  headers:
273
273
  User-Agent:
274
274
  - fog/1.19.0
@@ -314,7 +314,7 @@ http_interactions:
314
314
  uri: http://api.brightbox.dev/token
315
315
  body:
316
316
  encoding: UTF-8
317
- string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
317
+ string: "{\"grant_type\":\"client_credentials\"}"
318
318
  headers:
319
319
  User-Agent:
320
320
  - fog/1.19.0
@@ -360,7 +360,7 @@ http_interactions:
360
360
  uri: http://api.brightbox.dev/token
361
361
  body:
362
362
  encoding: UTF-8
363
- string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
363
+ string: "{\"grant_type\":\"client_credentials\"}"
364
364
  headers:
365
365
  User-Agent:
366
366
  - fog/1.19.0
@@ -406,7 +406,7 @@ http_interactions:
406
406
  uri: http://api.brightbox.dev/token
407
407
  body:
408
408
  encoding: UTF-8
409
- string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
409
+ string: "{\"grant_type\":\"client_credentials\"}"
410
410
  headers:
411
411
  User-Agent:
412
412
  - fog/1.19.0
@@ -452,7 +452,7 @@ http_interactions:
452
452
  uri: http://api.brightbox.dev/token
453
453
  body:
454
454
  encoding: UTF-8
455
- string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
455
+ string: "{\"grant_type\":\"client_credentials\"}"
456
456
  headers:
457
457
  User-Agent:
458
458
  - fog/1.19.0
@@ -498,7 +498,7 @@ http_interactions:
498
498
  uri: http://api.brightbox.dev/token
499
499
  body:
500
500
  encoding: UTF-8
501
- string: "{\"grant_type\":\"none\",\"client_id\":\"app-12345\"}"
501
+ string: "{\"grant_type\":\"client_credentials\"}"
502
502
  headers:
503
503
  User-Agent:
504
504
  - fog/1.19.0