oraclebmc 1.2.4 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/{README.md → README_BMCS.md} +21 -26
  3. data/lib/oraclebmc.rb +1 -19
  4. metadata +16 -259
  5. data/lib/oraclebmc/api_client.rb +0 -306
  6. data/lib/oraclebmc/config.rb +0 -80
  7. data/lib/oraclebmc/config_file_loader.rb +0 -85
  8. data/lib/oraclebmc/core/blockstorage_client.rb +0 -460
  9. data/lib/oraclebmc/core/compute_client.rb +0 -1267
  10. data/lib/oraclebmc/core/core.rb +0 -112
  11. data/lib/oraclebmc/core/models/attach_i_scsi_volume_details.rb +0 -137
  12. data/lib/oraclebmc/core/models/attach_vnic_details.rb +0 -144
  13. data/lib/oraclebmc/core/models/attach_volume_details.rb +0 -165
  14. data/lib/oraclebmc/core/models/capture_console_history_details.rb +0 -120
  15. data/lib/oraclebmc/core/models/console_history.rb +0 -213
  16. data/lib/oraclebmc/core/models/cpe.rb +0 -169
  17. data/lib/oraclebmc/core/models/create_cpe_details.rb +0 -145
  18. data/lib/oraclebmc/core/models/create_cross_connect_details.rb +0 -204
  19. data/lib/oraclebmc/core/models/create_cross_connect_group_details.rb +0 -133
  20. data/lib/oraclebmc/core/models/create_dhcp_details.rb +0 -153
  21. data/lib/oraclebmc/core/models/create_drg_attachment_details.rb +0 -142
  22. data/lib/oraclebmc/core/models/create_drg_details.rb +0 -131
  23. data/lib/oraclebmc/core/models/create_image_details.rb +0 -159
  24. data/lib/oraclebmc/core/models/create_internet_gateway_details.rb +0 -153
  25. data/lib/oraclebmc/core/models/create_ip_sec_connection_details.rb +0 -168
  26. data/lib/oraclebmc/core/models/create_private_ip_details.rb +0 -173
  27. data/lib/oraclebmc/core/models/create_route_table_details.rb +0 -153
  28. data/lib/oraclebmc/core/models/create_security_list_details.rb +0 -164
  29. data/lib/oraclebmc/core/models/create_subnet_details.rb +0 -257
  30. data/lib/oraclebmc/core/models/create_vcn_details.rb +0 -171
  31. data/lib/oraclebmc/core/models/create_virtual_circuit_details.rb +0 -260
  32. data/lib/oraclebmc/core/models/create_vnic_details.rb +0 -214
  33. data/lib/oraclebmc/core/models/create_volume_backup_details.rb +0 -133
  34. data/lib/oraclebmc/core/models/create_volume_details.rb +0 -170
  35. data/lib/oraclebmc/core/models/cross_connect.rb +0 -235
  36. data/lib/oraclebmc/core/models/cross_connect_group.rb +0 -187
  37. data/lib/oraclebmc/core/models/cross_connect_location.rb +0 -134
  38. data/lib/oraclebmc/core/models/cross_connect_mapping.rb +0 -190
  39. data/lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb +0 -137
  40. data/lib/oraclebmc/core/models/cross_connect_status.rb +0 -200
  41. data/lib/oraclebmc/core/models/dhcp_dns_option.rb +0 -171
  42. data/lib/oraclebmc/core/models/dhcp_option.rb +0 -135
  43. data/lib/oraclebmc/core/models/dhcp_options.rb +0 -208
  44. data/lib/oraclebmc/core/models/dhcp_search_domain_option.rb +0 -141
  45. data/lib/oraclebmc/core/models/drg.rb +0 -186
  46. data/lib/oraclebmc/core/models/drg_attachment.rb +0 -208
  47. data/lib/oraclebmc/core/models/egress_security_rule.rb +0 -198
  48. data/lib/oraclebmc/core/models/export_image_details.rb +0 -134
  49. data/lib/oraclebmc/core/models/export_image_via_object_storage_tuple_details.rb +0 -150
  50. data/lib/oraclebmc/core/models/export_image_via_object_storage_uri_details.rb +0 -130
  51. data/lib/oraclebmc/core/models/fast_connect_provider_service.rb +0 -145
  52. data/lib/oraclebmc/core/models/i_scsi_volume_attachment.rb +0 -212
  53. data/lib/oraclebmc/core/models/icmp_options.rb +0 -131
  54. data/lib/oraclebmc/core/models/image.rb +0 -245
  55. data/lib/oraclebmc/core/models/image_source_details.rb +0 -134
  56. data/lib/oraclebmc/core/models/image_source_via_object_storage_tuple_details.rb +0 -150
  57. data/lib/oraclebmc/core/models/image_source_via_object_storage_uri_details.rb +0 -128
  58. data/lib/oraclebmc/core/models/ingress_security_rule.rb +0 -198
  59. data/lib/oraclebmc/core/models/instance.rb +0 -307
  60. data/lib/oraclebmc/core/models/instance_credentials.rb +0 -131
  61. data/lib/oraclebmc/core/models/internet_gateway.rb +0 -210
  62. data/lib/oraclebmc/core/models/ip_sec_connection.rb +0 -223
  63. data/lib/oraclebmc/core/models/ip_sec_connection_device_config.rb +0 -153
  64. data/lib/oraclebmc/core/models/ip_sec_connection_device_status.rb +0 -156
  65. data/lib/oraclebmc/core/models/launch_instance_details.rb +0 -336
  66. data/lib/oraclebmc/core/models/letter_of_authority.rb +0 -194
  67. data/lib/oraclebmc/core/models/port_range.rb +0 -133
  68. data/lib/oraclebmc/core/models/private_ip.rb +0 -248
  69. data/lib/oraclebmc/core/models/route_rule.rb +0 -135
  70. data/lib/oraclebmc/core/models/route_table.rb +0 -208
  71. data/lib/oraclebmc/core/models/security_list.rb +0 -219
  72. data/lib/oraclebmc/core/models/shape.rb +0 -122
  73. data/lib/oraclebmc/core/models/subnet.rb +0 -351
  74. data/lib/oraclebmc/core/models/tcp_options.rb +0 -135
  75. data/lib/oraclebmc/core/models/tunnel_config.rb +0 -151
  76. data/lib/oraclebmc/core/models/tunnel_status.rb +0 -178
  77. data/lib/oraclebmc/core/models/udp_options.rb +0 -135
  78. data/lib/oraclebmc/core/models/update_cpe_details.rb +0 -122
  79. data/lib/oraclebmc/core/models/update_cross_connect_details.rb +0 -138
  80. data/lib/oraclebmc/core/models/update_cross_connect_group_details.rb +0 -122
  81. data/lib/oraclebmc/core/models/update_dhcp_details.rb +0 -132
  82. data/lib/oraclebmc/core/models/update_drg_attachment_details.rb +0 -122
  83. data/lib/oraclebmc/core/models/update_drg_details.rb +0 -122
  84. data/lib/oraclebmc/core/models/update_image_details.rb +0 -124
  85. data/lib/oraclebmc/core/models/update_instance_details.rb +0 -124
  86. data/lib/oraclebmc/core/models/update_internet_gateway_details.rb +0 -133
  87. data/lib/oraclebmc/core/models/update_ip_sec_connection_details.rb +0 -122
  88. data/lib/oraclebmc/core/models/update_private_ip_details.rb +0 -157
  89. data/lib/oraclebmc/core/models/update_route_table_details.rb +0 -133
  90. data/lib/oraclebmc/core/models/update_security_list_details.rb +0 -144
  91. data/lib/oraclebmc/core/models/update_subnet_details.rb +0 -122
  92. data/lib/oraclebmc/core/models/update_vcn_details.rb +0 -122
  93. data/lib/oraclebmc/core/models/update_virtual_circuit_details.rb +0 -240
  94. data/lib/oraclebmc/core/models/update_vnic_details.rb +0 -144
  95. data/lib/oraclebmc/core/models/update_volume_backup_details.rb +0 -122
  96. data/lib/oraclebmc/core/models/update_volume_details.rb +0 -122
  97. data/lib/oraclebmc/core/models/vcn.rb +0 -276
  98. data/lib/oraclebmc/core/models/virtual_circuit.rb +0 -395
  99. data/lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb +0 -137
  100. data/lib/oraclebmc/core/models/vnic.rb +0 -287
  101. data/lib/oraclebmc/core/models/vnic_attachment.rb +0 -250
  102. data/lib/oraclebmc/core/models/volume.rb +0 -210
  103. data/lib/oraclebmc/core/models/volume_attachment.rb +0 -246
  104. data/lib/oraclebmc/core/models/volume_backup.rb +0 -235
  105. data/lib/oraclebmc/core/util.rb +0 -1
  106. data/lib/oraclebmc/core/virtual_network_client.rb +0 -3419
  107. data/lib/oraclebmc/errors.rb +0 -80
  108. data/lib/oraclebmc/global_context.rb +0 -21
  109. data/lib/oraclebmc/identity/identity.rb +0 -51
  110. data/lib/oraclebmc/identity/identity_client.rb +0 -1983
  111. data/lib/oraclebmc/identity/models/add_user_to_group_details.rb +0 -131
  112. data/lib/oraclebmc/identity/models/api_key.rb +0 -211
  113. data/lib/oraclebmc/identity/models/availability_domain.rb +0 -131
  114. data/lib/oraclebmc/identity/models/compartment.rb +0 -211
  115. data/lib/oraclebmc/identity/models/create_api_key_details.rb +0 -120
  116. data/lib/oraclebmc/identity/models/create_compartment_details.rb +0 -145
  117. data/lib/oraclebmc/identity/models/create_group_details.rb +0 -144
  118. data/lib/oraclebmc/identity/models/create_identity_provider_details.rb +0 -212
  119. data/lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb +0 -133
  120. data/lib/oraclebmc/identity/models/create_policy_details.rb +0 -173
  121. data/lib/oraclebmc/identity/models/create_region_subscription_details.rb +0 -127
  122. data/lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb +0 -154
  123. data/lib/oraclebmc/identity/models/create_swift_password_details.rb +0 -121
  124. data/lib/oraclebmc/identity/models/create_user_details.rb +0 -144
  125. data/lib/oraclebmc/identity/models/group.rb +0 -211
  126. data/lib/oraclebmc/identity/models/identity_provider.rb +0 -256
  127. data/lib/oraclebmc/identity/models/idp_group_mapping.rb +0 -220
  128. data/lib/oraclebmc/identity/models/policy.rb +0 -237
  129. data/lib/oraclebmc/identity/models/region.rb +0 -141
  130. data/lib/oraclebmc/identity/models/region_subscription.rb +0 -178
  131. data/lib/oraclebmc/identity/models/saml2_identity_provider.rb +0 -180
  132. data/lib/oraclebmc/identity/models/swift_password.rb +0 -226
  133. data/lib/oraclebmc/identity/models/tenancy.rb +0 -158
  134. data/lib/oraclebmc/identity/models/ui_password.rb +0 -187
  135. data/lib/oraclebmc/identity/models/update_compartment_details.rb +0 -120
  136. data/lib/oraclebmc/identity/models/update_group_details.rb +0 -120
  137. data/lib/oraclebmc/identity/models/update_identity_provider_details.rb +0 -160
  138. data/lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb +0 -131
  139. data/lib/oraclebmc/identity/models/update_policy_details.rb +0 -148
  140. data/lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb +0 -145
  141. data/lib/oraclebmc/identity/models/update_state_details.rb +0 -121
  142. data/lib/oraclebmc/identity/models/update_swift_password_details.rb +0 -120
  143. data/lib/oraclebmc/identity/models/update_user_details.rb +0 -120
  144. data/lib/oraclebmc/identity/models/user.rb +0 -217
  145. data/lib/oraclebmc/identity/models/user_group_membership.rb +0 -209
  146. data/lib/oraclebmc/identity/util.rb +0 -1
  147. data/lib/oraclebmc/internal/internal.rb +0 -11
  148. data/lib/oraclebmc/internal/util.rb +0 -69
  149. data/lib/oraclebmc/load_balancer/load_balancer.rb +0 -46
  150. data/lib/oraclebmc/load_balancer/load_balancer_client.rb +0 -1281
  151. data/lib/oraclebmc/load_balancer/models/backend.rb +0 -220
  152. data/lib/oraclebmc/load_balancer/models/backend_details.rb +0 -206
  153. data/lib/oraclebmc/load_balancer/models/backend_set.rb +0 -179
  154. data/lib/oraclebmc/load_balancer/models/backend_set_details.rb +0 -165
  155. data/lib/oraclebmc/load_balancer/models/certificate.rb +0 -167
  156. data/lib/oraclebmc/load_balancer/models/certificate_details.rb +0 -203
  157. data/lib/oraclebmc/load_balancer/models/create_backend_details.rb +0 -206
  158. data/lib/oraclebmc/load_balancer/models/create_backend_set_details.rb +0 -178
  159. data/lib/oraclebmc/load_balancer/models/create_certificate_details.rb +0 -203
  160. data/lib/oraclebmc/load_balancer/models/create_listener_details.rb +0 -174
  161. data/lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb +0 -219
  162. data/lib/oraclebmc/load_balancer/models/health_checker.rb +0 -223
  163. data/lib/oraclebmc/load_balancer/models/health_checker_details.rb +0 -222
  164. data/lib/oraclebmc/load_balancer/models/ip_address.rb +0 -139
  165. data/lib/oraclebmc/load_balancer/models/listener.rb +0 -174
  166. data/lib/oraclebmc/load_balancer/models/listener_details.rb +0 -160
  167. data/lib/oraclebmc/load_balancer/models/load_balancer.rb +0 -280
  168. data/lib/oraclebmc/load_balancer/models/load_balancer_policy.rb +0 -120
  169. data/lib/oraclebmc/load_balancer/models/load_balancer_protocol.rb +0 -120
  170. data/lib/oraclebmc/load_balancer/models/load_balancer_shape.rb +0 -120
  171. data/lib/oraclebmc/load_balancer/models/session_persistence_configuration_details.rb +0 -141
  172. data/lib/oraclebmc/load_balancer/models/ssl_configuration.rb +0 -153
  173. data/lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb +0 -153
  174. data/lib/oraclebmc/load_balancer/models/update_backend_details.rb +0 -178
  175. data/lib/oraclebmc/load_balancer/models/update_backend_set_details.rb +0 -165
  176. data/lib/oraclebmc/load_balancer/models/update_health_checker_details.rb +0 -221
  177. data/lib/oraclebmc/load_balancer/models/update_listener_details.rb +0 -160
  178. data/lib/oraclebmc/load_balancer/models/update_load_balancer_details.rb +0 -123
  179. data/lib/oraclebmc/load_balancer/models/work_request.rb +0 -229
  180. data/lib/oraclebmc/load_balancer/models/work_request_error.rb +0 -145
  181. data/lib/oraclebmc/load_balancer/util.rb +0 -55
  182. data/lib/oraclebmc/regions.rb +0 -41
  183. data/lib/oraclebmc/response.rb +0 -86
  184. data/lib/oraclebmc/signer.rb +0 -119
  185. data/lib/oraclebmc/version.rb +0 -5
  186. data/lib/oraclebmc/waiter.rb +0 -111
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bd11f80b9f4e3cb8ce6662372947bf5895d4464
4
- data.tar.gz: eeb109ab1a7b2e906006ca4b67b5bd23a3692cb5
3
+ metadata.gz: 7fe1c162c7431cc57a567dca3c4e84782f82a8f3
4
+ data.tar.gz: e55cc63421994ce77837ef4afe9d67c3f4e2ae83
5
5
  SHA512:
6
- metadata.gz: 00a295dff9af838da5d9bb32637f0d03db24a703857a9b219b0cccf3a3c9860a18a2ece0248cada050952fdb83f04a0d1dd572ba3649cf25d67deed4c5c46033
7
- data.tar.gz: 139db5873752268c68d42e5468d7c01c7163d89389c0343791fe2db2f7189e1b945a7c98c3e28ea2b23edf6e1b277c68c952c5a6f5f1f4be48830ae28e8b0824
6
+ metadata.gz: a9de8e31ceeab68c1e0976acb611f099605f6b4e177ee2da6cc529c14e7f8c807910f1bd286c40e0820556b836a8e603bb9b587d8968538e67439a5de64a2be6
7
+ data.tar.gz: 7dbf3e93d44a9c3deb9a4aa0bb67a2e2f3e563cec24ec85234c015063cabff4e4e8b6523c784dedb109816a77ca129a841407ad7c7b93e7d7e6080e0943cebc8
@@ -1,7 +1,10 @@
1
- # Oracle Bare Metal Cloud Services Ruby SDK
2
- **Version 1.2.4**
1
+ # Oracle Cloud Infrastructure Ruby SDK
2
+ **Version 2.0.0**
3
3
 
4
- This topic describes how to install, configure, and use the Oracle Bare Metal Cloud Services Ruby SDK.
4
+ This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
+
6
+ ## Warning: The oraclebmc gem is deprecated
7
+ The `oraclebmc` gem is deprecated and will no longer be maintained starting March 2018. Please move to [oci](https://rubygems.org/gems/oci) instead to avoid interruption.
5
8
 
6
9
  ## SDK Overview
7
10
 
@@ -10,10 +13,10 @@ The Ruby SDK supports the following services:
10
13
  * Core Services (which includes Networking Service, Compute Service, and Block Volume Service)
11
14
  * Identity and Access Management Service
12
15
  * Load Balancing Service
16
+ * Object Storage Service
13
17
 
14
18
  **Licensing:** This SDK and sample is dual licensed under the Universal Permissive License 1.0 and the Apache License.
15
19
 
16
-
17
20
  ## SDK Attributes
18
21
  The following table provides details about some of the attributes of the SDK.
19
22
 
@@ -49,7 +52,8 @@ The following table provides details about some of the attributes of the SDK.
49
52
  </tr>
50
53
  <tr>
51
54
  <td>HTTP Client</td>
52
- <td>The Ruby SDK uses {https://github.com/typhoeus/typhoeus Typhoeus} for HTTP requests, which in turn calls libcurl. Some behaviors may depend on your installation of libcurl. If needed, arbitrary options may be passed to each Typhoeus request by specifying them in {OracleBMC::ApiClient#request_option_overrides ApiClient.request_option_overrides}.</td>
55
+ <td>The Ruby SDK uses Net::HTTP for HTTP requests, if needed, options may be passed to each Net::HTTP by specifying them in {OracleBMC::ApiClient#request_option_overrides ApiClient.request_option_overrides}.</br>
56
+ Please check http://ruby-doc.org/stdlib-2.4.1/libdoc/net/http/rdoc/Net/HTTP.html#method-c-start for the supported options.</td>
53
57
  </tr>
54
58
  </tbody>
55
59
  </table>
@@ -59,7 +63,7 @@ The following table provides details about some of the attributes of the SDK.
59
63
 
60
64
  To use the Ruby SDK, you must have:
61
65
 
62
- * An Oracle Bare Metal Cloud Services account.
66
+ * An Oracle Cloud Infrastructure account.
63
67
  * A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.us-phoenix-1.oraclecloud.com/Content/GSG/Tasks/addingusers.htm) in the Getting Started Guide. For a list of typical policies you may want to use, see [Common Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm) in the User Guide.
64
68
  * A keypair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. See the configuration information below.
65
69
  * Ruby version 2.2 or later running on Mac or Linux. Windows is not supported at this time.
@@ -72,27 +76,16 @@ To use the Ruby SDK, you must have:
72
76
 
73
77
  `gem install oraclebmc`
74
78
 
75
- You can also [download the SDK](https://docs.us-phoenix-1.oraclecloud.com/tools/ruby/latest/download/oracle-bmcs-ruby-sdk.zip) as a zip file containing the gem file, examples, and documentation.
76
-
77
- Install the gem with the following command:
78
-
79
-
80
- `gem install oraclebmc-1.2.4.gem`
81
-
82
-
83
- The SDK depends on `libcurl`, which may need to be installed or upgraded on some operating systems to be compatible with Oracle Bare Metal Cloud Services.
84
-
85
-
86
- Use one of the following commands for your particular operating system in order to successfully make requests:
87
-
88
- * For Oracle Linux (OL) or Red Hat Enterprise Linux (RHEL): `sudo yum upgrade curl`
89
- * For Ubuntu: `sudo apt-get install libcurl3 libcurl3-dev`
90
79
  ### Troubleshooting an Installation
91
80
  If you see "Unable to resolve dependencies”, you can install the dependencies manually:
92
81
 
93
- gem install typhoeus
94
82
  gem install inifile
95
83
 
84
+ ## SDK modules and namespacing
85
+ The top level module name for the Ruby SDK is `OCI`, however using `OracleBMC` as the top level namespace is also supported. For example, you can reference the configuration object as both `OCI::Config` and `OracleBMC::Config`.
86
+
87
+ Using `OCI` as the top level module name is preferred and it is also used in the SDK API Reference. Additionally, if you inspect the type of an SDK object it will always be reported as being under the `OCI::` module.
88
+
96
89
  ## Configuring the SDK
97
90
 
98
91
  To use any of the APIs, you must supply a {OracleBMC::Config Config} object. You can create the object directly in code, or you can create one in a config file. The configuration includes:
@@ -126,11 +119,13 @@ You can also load a config file from a different location, and/or specify a diff
126
119
  response = api.get_user(my_config.user)
127
120
  puts 'User Name: ' + response.data.name
128
121
 
129
- Or you can create a {OracleBMC::Config Config} programmatically. Note that the global value {OracleBMC#config OracleBMC.config} will always attempt to load the DEFAULT profile from the default config file location (`~/.oraclebmc/config`), unless it has been explicitly set to another value.
122
+ Or you can create a {OracleBMC::Config Config} programmatically. Note that the global value {OracleBMC#config OracleBMC.config} will always attempt to load the DEFAULT profile from the default config file unless it has been explicitly set to another value.
123
+
124
+ The default config file location is `~/.oci/config` (on Windows `C:\Users\{user}\.oci\config`).
130
125
 
131
126
  ## Service Errors
132
127
 
133
- Any operation resulting in a service error will cause an exception of type OracleBMC::Errors::ServiceError to be thrown by the SDK. For information about common service errors returned by BMCS, see [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
128
+ Any operation resulting in a service error will cause an exception of type OracleBMC::Errors::ServiceError to be thrown by the SDK. For information about common service errors returned by OCI, see [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
134
129
 
135
130
  ## Examples
136
131
  The example code in this section shows how various parts of the Ruby SDK work. More examples can be found in the SDK download.
@@ -228,7 +223,7 @@ The following example shows how to launch an instance (which assumes that you al
228
223
  response = api.get_instance(instance_id).wait_until(:lifecycle_state, OracleBMC::Core::Models::Instance::LIFECYCLE_STATE_RUNNING)
229
224
 
230
225
  ### Signing a Raw Request
231
- The {OracleBMC::Signer} can be used to sign arbitrary requests to the Bare Metal Cloud Services. The following example uses Net::HTTP to call the IAM service directly.
226
+ The {OracleBMC::Signer} can be used to sign arbitrary requests to the Oracle Cloud Infrastructure Services. The following example uses Net::HTTP to call the IAM service directly.
232
227
 
233
228
  require 'oraclebmc'
234
229
  require 'net/http'
@@ -254,7 +249,7 @@ To be notified when a new version of the Ruby SDK is released, subscribe to the
254
249
  ## Questions or Feedback?
255
250
  Ways to get in touch:
256
251
 
257
- * [Stack Overflow](https://stackoverflow.com/): Please use the [oracle-bmcs](https://stackoverflow.com/questions/tagged/oracle-bmcs) and [oracle-bmcs-ruby-sdk](https://stackoverflow.com/questions/tagged/oracle-bmcs-ruby-sdk) tags in your post
252
+ * [Stack Overflow](https://stackoverflow.com/): Please use the [oracle-cloud-infrastructure](https://stackoverflow.com/questions/tagged/oracle-cloud-infrastructure) and [oci-ruby-sdk](https://stackoverflow.com/questions/tagged/oci-ruby-sdk) tags in your post
258
253
  * [Developer Tools section](https://community.oracle.com/community/cloud_computing/bare-metal/content?filterID=contentstatus%5Bpublished%5D~category%5Bdeveloper-tools%5D&filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bthread%5D) of the Oracle Cloud forums
259
254
  * [My Oracle Support](https://support.oracle.com)
260
255
 
@@ -1,21 +1,3 @@
1
1
  # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
- require 'oraclebmc/api_client'
4
- require 'oraclebmc/config'
5
- require 'oraclebmc/config_file_loader'
6
- require 'oraclebmc/errors'
7
- require 'oraclebmc/global_context'
8
- require 'oraclebmc/internal/internal'
9
- require 'oraclebmc/regions'
10
- require 'oraclebmc/response'
11
- require 'oraclebmc/signer'
12
- require 'oraclebmc/version'
13
- require 'oraclebmc/waiter'
14
-
15
- require 'oraclebmc/core/core'
16
- require 'oraclebmc/identity/identity'
17
- require 'oraclebmc/load_balancer/load_balancer'
18
-
19
- # Top level module for the Oracle Bare Metal Cloud SDK
20
- module OracleBMC
21
- end
3
+ require 'oci'
metadata CHANGED
@@ -1,96 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oraclebmc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oracle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-19 00:00:00.000000000 Z
11
+ date: 2017-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: typhoeus
14
+ name: oci
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 1.0.2
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.0'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 1.0.2
33
- - !ruby/object:Gem::Dependency
34
- name: json
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 1.4.6
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: 3.0.0
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 1.4.6
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: 3.0.0
53
- - !ruby/object:Gem::Dependency
54
- name: inifile
55
- requirement: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '3.0'
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: 3.0.0
19
+ version: 2.0.0
63
20
  type: :runtime
64
21
  prerelease: false
65
22
  version_requirements: !ruby/object:Gem::Requirement
66
23
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.0'
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: 3.0.0
73
- - !ruby/object:Gem::Dependency
74
- name: yard
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: 0.8.7.6
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 0.8.7.6
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 0.8.7.6
90
- - - ">="
24
+ - - '='
91
25
  - !ruby/object:Gem::Version
92
- version: 0.8.7.6
93
- description: Ruby SDK for Oracle Bare Metal Cloud Services.
26
+ version: 2.0.0
27
+ description: "Ruby SDK for Oracle Cloud Infrastructure. \n \n This gem is deprecated
28
+ and will no longer be maintained starting March 2018. Please move to 'oci' (https://rubygems.org/gems/oci)
29
+ instead to avoid interruption."
94
30
  email:
95
31
  - joe.levy@oracle.com
96
32
  executables: []
@@ -98,196 +34,17 @@ extensions: []
98
34
  extra_rdoc_files: []
99
35
  files:
100
36
  - "./lib/oraclebmc.rb"
101
- - "./lib/oraclebmc/api_client.rb"
102
- - "./lib/oraclebmc/config.rb"
103
- - "./lib/oraclebmc/config_file_loader.rb"
104
- - "./lib/oraclebmc/core/blockstorage_client.rb"
105
- - "./lib/oraclebmc/core/compute_client.rb"
106
- - "./lib/oraclebmc/core/core.rb"
107
- - "./lib/oraclebmc/core/models/attach_i_scsi_volume_details.rb"
108
- - "./lib/oraclebmc/core/models/attach_vnic_details.rb"
109
- - "./lib/oraclebmc/core/models/attach_volume_details.rb"
110
- - "./lib/oraclebmc/core/models/capture_console_history_details.rb"
111
- - "./lib/oraclebmc/core/models/console_history.rb"
112
- - "./lib/oraclebmc/core/models/cpe.rb"
113
- - "./lib/oraclebmc/core/models/create_cpe_details.rb"
114
- - "./lib/oraclebmc/core/models/create_cross_connect_details.rb"
115
- - "./lib/oraclebmc/core/models/create_cross_connect_group_details.rb"
116
- - "./lib/oraclebmc/core/models/create_dhcp_details.rb"
117
- - "./lib/oraclebmc/core/models/create_drg_attachment_details.rb"
118
- - "./lib/oraclebmc/core/models/create_drg_details.rb"
119
- - "./lib/oraclebmc/core/models/create_image_details.rb"
120
- - "./lib/oraclebmc/core/models/create_internet_gateway_details.rb"
121
- - "./lib/oraclebmc/core/models/create_ip_sec_connection_details.rb"
122
- - "./lib/oraclebmc/core/models/create_private_ip_details.rb"
123
- - "./lib/oraclebmc/core/models/create_route_table_details.rb"
124
- - "./lib/oraclebmc/core/models/create_security_list_details.rb"
125
- - "./lib/oraclebmc/core/models/create_subnet_details.rb"
126
- - "./lib/oraclebmc/core/models/create_vcn_details.rb"
127
- - "./lib/oraclebmc/core/models/create_virtual_circuit_details.rb"
128
- - "./lib/oraclebmc/core/models/create_vnic_details.rb"
129
- - "./lib/oraclebmc/core/models/create_volume_backup_details.rb"
130
- - "./lib/oraclebmc/core/models/create_volume_details.rb"
131
- - "./lib/oraclebmc/core/models/cross_connect.rb"
132
- - "./lib/oraclebmc/core/models/cross_connect_group.rb"
133
- - "./lib/oraclebmc/core/models/cross_connect_location.rb"
134
- - "./lib/oraclebmc/core/models/cross_connect_mapping.rb"
135
- - "./lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb"
136
- - "./lib/oraclebmc/core/models/cross_connect_status.rb"
137
- - "./lib/oraclebmc/core/models/dhcp_dns_option.rb"
138
- - "./lib/oraclebmc/core/models/dhcp_option.rb"
139
- - "./lib/oraclebmc/core/models/dhcp_options.rb"
140
- - "./lib/oraclebmc/core/models/dhcp_search_domain_option.rb"
141
- - "./lib/oraclebmc/core/models/drg.rb"
142
- - "./lib/oraclebmc/core/models/drg_attachment.rb"
143
- - "./lib/oraclebmc/core/models/egress_security_rule.rb"
144
- - "./lib/oraclebmc/core/models/export_image_details.rb"
145
- - "./lib/oraclebmc/core/models/export_image_via_object_storage_tuple_details.rb"
146
- - "./lib/oraclebmc/core/models/export_image_via_object_storage_uri_details.rb"
147
- - "./lib/oraclebmc/core/models/fast_connect_provider_service.rb"
148
- - "./lib/oraclebmc/core/models/i_scsi_volume_attachment.rb"
149
- - "./lib/oraclebmc/core/models/icmp_options.rb"
150
- - "./lib/oraclebmc/core/models/image.rb"
151
- - "./lib/oraclebmc/core/models/image_source_details.rb"
152
- - "./lib/oraclebmc/core/models/image_source_via_object_storage_tuple_details.rb"
153
- - "./lib/oraclebmc/core/models/image_source_via_object_storage_uri_details.rb"
154
- - "./lib/oraclebmc/core/models/ingress_security_rule.rb"
155
- - "./lib/oraclebmc/core/models/instance.rb"
156
- - "./lib/oraclebmc/core/models/instance_credentials.rb"
157
- - "./lib/oraclebmc/core/models/internet_gateway.rb"
158
- - "./lib/oraclebmc/core/models/ip_sec_connection.rb"
159
- - "./lib/oraclebmc/core/models/ip_sec_connection_device_config.rb"
160
- - "./lib/oraclebmc/core/models/ip_sec_connection_device_status.rb"
161
- - "./lib/oraclebmc/core/models/launch_instance_details.rb"
162
- - "./lib/oraclebmc/core/models/letter_of_authority.rb"
163
- - "./lib/oraclebmc/core/models/port_range.rb"
164
- - "./lib/oraclebmc/core/models/private_ip.rb"
165
- - "./lib/oraclebmc/core/models/route_rule.rb"
166
- - "./lib/oraclebmc/core/models/route_table.rb"
167
- - "./lib/oraclebmc/core/models/security_list.rb"
168
- - "./lib/oraclebmc/core/models/shape.rb"
169
- - "./lib/oraclebmc/core/models/subnet.rb"
170
- - "./lib/oraclebmc/core/models/tcp_options.rb"
171
- - "./lib/oraclebmc/core/models/tunnel_config.rb"
172
- - "./lib/oraclebmc/core/models/tunnel_status.rb"
173
- - "./lib/oraclebmc/core/models/udp_options.rb"
174
- - "./lib/oraclebmc/core/models/update_cpe_details.rb"
175
- - "./lib/oraclebmc/core/models/update_cross_connect_details.rb"
176
- - "./lib/oraclebmc/core/models/update_cross_connect_group_details.rb"
177
- - "./lib/oraclebmc/core/models/update_dhcp_details.rb"
178
- - "./lib/oraclebmc/core/models/update_drg_attachment_details.rb"
179
- - "./lib/oraclebmc/core/models/update_drg_details.rb"
180
- - "./lib/oraclebmc/core/models/update_image_details.rb"
181
- - "./lib/oraclebmc/core/models/update_instance_details.rb"
182
- - "./lib/oraclebmc/core/models/update_internet_gateway_details.rb"
183
- - "./lib/oraclebmc/core/models/update_ip_sec_connection_details.rb"
184
- - "./lib/oraclebmc/core/models/update_private_ip_details.rb"
185
- - "./lib/oraclebmc/core/models/update_route_table_details.rb"
186
- - "./lib/oraclebmc/core/models/update_security_list_details.rb"
187
- - "./lib/oraclebmc/core/models/update_subnet_details.rb"
188
- - "./lib/oraclebmc/core/models/update_vcn_details.rb"
189
- - "./lib/oraclebmc/core/models/update_virtual_circuit_details.rb"
190
- - "./lib/oraclebmc/core/models/update_vnic_details.rb"
191
- - "./lib/oraclebmc/core/models/update_volume_backup_details.rb"
192
- - "./lib/oraclebmc/core/models/update_volume_details.rb"
193
- - "./lib/oraclebmc/core/models/vcn.rb"
194
- - "./lib/oraclebmc/core/models/virtual_circuit.rb"
195
- - "./lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb"
196
- - "./lib/oraclebmc/core/models/vnic.rb"
197
- - "./lib/oraclebmc/core/models/vnic_attachment.rb"
198
- - "./lib/oraclebmc/core/models/volume.rb"
199
- - "./lib/oraclebmc/core/models/volume_attachment.rb"
200
- - "./lib/oraclebmc/core/models/volume_backup.rb"
201
- - "./lib/oraclebmc/core/util.rb"
202
- - "./lib/oraclebmc/core/virtual_network_client.rb"
203
- - "./lib/oraclebmc/errors.rb"
204
- - "./lib/oraclebmc/global_context.rb"
205
- - "./lib/oraclebmc/identity/identity.rb"
206
- - "./lib/oraclebmc/identity/identity_client.rb"
207
- - "./lib/oraclebmc/identity/models/add_user_to_group_details.rb"
208
- - "./lib/oraclebmc/identity/models/api_key.rb"
209
- - "./lib/oraclebmc/identity/models/availability_domain.rb"
210
- - "./lib/oraclebmc/identity/models/compartment.rb"
211
- - "./lib/oraclebmc/identity/models/create_api_key_details.rb"
212
- - "./lib/oraclebmc/identity/models/create_compartment_details.rb"
213
- - "./lib/oraclebmc/identity/models/create_group_details.rb"
214
- - "./lib/oraclebmc/identity/models/create_identity_provider_details.rb"
215
- - "./lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb"
216
- - "./lib/oraclebmc/identity/models/create_policy_details.rb"
217
- - "./lib/oraclebmc/identity/models/create_region_subscription_details.rb"
218
- - "./lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb"
219
- - "./lib/oraclebmc/identity/models/create_swift_password_details.rb"
220
- - "./lib/oraclebmc/identity/models/create_user_details.rb"
221
- - "./lib/oraclebmc/identity/models/group.rb"
222
- - "./lib/oraclebmc/identity/models/identity_provider.rb"
223
- - "./lib/oraclebmc/identity/models/idp_group_mapping.rb"
224
- - "./lib/oraclebmc/identity/models/policy.rb"
225
- - "./lib/oraclebmc/identity/models/region.rb"
226
- - "./lib/oraclebmc/identity/models/region_subscription.rb"
227
- - "./lib/oraclebmc/identity/models/saml2_identity_provider.rb"
228
- - "./lib/oraclebmc/identity/models/swift_password.rb"
229
- - "./lib/oraclebmc/identity/models/tenancy.rb"
230
- - "./lib/oraclebmc/identity/models/ui_password.rb"
231
- - "./lib/oraclebmc/identity/models/update_compartment_details.rb"
232
- - "./lib/oraclebmc/identity/models/update_group_details.rb"
233
- - "./lib/oraclebmc/identity/models/update_identity_provider_details.rb"
234
- - "./lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb"
235
- - "./lib/oraclebmc/identity/models/update_policy_details.rb"
236
- - "./lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb"
237
- - "./lib/oraclebmc/identity/models/update_state_details.rb"
238
- - "./lib/oraclebmc/identity/models/update_swift_password_details.rb"
239
- - "./lib/oraclebmc/identity/models/update_user_details.rb"
240
- - "./lib/oraclebmc/identity/models/user.rb"
241
- - "./lib/oraclebmc/identity/models/user_group_membership.rb"
242
- - "./lib/oraclebmc/identity/util.rb"
243
- - "./lib/oraclebmc/internal/internal.rb"
244
- - "./lib/oraclebmc/internal/util.rb"
245
- - "./lib/oraclebmc/load_balancer/load_balancer.rb"
246
- - "./lib/oraclebmc/load_balancer/load_balancer_client.rb"
247
- - "./lib/oraclebmc/load_balancer/models/backend.rb"
248
- - "./lib/oraclebmc/load_balancer/models/backend_details.rb"
249
- - "./lib/oraclebmc/load_balancer/models/backend_set.rb"
250
- - "./lib/oraclebmc/load_balancer/models/backend_set_details.rb"
251
- - "./lib/oraclebmc/load_balancer/models/certificate.rb"
252
- - "./lib/oraclebmc/load_balancer/models/certificate_details.rb"
253
- - "./lib/oraclebmc/load_balancer/models/create_backend_details.rb"
254
- - "./lib/oraclebmc/load_balancer/models/create_backend_set_details.rb"
255
- - "./lib/oraclebmc/load_balancer/models/create_certificate_details.rb"
256
- - "./lib/oraclebmc/load_balancer/models/create_listener_details.rb"
257
- - "./lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb"
258
- - "./lib/oraclebmc/load_balancer/models/health_checker.rb"
259
- - "./lib/oraclebmc/load_balancer/models/health_checker_details.rb"
260
- - "./lib/oraclebmc/load_balancer/models/ip_address.rb"
261
- - "./lib/oraclebmc/load_balancer/models/listener.rb"
262
- - "./lib/oraclebmc/load_balancer/models/listener_details.rb"
263
- - "./lib/oraclebmc/load_balancer/models/load_balancer.rb"
264
- - "./lib/oraclebmc/load_balancer/models/load_balancer_policy.rb"
265
- - "./lib/oraclebmc/load_balancer/models/load_balancer_protocol.rb"
266
- - "./lib/oraclebmc/load_balancer/models/load_balancer_shape.rb"
267
- - "./lib/oraclebmc/load_balancer/models/session_persistence_configuration_details.rb"
268
- - "./lib/oraclebmc/load_balancer/models/ssl_configuration.rb"
269
- - "./lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb"
270
- - "./lib/oraclebmc/load_balancer/models/update_backend_details.rb"
271
- - "./lib/oraclebmc/load_balancer/models/update_backend_set_details.rb"
272
- - "./lib/oraclebmc/load_balancer/models/update_health_checker_details.rb"
273
- - "./lib/oraclebmc/load_balancer/models/update_listener_details.rb"
274
- - "./lib/oraclebmc/load_balancer/models/update_load_balancer_details.rb"
275
- - "./lib/oraclebmc/load_balancer/models/work_request.rb"
276
- - "./lib/oraclebmc/load_balancer/models/work_request_error.rb"
277
- - "./lib/oraclebmc/load_balancer/util.rb"
278
- - "./lib/oraclebmc/regions.rb"
279
- - "./lib/oraclebmc/response.rb"
280
- - "./lib/oraclebmc/signer.rb"
281
- - "./lib/oraclebmc/version.rb"
282
- - "./lib/oraclebmc/waiter.rb"
283
37
  - LICENSE.txt
284
- - README.md
38
+ - README_BMCS.md
285
39
  homepage: https://docs.us-phoenix-1.oraclecloud.com/tools/ruby/latest/frames.html
286
40
  licenses:
287
41
  - UPL-1.0
288
42
  - Apache-2.0
289
43
  metadata: {}
290
- post_install_message:
44
+ post_install_message: |-
45
+ The oraclebmc gem is deprecated and will no longer be maintained starting March 2018. Please move to the oci gem instead to avoid interruption. The oci gem can be installed via
46
+
47
+ gem install oci
291
48
  rdoc_options: []
292
49
  require_paths:
293
50
  - lib
@@ -306,6 +63,6 @@ rubyforge_project:
306
63
  rubygems_version: 2.4.5.1
307
64
  signing_key:
308
65
  specification_version: 4
309
- summary: Oracle Bare Metal Cloud Services Ruby SDK
66
+ summary: Oracle Cloud Infrastructure Ruby SDK
310
67
  test_files: []
311
68
  has_rdoc: