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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +7 -6
- data/brightbox-cli.gemspec +2 -1
- data/lib/brightbox-cli/config/clients.rb +1 -1
- data/lib/brightbox-cli/gli_global_hooks.rb +3 -1
- data/lib/brightbox-cli/images.rb +1 -1
- data/lib/brightbox-cli/version.rb +1 -1
- data/lib/brightbox_cli.rb +1 -1
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_a_collection_of_Accounts.yml +3 -3
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_resources_on_the_same_connection.yml +1 -1
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_a_collection_of_Accounts.yml +2 -2
- data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_resources_on_the_same_connection.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_changes_to_the_config_file.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_default_account.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_new_client_as_the_default.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_is_not_authenticated/does_not_raise_an_error.yml +5 -5
- data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_may_access_one_account/updates_the_setting.yml +5 -5
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_config_in_use_is_not_the_default/uses_correct_credentials.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_a_cached_refresh_token/caches_the_new_tokens.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_an_expired_refresh_token/caches_the_new_tokens.yml +2 -2
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/caches_the_new_tokens.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/prompts_user_to_retry_command.yml +1 -1
- data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_an_API_client_with_no_tokens/caches_a_new_access_token.yml +1 -1
- data/spec/cassettes/Brightbox_CloudIP/_find_all_/when_a_Cloud_IP_exists/returns_a_suitable.yml +7 -7
- data/spec/cassettes/Brightbox_FirewallPolicy/_apply_to/should_apply_firewall_policy.yml +6 -6
- data/spec/cassettes/Brightbox_FirewallPolicy/_create/should_create_firewall_policy.yml +6 -6
- data/spec/cassettes/Brightbox_FirewallPolicy/_destroy/should_destroy_firewall_policy.yml +7 -7
- data/spec/cassettes/Brightbox_FirewallPolicy/_find_all_/when_a_policy_exists/should_list_firewall_policy.yml +6 -6
- data/spec/cassettes/Brightbox_FirewallPolicy/_find_or_call/when_a_policy_exists/should_show_firewall_policy.yml +5 -5
- data/spec/cassettes/Brightbox_FirewallRule/_create/when_policy_exists/creates_the_rule_successfully.yml +6 -6
- data/spec/cassettes/Brightbox_FirewallRule/_destroy/when_rule_exists/destroys_a_rule.yml +5 -5
- data/spec/cassettes/Brightbox_FirewallRule/_find/when_rule_exists/can_display_the_result.yml +6 -6
- data/spec/cassettes/Brightbox_FirewallRule/_from_policy/when_policy_exists_with_a_rule/lists_all_rules.yml +8 -8
- data/spec/cassettes/Brightbox_Server/_destroy/when_server_exists/should_work.yml +5 -5
- data/spec/cassettes/Brightbox_Server/_find_all_/when_a_server_exists/should_print_server_list.yml +7 -7
- data/spec/cassettes/Brightbox_Server/_show/when_server_exists/shows_detailed_attributes_of_a_server.yml +8 -8
- data/spec/cassettes/Brightbox_Server/_shutdown/should_work.yml +8 -8
- data/spec/cassettes/Brightbox_Server/_start/should_work.yml +11 -11
- data/spec/cassettes/Brightbox_Server/_stop/should_work.yml +8 -8
- data/spec/cassettes/Brightbox_Server/_update/when_passing_new_group_membership/should_update_with_group.yml +10 -10
- data/spec/cassettes/Brightbox_ServerGroup/_find_all_/when_a_group_exists/list_server_groups.yml +6 -6
- data/spec/cassettes/Firewall_policies/update/when_the_policy_does_not_exist/prints_error_to_STDERR.yml +1 -1
- data/spec/cassettes/brightbox_accounts/list/_when_access_token_expired_/does_not_report_invalid_token_errors.yml +7 -7
- data/spec/cassettes/brightbox_accounts/list/_when_both_tokens_expired_/does_not_report_invalid_token_errors.yml +7 -7
- data/spec/cassettes/brightbox_accounts/list/_when_invalid_tokens_/does_not_report_invalid_token_errors.yml +7 -7
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/does_not_report_invalid_token_errors.yml +6 -6
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/reports_they_were_updated.yml +5 -5
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/does_not_report_invalid_token_errors.yml +5 -5
- data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/reports_unable_to_authenticate.yml +4 -4
- data/spec/cassettes/brightbox_accounts/list/does_not_error.yml +2 -2
- data/spec/cassettes/brightbox_cloudips/map/when_destination_is_a_server_ID/passes_the_interface_identifier_to_the_API.yml +6 -6
- data/spec/cassettes/brightbox_cloudips/map/when_destination_is_another_value/passes_the_identifier_to_the_API.yml +3 -3
- data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/sets_up_the_config.yml +4 -4
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_change_the_default_client.yml +4 -4
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_error.yml +4 -4
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +4 -4
- data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +4 -4
- data/spec/cassettes/brightbox_config/user_add/when_NO_config_file_on_disk/sets_up_the_config.yml +3 -3
- data/spec/cassettes/brightbox_config/user_add/when_a_default_client_is_already_set/does_not_change_the_default_client.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/does_not_error.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/sets_up_the_config.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/display_an_warning_about_preselected_default.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/does_not_error.yml +1 -1
- 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
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/sets_up_the_config.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/display_an_warning_about_preselected_default.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/does_not_error.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/sets_up_the_config.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_error.yml +1 -1
- 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
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/requests_access_tokens.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +3 -3
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_error.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_prompt_to_rerun_the_command.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/requests_access_tokens.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/sets_up_the_config.yml +2 -2
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/does_not_error.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/requests_access_tokens.yml +1 -1
- data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/sets_up_the_config.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/create/--allow-access_10_0_0_0/correctly_sends_API_parameters.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/create/--allow-access_srv-12345_grp-12345/correctly_sends_API_parameters.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/create/--engine_mysql/correctly_sends_API_parameters.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/create/--engine_mysql_--engine-version_5_6/correctly_sends_API_parameters.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_password.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_username.yml +1 -1
- data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_active/correctly_sends_API_parameters.yml +2 -2
- data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_can_not_be_snapshotted/reports_an_error_to_the_user.yml +1 -1
- data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/does_not_output_to_stderr.yml +1 -1
- data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/outputs_table_details_to_stdout.yml +1 -1
- data/spec/cassettes/brightbox_database-snapshots/show/when_resource_exists/does_not_output_to_stderr.yml +1 -1
- data/spec/commands/accounts/list_spec.rb +6 -6
- data/spec/commands/cloudips/map_spec.rb +2 -2
- data/spec/commands/config/client_add_spec.rb +3 -3
- data/spec/commands/config/user_add_spec.rb +8 -8
- data/spec/commands/firewall_policies/update_spec.rb +5 -5
- data/spec/commands/sql/instances/create_spec.rb +5 -5
- data/spec/commands/sql/instances/snapshot_spec.rb +2 -2
- data/spec/commands/sql/snapshots/list_spec.rb +1 -1
- data/spec/commands/sql/snapshots/show_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -4
- data/spec/support/vcr.rb +0 -4
- data/spec/unit/brightbox/account/all_spec.rb +2 -2
- data/spec/unit/brightbox/account/get_spec.rb +5 -5
- data/spec/unit/brightbox/api/conn_spec.rb +1 -1
- data/spec/unit/brightbox/bb_config/add_section_spec.rb +1 -1
- data/spec/unit/brightbox/bb_config/find_or_set_default_account_spec.rb +3 -3
- data/spec/unit/brightbox/bb_config/renew_tokens_spec.rb +5 -5
- data/spec/unit/brightbox/cloud_ip/find_spec.rb +1 -1
- data/spec/unit/brightbox/config/api_client/to_fog_spec.rb +3 -3
- data/spec/unit/brightbox/config/user_application/to_fog_spec.rb +4 -4
- data/spec/unit/brightbox/firewall_policy/apply_to_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_policy/create_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_policy/destroy_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_policy/find_or_call_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_policy/find_spec.rb +2 -2
- data/spec/unit/brightbox/firewall_rule/create_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/destroy_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/find_spec.rb +1 -1
- data/spec/unit/brightbox/firewall_rule/from_policy_spec.rb +1 -1
- data/spec/unit/brightbox/server/destroy_spec.rb +1 -1
- data/spec/unit/brightbox/server/find_or_call_spec.rb +1 -1
- data/spec/unit/brightbox/server/find_spec.rb +1 -1
- data/spec/unit/brightbox/server/shutdown_spec.rb +1 -1
- data/spec/unit/brightbox/server/start_spec.rb +1 -1
- data/spec/unit/brightbox/server/stop_spec.rb +1 -1
- data/spec/unit/brightbox/server/update_spec.rb +1 -1
- data/spec/unit/brightbox/server_group/find_spec.rb +1 -1
- data/spec/unit/brightbox/user_collaboration/get_for_account_spec.rb +4 -4
- metadata +19 -5
@@ -181,7 +181,7 @@ http_interactions:
|
|
181
181
|
uri: http://api.brightbox.dev/token
|
182
182
|
body:
|
183
183
|
encoding: UTF-8
|
184
|
-
string: "{\"grant_type\":\"
|
184
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
185
185
|
headers:
|
186
186
|
User-Agent:
|
187
187
|
- fog/1.19.0
|
@@ -227,7 +227,7 @@ http_interactions:
|
|
227
227
|
uri: http://api.brightbox.dev/token
|
228
228
|
body:
|
229
229
|
encoding: UTF-8
|
230
|
-
string: "{\"grant_type\":\"
|
230
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
231
231
|
headers:
|
232
232
|
User-Agent:
|
233
233
|
- fog/1.19.0
|
@@ -273,7 +273,7 @@ http_interactions:
|
|
273
273
|
uri: http://api.brightbox.dev/token
|
274
274
|
body:
|
275
275
|
encoding: UTF-8
|
276
|
-
string: "{\"grant_type\":\"
|
276
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
277
277
|
headers:
|
278
278
|
User-Agent:
|
279
279
|
- fog/1.19.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
method: post
|
6
6
|
uri: http://api.brightbox.dev/token
|
7
7
|
body:
|
8
|
-
string: "{\"grant_type\":\"
|
8
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -48,7 +48,7 @@ http_interactions:
|
|
48
48
|
method: post
|
49
49
|
uri: http://api.brightbox.dev/token
|
50
50
|
body:
|
51
|
-
string: "{\"grant_type\":\"
|
51
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
52
52
|
headers:
|
53
53
|
User-Agent:
|
54
54
|
- fog/1.15.0
|
@@ -202,7 +202,7 @@ http_interactions:
|
|
202
202
|
method: post
|
203
203
|
uri: http://api.brightbox.dev/token
|
204
204
|
body:
|
205
|
-
string: "{\"
|
205
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
206
206
|
headers:
|
207
207
|
User-Agent:
|
208
208
|
- fog/1.15.0
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
method: post
|
246
246
|
uri: http://api.brightbox.dev/token
|
247
247
|
body:
|
248
|
-
string: "{\"
|
248
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
249
249
|
headers:
|
250
250
|
User-Agent:
|
251
251
|
- fog/1.15.0
|
data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/sets_up_the_config.yml
CHANGED
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
method: post
|
6
6
|
uri: http://api.brightbox.dev/token
|
7
7
|
body:
|
8
|
-
string: "{\"grant_type\":\"
|
8
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -122,7 +122,7 @@ http_interactions:
|
|
122
122
|
method: post
|
123
123
|
uri: http://api.brightbox.dev/token
|
124
124
|
body:
|
125
|
-
string: "{\"grant_type\":\"
|
125
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
128
|
- fog/1.15.0
|
@@ -202,7 +202,7 @@ http_interactions:
|
|
202
202
|
method: post
|
203
203
|
uri: http://api.brightbox.dev/token
|
204
204
|
body:
|
205
|
-
string: "{\"
|
205
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
206
206
|
headers:
|
207
207
|
User-Agent:
|
208
208
|
- fog/1.15.0
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
method: post
|
246
246
|
uri: http://api.brightbox.dev/token
|
247
247
|
body:
|
248
|
-
string: "{\"
|
248
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
249
249
|
headers:
|
250
250
|
User-Agent:
|
251
251
|
- fog/1.15.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
method: post
|
6
6
|
uri: http://api.brightbox.dev/token
|
7
7
|
body:
|
8
|
-
string: "{\"grant_type\":\"
|
8
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -122,7 +122,7 @@ http_interactions:
|
|
122
122
|
method: post
|
123
123
|
uri: http://api.brightbox.dev/token
|
124
124
|
body:
|
125
|
-
string: "{\"grant_type\":\"
|
125
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
128
|
- fog/1.15.0
|
@@ -202,7 +202,7 @@ http_interactions:
|
|
202
202
|
method: post
|
203
203
|
uri: http://api.brightbox.dev/token
|
204
204
|
body:
|
205
|
-
string: "{\"
|
205
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
206
206
|
headers:
|
207
207
|
User-Agent:
|
208
208
|
- fog/1.15.0
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
method: post
|
246
246
|
uri: http://api.brightbox.dev/token
|
247
247
|
body:
|
248
|
-
string: "{\"
|
248
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
249
249
|
headers:
|
250
250
|
User-Agent:
|
251
251
|
- fog/1.15.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
method: post
|
6
6
|
uri: http://api.brightbox.dev/token
|
7
7
|
body:
|
8
|
-
string: "{\"grant_type\":\"
|
8
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -122,7 +122,7 @@ http_interactions:
|
|
122
122
|
method: post
|
123
123
|
uri: http://api.brightbox.dev/token
|
124
124
|
body:
|
125
|
-
string: "{\"grant_type\":\"
|
125
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
128
|
- fog/1.15.0
|
@@ -202,7 +202,7 @@ http_interactions:
|
|
202
202
|
method: post
|
203
203
|
uri: http://api.brightbox.dev/token
|
204
204
|
body:
|
205
|
-
string: "{\"
|
205
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
206
206
|
headers:
|
207
207
|
User-Agent:
|
208
208
|
- fog/1.15.0
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
method: post
|
246
246
|
uri: http://api.brightbox.dev/token
|
247
247
|
body:
|
248
|
-
string: "{\"
|
248
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
249
249
|
headers:
|
250
250
|
User-Agent:
|
251
251
|
- fog/1.15.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
method: post
|
6
6
|
uri: http://api.brightbox.dev/token
|
7
7
|
body:
|
8
|
-
string: "{\"grant_type\":\"
|
8
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -122,7 +122,7 @@ http_interactions:
|
|
122
122
|
method: post
|
123
123
|
uri: http://api.brightbox.dev/token
|
124
124
|
body:
|
125
|
-
string: "{\"grant_type\":\"
|
125
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
128
|
- fog/1.15.0
|
@@ -202,7 +202,7 @@ http_interactions:
|
|
202
202
|
method: post
|
203
203
|
uri: http://api.brightbox.dev/token
|
204
204
|
body:
|
205
|
-
string: "{\"
|
205
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
206
206
|
headers:
|
207
207
|
User-Agent:
|
208
208
|
- fog/1.15.0
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
method: post
|
246
246
|
uri: http://api.brightbox.dev/token
|
247
247
|
body:
|
248
|
-
string: "{\"
|
248
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
249
249
|
headers:
|
250
250
|
User-Agent:
|
251
251
|
- fog/1.15.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
method: post
|
6
6
|
uri: http://api.brightbox.dev/token
|
7
7
|
body:
|
8
|
-
string: "{\"grant_type\":\"
|
8
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -122,7 +122,7 @@ http_interactions:
|
|
122
122
|
method: post
|
123
123
|
uri: http://api.brightbox.dev/token
|
124
124
|
body:
|
125
|
-
string: "{\"grant_type\":\"
|
125
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
126
126
|
headers:
|
127
127
|
User-Agent:
|
128
128
|
- fog/1.15.0
|
@@ -202,7 +202,7 @@ http_interactions:
|
|
202
202
|
method: post
|
203
203
|
uri: http://api.brightbox.dev/token
|
204
204
|
body:
|
205
|
-
string: "{\"
|
205
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
206
206
|
headers:
|
207
207
|
User-Agent:
|
208
208
|
- fog/1.15.0
|
@@ -245,7 +245,7 @@ http_interactions:
|
|
245
245
|
method: post
|
246
246
|
uri: http://api.brightbox.dev/token
|
247
247
|
body:
|
248
|
-
string: "{\"
|
248
|
+
string: "{\"grant_type\":\"client_credentials\"}"
|
249
249
|
headers:
|
250
250
|
User-Agent:
|
251
251
|
- fog/1.15.0
|
data/spec/cassettes/brightbox_config/user_add/when_NO_config_file_on_disk/sets_up_the_config.yml
CHANGED
@@ -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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -90,7 +90,7 @@ http_interactions:
|
|
90
90
|
uri: http://api.brightbox.dev/token
|
91
91
|
body:
|
92
92
|
encoding: UTF-8
|
93
|
-
string: '{"grant_type":"
|
93
|
+
string: '{"grant_type":"client_credentials"}'
|
94
94
|
headers:
|
95
95
|
User-Agent:
|
96
96
|
- 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","
|
180
|
+
string: '{"grant_type":"refresh_token","refresh_token":"946c0b873298d391f53f5b7d2751e6a735f6535c"}'
|
181
181
|
headers:
|
182
182
|
User-Agent:
|
183
183
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/does_not_error.yml
CHANGED
@@ -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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|
@@ -90,7 +90,7 @@ http_interactions:
|
|
90
90
|
uri: http://api.brightbox.dev/token
|
91
91
|
body:
|
92
92
|
encoding: UTF-8
|
93
|
-
string: '{"grant_type":"
|
93
|
+
string: '{"grant_type":"client_credentials"}'
|
94
94
|
headers:
|
95
95
|
User-Agent:
|
96
96
|
- 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","
|
180
|
+
string: '{"grant_type":"refresh_token","refresh_token":"ce9ca2cedece63cfc8ad646b13c187a5133b2d1e"}'
|
181
181
|
headers:
|
182
182
|
User-Agent:
|
183
183
|
- fog/1.15.0
|
data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_error.yml
CHANGED
@@ -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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- 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":"password","
|
8
|
+
string: '{"grant_type":"password","username":"jason.null@brightbox.com","password":"N:B3e%7Cmh"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- fog/1.15.0
|