brightbox-cli 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +18 -0
  4. data/Gemfile.lock +18 -19
  5. data/bin/_brightbox-bash-completer +42 -0
  6. data/brightbox-cli.gemspec +5 -5
  7. data/lib/brightbox-cli/accounts.rb +1 -3
  8. data/lib/brightbox-cli/api.rb +27 -8
  9. data/lib/brightbox-cli/cloud_ips.rb +11 -15
  10. data/lib/brightbox-cli/collaborating_account.rb +23 -26
  11. data/lib/brightbox-cli/collaboration.rb +1 -1
  12. data/lib/brightbox-cli/commands/{accounts-accept-invite.rb → accounts/accept-invite.rb} +2 -3
  13. data/lib/brightbox-cli/commands/{accounts-default.rb → accounts/default.rb} +1 -3
  14. data/lib/brightbox-cli/commands/{accounts-list.rb → accounts/list.rb} +1 -1
  15. data/lib/brightbox-cli/commands/{accounts-remove.rb → accounts/remove.rb} +1 -2
  16. data/lib/brightbox-cli/commands/{accounts-reset-ftp-password.rb → accounts/reset-ftp-password.rb} +10 -5
  17. data/lib/brightbox-cli/commands/{accounts-show.rb → accounts/show.rb} +14 -6
  18. data/lib/brightbox-cli/commands/{cloudips-create.rb → cloudips/create.rb} +4 -4
  19. data/lib/brightbox-cli/commands/{cloudips-destroy.rb → cloudips/destroy.rb} +1 -1
  20. data/lib/brightbox-cli/commands/{cloudips-list.rb → cloudips/list.rb} +2 -10
  21. data/lib/brightbox-cli/commands/{cloudips-map.rb → cloudips/map.rb} +2 -8
  22. data/lib/brightbox-cli/commands/{cloudips-show.rb → cloudips/show.rb} +13 -3
  23. data/lib/brightbox-cli/commands/{cloudips-unmap.rb → cloudips/unmap.rb} +1 -1
  24. data/lib/brightbox-cli/commands/{cloudips-update.rb → cloudips/update.rb} +5 -6
  25. data/lib/brightbox-cli/commands/collaborations.rb +3 -9
  26. data/lib/brightbox-cli/commands/{config-client-add.rb → config/client-add.rb} +2 -2
  27. data/lib/brightbox-cli/commands/{config-client-default.rb → config/client-default.rb} +1 -1
  28. data/lib/brightbox-cli/commands/{config-client-list.rb → config/client-list.rb} +3 -3
  29. data/lib/brightbox-cli/commands/{config-client-remove.rb → config/client-remove.rb} +4 -1
  30. data/lib/brightbox-cli/commands/{config-user-add.rb → config/user-add.rb} +1 -1
  31. data/lib/brightbox-cli/commands/{firewall-policies-apply.rb → firewall/policies-apply.rb} +3 -4
  32. data/lib/brightbox-cli/commands/{firewall-policies-create.rb → firewall/policies-create.rb} +3 -4
  33. data/lib/brightbox-cli/commands/{firewall-policies-destroy.rb → firewall/policies-destroy.rb} +2 -3
  34. data/lib/brightbox-cli/commands/{firewall-policies-list.rb → firewall/policies-list.rb} +2 -9
  35. data/lib/brightbox-cli/commands/{firewall-policies-remove.rb → firewall/policies-remove.rb} +2 -3
  36. data/lib/brightbox-cli/commands/{firewall-policies-show.rb → firewall/policies-show.rb} +11 -3
  37. data/lib/brightbox-cli/commands/{firewall-policies-update.rb → firewall/policies-update.rb} +3 -3
  38. data/lib/brightbox-cli/commands/{firewall-rules-create.rb → firewall/rules-create.rb} +4 -4
  39. data/lib/brightbox-cli/commands/{firewall-rules-destroy.rb → firewall/rules-destroy.rb} +2 -4
  40. data/lib/brightbox-cli/commands/{firewall-rules-list.rb → firewall/rules-list.rb} +2 -2
  41. data/lib/brightbox-cli/commands/{firewall-rules-show.rb → firewall/rules-show.rb} +10 -4
  42. data/lib/brightbox-cli/commands/{firewall-rules-update.rb → firewall/rules-update.rb} +3 -3
  43. data/lib/brightbox-cli/commands/{groups-add-server.rb → groups/add-server.rb} +2 -2
  44. data/lib/brightbox-cli/commands/{groups-create.rb → groups/create.rb} +3 -3
  45. data/lib/brightbox-cli/commands/{groups-destroy.rb → groups/destroy.rb} +2 -2
  46. data/lib/brightbox-cli/commands/groups/list.rb +14 -0
  47. data/lib/brightbox-cli/commands/{groups-move_servers.rb → groups/move_servers.rb} +1 -2
  48. data/lib/brightbox-cli/commands/{groups-remove-servers.rb → groups/remove-servers.rb} +1 -1
  49. data/lib/brightbox-cli/commands/{groups-show.rb → groups/show.rb} +1 -1
  50. data/lib/brightbox-cli/commands/{groups-update.rb → groups/update.rb} +5 -10
  51. data/lib/brightbox-cli/commands/{images-destroy.rb → images/destroy.rb} +2 -2
  52. data/lib/brightbox-cli/commands/{images-list.rb → images/list.rb} +2 -10
  53. data/lib/brightbox-cli/commands/{images-register.rb → images/register.rb} +6 -6
  54. data/lib/brightbox-cli/commands/{images-show.rb → images/show.rb} +2 -11
  55. data/lib/brightbox-cli/commands/{images-update.rb → images/update.rb} +8 -8
  56. data/lib/brightbox-cli/commands/{lbs-add-nodes.rb → lbs/add-nodes.rb} +2 -2
  57. data/lib/brightbox-cli/commands/{lbs-create.rb → lbs/create.rb} +16 -10
  58. data/lib/brightbox-cli/commands/{lbs-destroy.rb → lbs/destroy.rb} +1 -1
  59. data/lib/brightbox-cli/commands/{lbs-list.rb → lbs/list.rb} +2 -10
  60. data/lib/brightbox-cli/commands/{lbs-remove-nodes.rb → lbs/remove-nodes.rb} +2 -2
  61. data/lib/brightbox-cli/commands/{lbs-show.rb → lbs/show.rb} +4 -7
  62. data/lib/brightbox-cli/commands/{lbs-update.rb → lbs/update.rb} +16 -10
  63. data/lib/brightbox-cli/commands/{servers-activate-console.rb → servers/activate-console.rb} +3 -3
  64. data/lib/brightbox-cli/commands/{servers-create.rb → servers/create.rb} +4 -4
  65. data/lib/brightbox-cli/commands/{servers-destroy.rb → servers/destroy.rb} +2 -2
  66. data/lib/brightbox-cli/commands/{servers-list.rb → servers/list.rb} +7 -8
  67. data/lib/brightbox-cli/commands/{servers-show.rb → servers/show.rb} +1 -6
  68. data/lib/brightbox-cli/commands/{servers-shutdown.rb → servers/shutdown.rb} +1 -1
  69. data/lib/brightbox-cli/commands/{servers-snapshot.rb → servers/snapshot.rb} +1 -1
  70. data/lib/brightbox-cli/commands/{servers-start.rb → servers/start.rb} +1 -1
  71. data/lib/brightbox-cli/commands/{servers-stop.rb → servers/stop.rb} +1 -1
  72. data/lib/brightbox-cli/commands/{servers-update.rb → servers/update.rb} +2 -2
  73. data/lib/brightbox-cli/commands/sql/instances_create.rb +66 -0
  74. data/lib/brightbox-cli/commands/sql/instances_destroy.rb +28 -0
  75. data/lib/brightbox-cli/commands/sql/instances_list.rb +27 -0
  76. data/lib/brightbox-cli/commands/sql/instances_reset_password.rb +33 -0
  77. data/lib/brightbox-cli/commands/sql/instances_show.rb +26 -0
  78. data/lib/brightbox-cli/commands/sql/instances_snapshot.rb +25 -0
  79. data/lib/brightbox-cli/commands/sql/instances_update.rb +45 -0
  80. data/lib/brightbox-cli/commands/sql/snapshots_destroy.rb +31 -0
  81. data/lib/brightbox-cli/commands/sql/snapshots_list.rb +25 -0
  82. data/lib/brightbox-cli/commands/sql/snapshots_show.rb +26 -0
  83. data/lib/brightbox-cli/commands/sql/snapshots_update.rb +37 -0
  84. data/lib/brightbox-cli/commands/sql/types.rb +53 -0
  85. data/lib/brightbox-cli/commands/types.rb +1 -1
  86. data/lib/brightbox-cli/commands/users/list.rb +17 -0
  87. data/lib/brightbox-cli/commands/{users-show.rb → users/show.rb} +5 -13
  88. data/lib/brightbox-cli/commands/{users-update.rb → users/update.rb} +3 -3
  89. data/lib/brightbox-cli/config.rb +4 -7
  90. data/lib/brightbox-cli/config/accounts.rb +3 -6
  91. data/lib/brightbox-cli/config/api_client.rb +12 -4
  92. data/lib/brightbox-cli/config/authentication_tokens.rb +8 -14
  93. data/lib/brightbox-cli/config/clients.rb +6 -7
  94. data/lib/brightbox-cli/config/section_name_deduplicator.rb +4 -5
  95. data/lib/brightbox-cli/config/sections.rb +7 -10
  96. data/lib/brightbox-cli/config/user_application.rb +15 -7
  97. data/lib/brightbox-cli/connection_manager.rb +1 -2
  98. data/lib/brightbox-cli/database_server.rb +100 -0
  99. data/lib/brightbox-cli/database_snapshot.rb +36 -0
  100. data/lib/brightbox-cli/database_type.rb +44 -0
  101. data/lib/brightbox-cli/detailed_server.rb +8 -7
  102. data/lib/brightbox-cli/error_parser.rb +8 -4
  103. data/lib/brightbox-cli/firewall_rule.rb +5 -5
  104. data/lib/brightbox-cli/firewall_rules.rb +2 -3
  105. data/lib/brightbox-cli/gli_global_hooks.rb +7 -7
  106. data/lib/brightbox-cli/images.rb +13 -14
  107. data/lib/brightbox-cli/legacy/args_adjuster.rb +5 -6
  108. data/lib/brightbox-cli/load_balancers.rb +10 -13
  109. data/lib/brightbox-cli/logging.rb +3 -3
  110. data/lib/brightbox-cli/nilable_hash.rb +1 -1
  111. data/lib/brightbox-cli/ruby_core_ext.rb +1 -2
  112. data/lib/brightbox-cli/server_groups.rb +5 -5
  113. data/lib/brightbox-cli/servers.rb +9 -9
  114. data/lib/brightbox-cli/tables.rb +24 -25
  115. data/lib/brightbox-cli/types.rb +6 -5
  116. data/lib/brightbox-cli/user_collaboration.rb +2 -3
  117. data/lib/brightbox-cli/users.rb +3 -3
  118. data/lib/brightbox-cli/version.rb +1 -1
  119. data/lib/brightbox_cli.rb +10 -2
  120. data/locales/en.yml +205 -0
  121. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_a_collection_of_Accounts.yml +10 -10
  122. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_application/returns_resources_on_the_same_connection.yml +4 -4
  123. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_a_collection_of_Accounts.yml +8 -8
  124. data/spec/cassettes/Brightbox_Account/_all/when_connected_using_an_client/returns_resources_on_the_same_connection.yml +4 -4
  125. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_changes_to_the_config_file.yml +4 -4
  126. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_default_account.yml +4 -4
  127. data/spec/cassettes/Brightbox_BBConfig/_add_section/when_first_and_only_client/saves_the_new_client_as_the_default.yml +4 -4
  128. data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_is_not_authenticated/does_not_raise_an_error.yml +176 -176
  129. data/spec/cassettes/Brightbox_BBConfig/_find_or_set_default_account/when_client_may_access_one_account/updates_the_setting.yml +176 -176
  130. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_config_in_use_is_not_the_default/uses_correct_credentials.yml +2 -2
  131. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_a_cached_refresh_token/caches_the_new_tokens.yml +2 -2
  132. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_an_expired_refresh_token/caches_the_new_tokens.yml +4 -4
  133. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/caches_the_new_tokens.yml +2 -2
  134. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_a_user_app_with_no_tokens/prompts_user_to_retry_command.yml +2 -2
  135. data/spec/cassettes/Brightbox_BBConfig/_renew_tokens/when_using_an_API_client_with_no_tokens/caches_a_new_access_token.yml +2 -2
  136. data/spec/cassettes/Brightbox_CloudIP/_find_all_/when_a_Cloud_IP_exists/returns_a_suitable.yml +28 -28
  137. data/spec/cassettes/Brightbox_FirewallPolicy/_apply_to/should_apply_firewall_policy.yml +24 -24
  138. data/spec/cassettes/Brightbox_FirewallPolicy/_create/should_create_firewall_policy.yml +24 -24
  139. data/spec/cassettes/Brightbox_FirewallPolicy/_destroy/should_destroy_firewall_policy.yml +28 -28
  140. data/spec/cassettes/Brightbox_FirewallPolicy/_find_all_/when_a_policy_exists/should_list_firewall_policy.yml +24 -24
  141. data/spec/cassettes/Brightbox_FirewallPolicy/_find_or_call/when_a_policy_exists/should_show_firewall_policy.yml +20 -20
  142. data/spec/cassettes/Brightbox_FirewallRule/_create/when_policy_exists/creates_the_rule_successfully.yml +24 -24
  143. data/spec/cassettes/Brightbox_FirewallRule/_destroy/when_rule_exists/destroys_a_rule.yml +20 -20
  144. data/spec/cassettes/Brightbox_FirewallRule/_find/when_rule_exists/can_display_the_result.yml +24 -24
  145. data/spec/cassettes/Brightbox_FirewallRule/_from_policy/when_policy_exists_with_a_rule/lists_all_rules.yml +32 -32
  146. data/spec/cassettes/Brightbox_Server/_destroy/when_server_exists/should_work.yml +20 -20
  147. data/spec/cassettes/Brightbox_Server/_find_all_/when_a_server_exists/should_print_server_list.yml +28 -28
  148. data/spec/cassettes/Brightbox_Server/_show/when_server_exists/shows_detailed_attributes_of_a_server.yml +32 -32
  149. data/spec/cassettes/Brightbox_Server/_shutdown/should_work.yml +32 -32
  150. data/spec/cassettes/Brightbox_Server/_start/should_work.yml +44 -44
  151. data/spec/cassettes/Brightbox_Server/_stop/should_work.yml +32 -32
  152. data/spec/cassettes/Brightbox_Server/_update/when_passing_new_group_membership/should_update_with_group.yml +40 -40
  153. data/spec/cassettes/Brightbox_ServerGroup/_find_all_/when_a_group_exists/list_server_groups.yml +24 -24
  154. data/spec/cassettes/Firewall_policies/update/when_the_policy_does_not_exist/prints_error_to_STDERR.yml +6 -6
  155. data/spec/cassettes/brightbox_accounts/list/_when_access_token_expired_/does_not_report_invalid_token_errors.yml +18 -18
  156. data/spec/cassettes/brightbox_accounts/list/_when_both_tokens_expired_/does_not_report_invalid_token_errors.yml +18 -18
  157. data/spec/cassettes/brightbox_accounts/list/_when_invalid_tokens_/does_not_report_invalid_token_errors.yml +18 -18
  158. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/does_not_report_invalid_token_errors.yml +16 -16
  159. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_/reports_they_were_updated.yml +14 -14
  160. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/does_not_report_invalid_token_errors.yml +14 -14
  161. data/spec/cassettes/brightbox_accounts/list/_when_no_tokens_and_password_incorrect_/reports_unable_to_authenticate.yml +12 -12
  162. data/spec/cassettes/brightbox_accounts/list/does_not_error.yml +6 -6
  163. data/spec/cassettes/brightbox_cloudips/map/when_destination_is_a_server_ID/passes_the_interface_identifier_to_the_API.yml +542 -0
  164. data/spec/cassettes/brightbox_cloudips/map/when_destination_is_another_value/passes_the_identifier_to_the_API.yml +317 -0
  165. data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/does_not_error.yml +154 -154
  166. data/spec/cassettes/brightbox_config/client_add/when_adding_a_new_client/sets_up_the_config.yml +154 -154
  167. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_change_the_default_client.yml +154 -154
  168. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/does_not_error.yml +154 -154
  169. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +154 -154
  170. data/spec/cassettes/brightbox_config/client_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +154 -154
  171. data/spec/cassettes/brightbox_config/user_add/when_NO_config_file_on_disk/sets_up_the_config.yml +10 -10
  172. data/spec/cassettes/brightbox_config/user_add/when_a_default_client_is_already_set/does_not_change_the_default_client.yml +4 -4
  173. data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/does_not_error.yml +4 -4
  174. data/spec/cassettes/brightbox_config/user_add/when_application_details_in_config/sets_up_the_config.yml +4 -4
  175. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/display_an_warning_about_preselected_default.yml +4 -4
  176. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/does_not_error.yml +4 -4
  177. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/selects_the_active_account_for_the_default.yml +4 -4
  178. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_only_one_active_account/sets_up_the_config.yml +4 -4
  179. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/display_an_warning_about_preselected_default.yml +4 -4
  180. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/does_not_error.yml +4 -4
  181. data/spec/cassettes/brightbox_config/user_add/when_application_has_access_to_multiple_accounts/sets_up_the_config.yml +4 -4
  182. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_error.yml +4 -4
  183. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/does_not_prompt_to_rerun_the_command.yml +4 -4
  184. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/requests_access_tokens.yml +4 -4
  185. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_this_as_the_default_client.yml +4 -4
  186. data/spec/cassettes/brightbox_config/user_add/when_new_client_is_first_and_only_client/sets_up_the_config.yml +10 -10
  187. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_error.yml +4 -4
  188. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/does_not_prompt_to_rerun_the_command.yml +4 -4
  189. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/requests_access_tokens.yml +4 -4
  190. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments/sets_up_the_config.yml +6 -6
  191. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/does_not_error.yml +4 -4
  192. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/requests_access_tokens.yml +4 -4
  193. data/spec/cassettes/brightbox_config/user_add/when_passing_in_required_arguments_and_api_url/sets_up_the_config.yml +4 -4
  194. data/spec/cassettes/brightbox_database-servers/create/--allow-access_10_0_0_0/correctly_sends_API_parameters.yml +93 -0
  195. data/spec/cassettes/brightbox_database-servers/create/--allow-access_srv-12345_grp-12345/correctly_sends_API_parameters.yml +93 -0
  196. data/spec/cassettes/brightbox_database-servers/create/--engine_mysql/correctly_sends_API_parameters.yml +93 -0
  197. data/spec/cassettes/brightbox_database-servers/create/--engine_mysql_--engine-version_5_6/correctly_sends_API_parameters.yml +93 -0
  198. data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_password.yml +93 -0
  199. data/spec/cassettes/brightbox_database-servers/create/without_arguments/reports_the_new_admin_username.yml +93 -0
  200. data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_active/correctly_sends_API_parameters.yml +181 -0
  201. data/spec/cassettes/brightbox_database-servers/snapshot/when_database_server_can_not_be_snapshotted/reports_an_error_to_the_user.yml +91 -0
  202. data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/does_not_output_to_stderr.yml +93 -0
  203. data/spec/cassettes/brightbox_database-snapshots/list/when_resources_are_available/outputs_table_details_to_stdout.yml +93 -0
  204. data/spec/cassettes/brightbox_database-snapshots/show/when_resource_exists/does_not_output_to_stderr.yml +93 -0
  205. data/spec/commands/accounts/list_spec.rb +1 -1
  206. data/spec/commands/cloudips/map_spec.rb +23 -4
  207. data/spec/commands/config/user_add_spec.rb +1 -1
  208. data/spec/commands/sql/instances/create_spec.rb +69 -0
  209. data/spec/commands/sql/instances/snapshot_spec.rb +36 -0
  210. data/spec/commands/sql/snapshots/list_spec.rb +29 -0
  211. data/spec/commands/sql/snapshots/show_spec.rb +29 -0
  212. data/spec/commands/sql/types/list_spec.rb +18 -0
  213. data/spec/spec_helper.rb +1 -3
  214. data/spec/support/vcr.rb +1 -1
  215. data/spec/unit/brightbox/api/conn_spec.rb +1 -1
  216. data/spec/unit/brightbox/bb_config/add_section_spec.rb +1 -1
  217. data/spec/unit/brightbox/bb_config/renew_tokens_spec.rb +1 -1
  218. data/spec/unit/brightbox/database_server_spec.rb +9 -0
  219. data/spec/unit/brightbox/database_snapshot_spec.rb +9 -0
  220. data/spec/unit/brightbox/database_type_spec.rb +9 -0
  221. data/spec/unit/brightbox/firewall_policy/create_spec.rb +1 -1
  222. data/spec/unit/brightbox/firewall_policy/destroy_spec.rb +1 -1
  223. data/spec/unit/brightbox/firewall_rule/create_spec.rb +1 -1
  224. data/spec/unit/brightbox/firewall_rule/destroy_spec.rb +1 -1
  225. data/spec/unit/brightbox/firewall_rule/find_spec.rb +1 -1
  226. data/spec/unit/brightbox/firewall_rule/from_policy_spec.rb +1 -1
  227. data/spec/unit/brightbox/server/destroy_spec.rb +1 -1
  228. data/spec/unit/brightbox/server/find_or_call_spec.rb +1 -1
  229. data/spec/unit/brightbox/server/shutdown_spec.rb +1 -1
  230. data/spec/unit/brightbox/server/start_spec.rb +1 -1
  231. data/spec/unit/brightbox/server/stop_spec.rb +1 -1
  232. data/spec/unit/brightbox/server/update_spec.rb +1 -1
  233. data/spec/unit/brightbox/server_group/find_spec.rb +1 -1
  234. data/spec/unit/brightbox/user_collaboration/get_for_account_spec.rb +3 -3
  235. metadata +160 -115
  236. data/lib/brightbox-cli/commands/groups-list.rb +0 -21
  237. data/lib/brightbox-cli/commands/users-list.rb +0 -25
@@ -16,7 +16,7 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 200
19
- message:
19
+ message:
20
20
  headers:
21
21
  Content-Type:
22
22
  - application/json; charset=utf-8
@@ -44,7 +44,7 @@ http_interactions:
44
44
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
45
45
  to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T16:12:42Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:12:43Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T16:12:48Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T16:12:49Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
46
46
  Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}'
47
- http_version:
47
+ http_version:
48
48
  recorded_at: Tue, 27 Aug 2013 16:13:03 GMT
49
49
  - request:
50
50
  method: get
@@ -62,7 +62,7 @@ http_interactions:
62
62
  response:
63
63
  status:
64
64
  code: 200
65
- message:
65
+ message:
66
66
  headers:
67
67
  Content-Type:
68
68
  - application/json; charset=utf-8
@@ -83,7 +83,7 @@ http_interactions:
83
83
  body:
84
84
  encoding: UTF-8
85
85
  string: '[{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"il1fol","status":"available","cores":2,"ram":3072,"disk_size":6144,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"pqut6ge","status":"available","cores":2,"ram":2048,"disk_size":3072,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"k4yv7e","status":"available","cores":2,"ram":1024,"disk_size":6144,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"rxmq4xqwri","status":"available","cores":2,"ram":1024,"disk_size":5120,"handle":null}]'
86
- http_version:
86
+ http_version:
87
87
  recorded_at: Tue, 27 Aug 2013 16:13:04 GMT
88
88
  - request:
89
89
  method: post
@@ -101,7 +101,7 @@ http_interactions:
101
101
  response:
102
102
  status:
103
103
  code: 202
104
- message:
104
+ message:
105
105
  headers:
106
106
  Location:
107
107
  - http://api.brightbox.dev/1.0/servers/srv-nfz5c
@@ -123,7 +123,7 @@ http_interactions:
123
123
  encoding: UTF-8
124
124
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"creating","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
125
125
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
126
- http_version:
126
+ http_version:
127
127
  recorded_at: Tue, 27 Aug 2013 16:13:55 GMT
128
128
  - request:
129
129
  method: get
@@ -141,7 +141,7 @@ http_interactions:
141
141
  response:
142
142
  status:
143
143
  code: 200
144
- message:
144
+ message:
145
145
  headers:
146
146
  Content-Type:
147
147
  - application/json; charset=utf-8
@@ -163,7 +163,7 @@ http_interactions:
163
163
  encoding: UTF-8
164
164
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"creating","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
165
165
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
166
- http_version:
166
+ http_version:
167
167
  recorded_at: Tue, 27 Aug 2013 16:13:56 GMT
168
168
  - request:
169
169
  method: get
@@ -181,7 +181,7 @@ http_interactions:
181
181
  response:
182
182
  status:
183
183
  code: 200
184
- message:
184
+ message:
185
185
  headers:
186
186
  Content-Type:
187
187
  - application/json; charset=utf-8
@@ -203,7 +203,7 @@ http_interactions:
203
203
  encoding: UTF-8
204
204
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
205
205
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
206
- http_version:
206
+ http_version:
207
207
  recorded_at: Tue, 27 Aug 2013 16:13:57 GMT
208
208
  - request:
209
209
  method: post
@@ -221,7 +221,7 @@ http_interactions:
221
221
  response:
222
222
  status:
223
223
  code: 202
224
- message:
224
+ message:
225
225
  headers:
226
226
  Content-Type:
227
227
  - application/json; charset=utf-8
@@ -241,7 +241,7 @@ http_interactions:
241
241
  encoding: UTF-8
242
242
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_shutdown","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:13:54Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"},"cloud_ips":[],"interfaces":[{"id":"int-4c7tg","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-4c7tg","mac_address":"02:24:19:00:03:8e","ipv4_address":"10.0.3.142","ipv6_address":"2a02:1348:18c:e3:24:19ff:fe00:38e"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
243
243
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
244
- http_version:
244
+ http_version:
245
245
  recorded_at: Tue, 27 Aug 2013 16:13:57 GMT
246
246
  - request:
247
247
  method: post
@@ -259,7 +259,7 @@ http_interactions:
259
259
  response:
260
260
  status:
261
261
  code: 400
262
- message:
262
+ message:
263
263
  headers:
264
264
  X-Frame-Options:
265
265
  - sameorigin
@@ -285,7 +285,7 @@ http_interactions:
285
285
  encoding: UTF-8
286
286
  string: '{"error":"unauthorized_client","error_description":"The authenticated
287
287
  client is not authorized to use the access grant type provided."}'
288
- http_version:
288
+ http_version:
289
289
  recorded_at: Tue, 27 Aug 2013 17:10:01 GMT
290
290
  - request:
291
291
  method: post
@@ -303,7 +303,7 @@ http_interactions:
303
303
  response:
304
304
  status:
305
305
  code: 400
306
- message:
306
+ message:
307
307
  headers:
308
308
  X-Frame-Options:
309
309
  - sameorigin
@@ -329,7 +329,7 @@ http_interactions:
329
329
  encoding: UTF-8
330
330
  string: '{"error":"unauthorized_client","error_description":"The authenticated
331
331
  client is not authorized to use the access grant type provided."}'
332
- http_version:
332
+ http_version:
333
333
  recorded_at: Tue, 27 Aug 2013 17:10:01 GMT
334
334
  - request:
335
335
  method: post
@@ -347,7 +347,7 @@ http_interactions:
347
347
  response:
348
348
  status:
349
349
  code: 400
350
- message:
350
+ message:
351
351
  headers:
352
352
  X-Frame-Options:
353
353
  - sameorigin
@@ -373,7 +373,7 @@ http_interactions:
373
373
  encoding: UTF-8
374
374
  string: '{"error":"unauthorized_client","error_description":"The authenticated
375
375
  client is not authorized to use the access grant type provided."}'
376
- http_version:
376
+ http_version:
377
377
  recorded_at: Tue, 27 Aug 2013 17:10:02 GMT
378
378
  - request:
379
379
  method: post
@@ -391,7 +391,7 @@ http_interactions:
391
391
  response:
392
392
  status:
393
393
  code: 400
394
- message:
394
+ message:
395
395
  headers:
396
396
  X-Frame-Options:
397
397
  - sameorigin
@@ -417,7 +417,7 @@ http_interactions:
417
417
  encoding: UTF-8
418
418
  string: '{"error":"unauthorized_client","error_description":"The authenticated
419
419
  client is not authorized to use the access grant type provided."}'
420
- http_version:
420
+ http_version:
421
421
  recorded_at: Tue, 27 Aug 2013 17:10:02 GMT
422
422
  - request:
423
423
  method: post
@@ -435,7 +435,7 @@ http_interactions:
435
435
  response:
436
436
  status:
437
437
  code: 400
438
- message:
438
+ message:
439
439
  headers:
440
440
  X-Frame-Options:
441
441
  - sameorigin
@@ -461,7 +461,7 @@ http_interactions:
461
461
  encoding: UTF-8
462
462
  string: '{"error":"unauthorized_client","error_description":"The authenticated
463
463
  client is not authorized to use the access grant type provided."}'
464
- http_version:
464
+ http_version:
465
465
  recorded_at: Tue, 27 Aug 2013 17:10:03 GMT
466
466
  - request:
467
467
  method: post
@@ -479,7 +479,7 @@ http_interactions:
479
479
  response:
480
480
  status:
481
481
  code: 400
482
- message:
482
+ message:
483
483
  headers:
484
484
  X-Frame-Options:
485
485
  - sameorigin
@@ -505,7 +505,7 @@ http_interactions:
505
505
  encoding: UTF-8
506
506
  string: '{"error":"unauthorized_client","error_description":"The authenticated
507
507
  client is not authorized to use the access grant type provided."}'
508
- http_version:
508
+ http_version:
509
509
  recorded_at: Tue, 27 Aug 2013 17:10:03 GMT
510
510
  - request:
511
511
  method: post
@@ -523,7 +523,7 @@ http_interactions:
523
523
  response:
524
524
  status:
525
525
  code: 200
526
- message:
526
+ message:
527
527
  headers:
528
528
  X-Frame-Options:
529
529
  - sameorigin
@@ -550,7 +550,7 @@ http_interactions:
550
550
  body:
551
551
  encoding: UTF-8
552
552
  string: '{"access_token":"0fd6171a9e6a6406d6b30e79befbf54128865e3f","expires_in":7200}'
553
- http_version:
553
+ http_version:
554
554
  recorded_at: Tue, 27 Aug 2013 17:20:46 GMT
555
555
  - request:
556
556
  method: get
@@ -568,7 +568,7 @@ http_interactions:
568
568
  response:
569
569
  status:
570
570
  code: 401
571
- message:
571
+ message:
572
572
  headers:
573
573
  WWW-Authenticate:
574
574
  - OAuth error="invalid_token"
@@ -590,7 +590,7 @@ http_interactions:
590
590
  encoding: UTF-8
591
591
  string: '{"error":"invalid_token","error_description":"The OAuth token can not
592
592
  be found"}'
593
- http_version:
593
+ http_version:
594
594
  recorded_at: Tue, 17 Sep 2013 17:07:47 GMT
595
595
  - request:
596
596
  method: post
@@ -608,7 +608,7 @@ http_interactions:
608
608
  response:
609
609
  status:
610
610
  code: 200
611
- message:
611
+ message:
612
612
  headers:
613
613
  X-Frame-Options:
614
614
  - sameorigin
@@ -635,7 +635,7 @@ http_interactions:
635
635
  body:
636
636
  encoding: UTF-8
637
637
  string: '{"access_token":"eab41efe0b2ff885ac356a8375423b1de2f0f850","expires_in":7200}'
638
- http_version:
638
+ http_version:
639
639
  recorded_at: Tue, 17 Sep 2013 17:07:47 GMT
640
640
  - request:
641
641
  method: get
@@ -653,7 +653,7 @@ http_interactions:
653
653
  response:
654
654
  status:
655
655
  code: 200
656
- message:
656
+ message:
657
657
  headers:
658
658
  Content-Type:
659
659
  - application/json; charset=utf-8
@@ -677,6 +677,6 @@ http_interactions:
677
677
  new servers are added to this group unless specified otherwise.","created_at":"2013-09-17T08:44:16Z","default":true}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-09-17T08:44:16Z","description":"Applied
678
678
  to the default server group."}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Kobe
679
679
  Swaniawski Sr.","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
680
- http_version:
680
+ http_version:
681
681
  recorded_at: Tue, 17 Sep 2013 17:08:02 GMT
682
682
  recorded_with: VCR 2.5.0
@@ -16,7 +16,7 @@ http_interactions:
16
16
  response:
17
17
  status:
18
18
  code: 200
19
- message:
19
+ message:
20
20
  headers:
21
21
  Content-Type:
22
22
  - application/json; charset=utf-8
@@ -44,7 +44,7 @@ http_interactions:
44
44
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T15:54:53Z","default":false},{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"test","description":null,"created_at":"2013-08-27T16:12:22Z","default":false}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-08-27T15:47:00Z","description":"Applied
45
45
  to the default server group."},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T15:54:12Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:54:13Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:20Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T15:54:21Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T15:56:46Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:06:22Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy_apply","created_at":"2013-08-27T16:12:42Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":"rspec_firewall_policy","created_at":"2013-08-27T16:12:43Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T16:12:48Z","description":null},{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":false,"name":null,"created_at":"2013-08-27T16:12:49Z","description":null}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Teresa
46
46
  Ullrich","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}'
47
- http_version:
47
+ http_version:
48
48
  recorded_at: Tue, 27 Aug 2013 16:13:58 GMT
49
49
  - request:
50
50
  method: get
@@ -62,7 +62,7 @@ http_interactions:
62
62
  response:
63
63
  status:
64
64
  code: 200
65
- message:
65
+ message:
66
66
  headers:
67
67
  Content-Type:
68
68
  - application/json; charset=utf-8
@@ -83,7 +83,7 @@ http_interactions:
83
83
  body:
84
84
  encoding: UTF-8
85
85
  string: '[{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"il1fol","status":"available","cores":2,"ram":3072,"disk_size":6144,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"pqut6ge","status":"available","cores":2,"ram":2048,"disk_size":3072,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"k4yv7e","status":"available","cores":2,"ram":1024,"disk_size":6144,"handle":null},{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"rxmq4xqwri","status":"available","cores":2,"ram":1024,"disk_size":5120,"handle":null}]'
86
- http_version:
86
+ http_version:
87
87
  recorded_at: Tue, 27 Aug 2013 16:13:58 GMT
88
88
  - request:
89
89
  method: post
@@ -101,7 +101,7 @@ http_interactions:
101
101
  response:
102
102
  status:
103
103
  code: 202
104
- message:
104
+ message:
105
105
  headers:
106
106
  Location:
107
107
  - http://api.brightbox.dev/1.0/servers/srv-dilm5
@@ -123,7 +123,7 @@ http_interactions:
123
123
  encoding: UTF-8
124
124
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"creating","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
125
125
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
126
- http_version:
126
+ http_version:
127
127
  recorded_at: Tue, 27 Aug 2013 16:14:02 GMT
128
128
  - request:
129
129
  method: get
@@ -141,7 +141,7 @@ http_interactions:
141
141
  response:
142
142
  status:
143
143
  code: 200
144
- message:
144
+ message:
145
145
  headers:
146
146
  Content-Type:
147
147
  - application/json; charset=utf-8
@@ -163,7 +163,7 @@ http_interactions:
163
163
  encoding: UTF-8
164
164
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"creating","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
165
165
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
166
- http_version:
166
+ http_version:
167
167
  recorded_at: Tue, 27 Aug 2013 16:14:02 GMT
168
168
  - request:
169
169
  method: get
@@ -181,7 +181,7 @@ http_interactions:
181
181
  response:
182
182
  status:
183
183
  code: 200
184
- message:
184
+ message:
185
185
  headers:
186
186
  Content-Type:
187
187
  - application/json; charset=utf-8
@@ -203,7 +203,7 @@ http_interactions:
203
203
  encoding: UTF-8
204
204
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
205
205
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
206
- http_version:
206
+ http_version:
207
207
  recorded_at: Tue, 27 Aug 2013 16:14:04 GMT
208
208
  - request:
209
209
  method: post
@@ -221,7 +221,7 @@ http_interactions:
221
221
  response:
222
222
  status:
223
223
  code: 202
224
- message:
224
+ message:
225
225
  headers:
226
226
  Content-Type:
227
227
  - application/json; charset=utf-8
@@ -241,7 +241,7 @@ http_interactions:
241
241
  encoding: UTF-8
242
242
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
243
243
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
244
- http_version:
244
+ http_version:
245
245
  recorded_at: Tue, 27 Aug 2013 16:14:04 GMT
246
246
  - request:
247
247
  method: get
@@ -259,7 +259,7 @@ http_interactions:
259
259
  response:
260
260
  status:
261
261
  code: 200
262
- message:
262
+ message:
263
263
  headers:
264
264
  Content-Type:
265
265
  - application/json; charset=utf-8
@@ -281,7 +281,7 @@ http_interactions:
281
281
  encoding: UTF-8
282
282
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"active","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":null,"deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
283
283
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
284
- http_version:
284
+ http_version:
285
285
  recorded_at: Tue, 27 Aug 2013 16:14:05 GMT
286
286
  - request:
287
287
  method: get
@@ -299,7 +299,7 @@ http_interactions:
299
299
  response:
300
300
  status:
301
301
  code: 200
302
- message:
302
+ message:
303
303
  headers:
304
304
  Content-Type:
305
305
  - application/json; charset=utf-8
@@ -321,7 +321,7 @@ http_interactions:
321
321
  encoding: UTF-8
322
322
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"inactive","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":"2013-08-27T16:14:04Z","deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
323
323
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
324
- http_version:
324
+ http_version:
325
325
  recorded_at: Tue, 27 Aug 2013 16:14:06 GMT
326
326
  - request:
327
327
  method: post
@@ -339,7 +339,7 @@ http_interactions:
339
339
  response:
340
340
  status:
341
341
  code: 202
342
- message:
342
+ message:
343
343
  headers:
344
344
  Content-Type:
345
345
  - application/json; charset=utf-8
@@ -359,7 +359,7 @@ http_interactions:
359
359
  encoding: UTF-8
360
360
  string: '{"id":"srv-12345","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-12345","name":"rspec_server_start","status":"inactive","hostname":"srv-12345","created_at":"2013-08-27T16:14:01Z","started_at":"2013-08-27T16:14:04Z","deleted_at":null,"user_data":null,"fqdn":"srv-12345.gb1.brightbox.com","compatibility_mode":false,"console_url":null,"console_token":null,"console_token_expires":null,"account":{"id":"acc-12345","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/accounts/acc-12345","name":"Avkruvviumpksysor","status":"active"},"image":{"id":"img-12345","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-12345","name":"dmcuhmirtoevr8bvye46opwd","username":null,"status":"available","description":"","source":"46i5i7onyfz8yf5o5nepaohs","arch":"x86_64","created_at":"2013-08-27T15:46:50Z","official":true,"public":true,"owner":"acc-12345"},"server_type":{"id":"typ-12345","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-12345","name":"xvifyx3u5s","status":"available","cores":2,"ram":3072,"disk_size":10240,"handle":"nano"},"zone":{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},"cloud_ips":[],"interfaces":[{"id":"int-5ccjd","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-5ccjd","mac_address":"02:24:19:13:84:b6","ipv4_address":"10.19.132.182","ipv6_address":"2a02:1348:15d:e12d:24:19ff:fe13:84b6"}],"snapshots":[],"server_groups":[{"id":"grp-12345","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-12345","name":"default","description":"All
361
361
  new servers are added to this group unless specified otherwise.","created_at":"2013-08-27T15:47:00Z","default":true}]}'
362
- http_version:
362
+ http_version:
363
363
  recorded_at: Tue, 27 Aug 2013 16:14:06 GMT
364
364
  - request:
365
365
  method: post
@@ -377,7 +377,7 @@ http_interactions:
377
377
  response:
378
378
  status:
379
379
  code: 400
380
- message:
380
+ message:
381
381
  headers:
382
382
  X-Frame-Options:
383
383
  - sameorigin
@@ -403,7 +403,7 @@ http_interactions:
403
403
  encoding: UTF-8
404
404
  string: '{"error":"unauthorized_client","error_description":"The authenticated
405
405
  client is not authorized to use the access grant type provided."}'
406
- http_version:
406
+ http_version:
407
407
  recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
408
408
  - request:
409
409
  method: post
@@ -421,7 +421,7 @@ http_interactions:
421
421
  response:
422
422
  status:
423
423
  code: 400
424
- message:
424
+ message:
425
425
  headers:
426
426
  X-Frame-Options:
427
427
  - sameorigin
@@ -447,7 +447,7 @@ http_interactions:
447
447
  encoding: UTF-8
448
448
  string: '{"error":"unauthorized_client","error_description":"The authenticated
449
449
  client is not authorized to use the access grant type provided."}'
450
- http_version:
450
+ http_version:
451
451
  recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
452
452
  - request:
453
453
  method: post
@@ -465,7 +465,7 @@ http_interactions:
465
465
  response:
466
466
  status:
467
467
  code: 400
468
- message:
468
+ message:
469
469
  headers:
470
470
  X-Frame-Options:
471
471
  - sameorigin
@@ -491,7 +491,7 @@ http_interactions:
491
491
  encoding: UTF-8
492
492
  string: '{"error":"unauthorized_client","error_description":"The authenticated
493
493
  client is not authorized to use the access grant type provided."}'
494
- http_version:
494
+ http_version:
495
495
  recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
496
496
  - request:
497
497
  method: post
@@ -509,7 +509,7 @@ http_interactions:
509
509
  response:
510
510
  status:
511
511
  code: 400
512
- message:
512
+ message:
513
513
  headers:
514
514
  X-Frame-Options:
515
515
  - sameorigin
@@ -535,7 +535,7 @@ http_interactions:
535
535
  encoding: UTF-8
536
536
  string: '{"error":"unauthorized_client","error_description":"The authenticated
537
537
  client is not authorized to use the access grant type provided."}'
538
- http_version:
538
+ http_version:
539
539
  recorded_at: Tue, 27 Aug 2013 17:09:43 GMT
540
540
  - request:
541
541
  method: post
@@ -553,7 +553,7 @@ http_interactions:
553
553
  response:
554
554
  status:
555
555
  code: 400
556
- message:
556
+ message:
557
557
  headers:
558
558
  X-Frame-Options:
559
559
  - sameorigin
@@ -579,7 +579,7 @@ http_interactions:
579
579
  encoding: UTF-8
580
580
  string: '{"error":"unauthorized_client","error_description":"The authenticated
581
581
  client is not authorized to use the access grant type provided."}'
582
- http_version:
582
+ http_version:
583
583
  recorded_at: Tue, 27 Aug 2013 17:09:44 GMT
584
584
  - request:
585
585
  method: post
@@ -597,7 +597,7 @@ http_interactions:
597
597
  response:
598
598
  status:
599
599
  code: 400
600
- message:
600
+ message:
601
601
  headers:
602
602
  X-Frame-Options:
603
603
  - sameorigin
@@ -623,7 +623,7 @@ http_interactions:
623
623
  encoding: UTF-8
624
624
  string: '{"error":"unauthorized_client","error_description":"The authenticated
625
625
  client is not authorized to use the access grant type provided."}'
626
- http_version:
626
+ http_version:
627
627
  recorded_at: Tue, 27 Aug 2013 17:09:45 GMT
628
628
  - request:
629
629
  method: post
@@ -641,7 +641,7 @@ http_interactions:
641
641
  response:
642
642
  status:
643
643
  code: 400
644
- message:
644
+ message:
645
645
  headers:
646
646
  X-Frame-Options:
647
647
  - sameorigin
@@ -667,7 +667,7 @@ http_interactions:
667
667
  encoding: UTF-8
668
668
  string: '{"error":"unauthorized_client","error_description":"The authenticated
669
669
  client is not authorized to use the access grant type provided."}'
670
- http_version:
670
+ http_version:
671
671
  recorded_at: Tue, 27 Aug 2013 17:09:45 GMT
672
672
  - request:
673
673
  method: post
@@ -685,7 +685,7 @@ http_interactions:
685
685
  response:
686
686
  status:
687
687
  code: 400
688
- message:
688
+ message:
689
689
  headers:
690
690
  X-Frame-Options:
691
691
  - sameorigin
@@ -711,7 +711,7 @@ http_interactions:
711
711
  encoding: UTF-8
712
712
  string: '{"error":"unauthorized_client","error_description":"The authenticated
713
713
  client is not authorized to use the access grant type provided."}'
714
- http_version:
714
+ http_version:
715
715
  recorded_at: Tue, 27 Aug 2013 17:09:46 GMT
716
716
  - request:
717
717
  method: post
@@ -729,7 +729,7 @@ http_interactions:
729
729
  response:
730
730
  status:
731
731
  code: 400
732
- message:
732
+ message:
733
733
  headers:
734
734
  X-Frame-Options:
735
735
  - sameorigin
@@ -755,7 +755,7 @@ http_interactions:
755
755
  encoding: UTF-8
756
756
  string: '{"error":"unauthorized_client","error_description":"The authenticated
757
757
  client is not authorized to use the access grant type provided."}'
758
- http_version:
758
+ http_version:
759
759
  recorded_at: Tue, 27 Aug 2013 17:09:46 GMT
760
760
  - request:
761
761
  method: post
@@ -773,7 +773,7 @@ http_interactions:
773
773
  response:
774
774
  status:
775
775
  code: 200
776
- message:
776
+ message:
777
777
  headers:
778
778
  X-Frame-Options:
779
779
  - sameorigin
@@ -800,7 +800,7 @@ http_interactions:
800
800
  body:
801
801
  encoding: UTF-8
802
802
  string: '{"access_token":"f8e24c5af3bbf84f8c0ab52d591fa6338ddcf0dc","expires_in":7200}'
803
- http_version:
803
+ http_version:
804
804
  recorded_at: Wed, 28 Aug 2013 16:09:33 GMT
805
805
  - request:
806
806
  method: get
@@ -818,7 +818,7 @@ http_interactions:
818
818
  response:
819
819
  status:
820
820
  code: 401
821
- message:
821
+ message:
822
822
  headers:
823
823
  WWW-Authenticate:
824
824
  - OAuth error="invalid_token"
@@ -840,7 +840,7 @@ http_interactions:
840
840
  encoding: UTF-8
841
841
  string: '{"error":"invalid_token","error_description":"The OAuth token can not
842
842
  be found"}'
843
- http_version:
843
+ http_version:
844
844
  recorded_at: Tue, 17 Sep 2013 17:08:03 GMT
845
845
  - request:
846
846
  method: post
@@ -858,7 +858,7 @@ http_interactions:
858
858
  response:
859
859
  status:
860
860
  code: 200
861
- message:
861
+ message:
862
862
  headers:
863
863
  X-Frame-Options:
864
864
  - sameorigin
@@ -885,7 +885,7 @@ http_interactions:
885
885
  body:
886
886
  encoding: UTF-8
887
887
  string: '{"access_token":"e5b46cada35fb5a4f2586adcc8b29134c37fbc59","expires_in":7200}'
888
- http_version:
888
+ http_version:
889
889
  recorded_at: Tue, 17 Sep 2013 17:08:03 GMT
890
890
  - request:
891
891
  method: get
@@ -903,7 +903,7 @@ http_interactions:
903
903
  response:
904
904
  status:
905
905
  code: 200
906
- message:
906
+ message:
907
907
  headers:
908
908
  Content-Type:
909
909
  - application/json; charset=utf-8
@@ -927,6 +927,6 @@ http_interactions:
927
927
  new servers are added to this group unless specified otherwise.","created_at":"2013-09-17T08:44:16Z","default":true}],"firewall_policies":[{"id":"fwp-12345","resource_type":"firewall_policy","url":"https://api.gb1.brightbox.com/1.0/firewall_policies/fwp-12345","default":true,"name":"default","created_at":"2013-09-17T08:44:16Z","description":"Applied
928
928
  to the default server group."}],"owner":{"id":"usr-12345","resource_type":"user","url":"https://api.gb1.brightbox.com/1.0/users/usr-12345","name":"Kobe
929
929
  Swaniawski Sr.","email_address":"jason.null@brightbox.com"},"users":[],"zones":[{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-a"},{"id":"zon-12345","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-12345","handle":"gb1-b"}]}]'
930
- http_version:
930
+ http_version:
931
931
  recorded_at: Tue, 17 Sep 2013 17:08:03 GMT
932
932
  recorded_with: VCR 2.5.0