Skip to content

Commit 75d8dd8

Browse files
committed
Releasing version 2.1.3
1 parent 438b7a4 commit 75d8dd8

File tree

118 files changed

+9955
-7077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+9955
-7077
lines changed

CHANGELOG.rst

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
66

77
====================
8-
2.1.2 - 2018-11-29
8+
2.1.3 - 12/13/2018
9+
====================
10+
11+
Added
12+
-----
13+
* Support for Data Guard for VM shapes in the Database service
14+
* Support for sparse disk groups for Exadata shapes in the Database service
15+
* Support for a new field, isLatestForMajorVersion, when listing DB versions in the Database service
16+
* Support for in-transit encryption for paravirtualized boot volume and data volume attachments in the Block Storage service
17+
* Support for tagging DNS Zones in the DNS service
18+
* Support for resetting credentials for SCIM clients associated with an Identity provider and updating user capabilities in the Identity service
19+
20+
Security
21+
-------
22+
* pyOpenSSL pinning was changed to pyOpenSSL>=17.5.0 and cryptography pinning to cryptography>=2.1.4 to address vulnerability `CVE-2018-1000808 <https://nvd.nist.gov/vuln/detail/CVE-2018-1000808>`__
23+
24+
====================
25+
2.1.2 - 2018-11-29
926
====================
1027

1128
Added
@@ -16,7 +33,6 @@ Added
1633
Fixed
1734
-----
1835
* Block Storage service for copying volume backups across regions is now enabled
19-
2036

2137
====================
2238
2.1.1 - 2018-11-15

LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
22

3-
This software is dual-licensed to you under the Universal Permissive License (UPL) and Apache License 2.0. See below for license terms. You may choose either license, or both.
3+
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
44
____________________________
55
The Universal Permissive License (UPL), Version 1.0
66
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
@@ -79,4 +79,4 @@ END OF TERMS AND CONDITIONS
7979
distributed under the License is distributed on an "AS IS" BASIS,
8080
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8181
See the License for the specific language governing permissions and
82-
limitations under the License.
82+
limitations under the License.

docs/api/database.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Database
3838
oci.database.models.CreateBackupDetails
3939
oci.database.models.CreateDataGuardAssociationDetails
4040
oci.database.models.CreateDataGuardAssociationToExistingDbSystemDetails
41+
oci.database.models.CreateDataGuardAssociationWithNewDbSystemDetails
4142
oci.database.models.CreateDatabaseDetails
4243
oci.database.models.CreateDatabaseFromBackupDetails
4344
oci.database.models.CreateDbHomeDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CreateDataGuardAssociationWithNewDbSystemDetails
2+
================================================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: CreateDataGuardAssociationWithNewDbSystemDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/dns.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DNS
2020

2121
oci.dns.models.CreateZoneDetails
2222
oci.dns.models.ExternalMaster
23+
oci.dns.models.Nameserver
2324
oci.dns.models.PatchDomainRecordsDetails
2425
oci.dns.models.PatchRRSetDetails
2526
oci.dns.models.PatchZoneRecordsDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Nameserver
2+
==========
3+
4+
.. currentmodule:: oci.dns.models
5+
6+
.. autoclass:: Nameserver
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/identity.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ Identity
4545
oci.identity.models.FaultDomain
4646
oci.identity.models.Group
4747
oci.identity.models.IdentityProvider
48+
oci.identity.models.IdentityProviderGroupSummary
4849
oci.identity.models.IdpGroupMapping
4950
oci.identity.models.Policy
5051
oci.identity.models.Region
5152
oci.identity.models.RegionSubscription
5253
oci.identity.models.Saml2IdentityProvider
54+
oci.identity.models.ScimClientCredentials
5355
oci.identity.models.SmtpCredential
5456
oci.identity.models.SmtpCredentialSummary
5557
oci.identity.models.SwiftPassword
@@ -73,8 +75,10 @@ Identity
7375
oci.identity.models.UpdateSwiftPasswordDetails
7476
oci.identity.models.UpdateTagDetails
7577
oci.identity.models.UpdateTagNamespaceDetails
78+
oci.identity.models.UpdateUserCapabilitiesDetails
7679
oci.identity.models.UpdateUserDetails
7780
oci.identity.models.User
81+
oci.identity.models.UserCapabilities
7882
oci.identity.models.UserGroupMembership
7983
oci.identity.models.WorkRequest
8084
oci.identity.models.WorkRequestError
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
IdentityProviderGroupSummary
2+
============================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: IdentityProviderGroupSummary
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ScimClientCredentials
2+
=====================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: ScimClientCredentials
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
UpdateUserCapabilitiesDetails
2+
=============================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: UpdateUserCapabilitiesDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
UserCapabilities
2+
================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: UserCapabilities
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/index.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,24 +80,24 @@ Block Storage
8080
:noindex:
8181

8282

83-
Compute
84-
========
83+
Compute
84+
=======
8585

8686
.. autoclass:: oci.core.compute_client.ComputeClient
8787
:members:
8888
:noindex:
8989

9090

91-
Compute Management
92-
===================
91+
Compute Management
92+
==================
9393

9494
.. autoclass:: oci.core.compute_management_client.ComputeManagementClient
9595
:members:
9696
:noindex:
9797

9898

99-
Virtual Network
100-
================
99+
Virtual Network
100+
===============
101101

102102
.. autoclass:: oci.core.virtual_network_client.VirtualNetworkClient
103103
:members:
@@ -251,24 +251,24 @@ Key Management
251251
---------
252252

253253

254-
Kms Crypto
255-
===========
254+
Kms Crypto
255+
==========
256256

257257
.. autoclass:: oci.key_management.kms_crypto_client.KmsCryptoClient
258258
:members:
259259
:noindex:
260260

261261

262-
Kms Management
263-
===============
262+
Kms Management
263+
==============
264264

265265
.. autoclass:: oci.key_management.kms_management_client.KmsManagementClient
266266
:members:
267267
:noindex:
268268

269269

270-
Kms Vault
271-
==========
270+
Kms Vault
271+
=========
272272

273273
.. autoclass:: oci.key_management.kms_vault_client.KmsVaultClient
274274
:members:

docs/api/landing.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ API Reference
33

44
.. rubric:: Service Clients
55

6-
* :doc:`Audit <audit>`
7-
* :doc:`Container Engine <container_engine>`
6+
* :doc:`Audit <audit/client/oci.audit.AuditClient>`
7+
* :doc:`Container Engine <container_engine/client/oci.container_engine.ContainerEngineClient>`
88
* :doc:`Block Storage <core/client/oci.core.BlockstorageClient>`
9-
* :doc:`Compute <core/client/oci.core.ComputeClient>`
10-
* :doc:`Compute Management <core/client/oci.core.ComputeManagementClient>`
11-
* :doc:`Virtual Network <core/client/oci.core.VirtualNetworkClient>`
12-
* :doc:`Database <database>`
13-
* :doc:`DNS <dns>`
14-
* :doc:`Email <email>`
15-
* :doc:`File Storage <file_storage>`
16-
* :doc:`Identity <identity>`
17-
* :doc:`Kms Crypto <key_management/client/oci.key_management.KmsCryptoClient>`
18-
* :doc:`Kms Management <key_management/client/oci.key_management.KmsManagementClient>`
19-
* :doc:`Kms Vault <key_management/client/oci.key_management.KmsVaultClient>`
20-
* :doc:`Load Balancer <load_balancer>`
21-
* :doc:`Object Storage <object_storage>`
22-
* :doc:`Resource Search <resource_search>`
9+
* :doc:`Compute <core/client/oci.core.ComputeClient>`
10+
* :doc:`Compute Management <core/client/oci.core.ComputeManagementClient>`
11+
* :doc:`Virtual Network <core/client/oci.core.VirtualNetworkClient>`
12+
* :doc:`Database <database/client/oci.database.DatabaseClient>`
13+
* :doc:`DNS <dns/client/oci.dns.DnsClient>`
14+
* :doc:`Email <email/client/oci.email.EmailClient>`
15+
* :doc:`File Storage <file_storage/client/oci.file_storage.FileStorageClient>`
16+
* :doc:`Identity <identity/client/oci.identity.IdentityClient>`
17+
* :doc:`Kms Crypto <key_management/client/oci.key_management.KmsCryptoClient>`
18+
* :doc:`Kms Management <key_management/client/oci.key_management.KmsManagementClient>`
19+
* :doc:`Kms Vault <key_management/client/oci.key_management.KmsVaultClient>`
20+
* :doc:`Load Balancer <load_balancer/client/oci.load_balancer.LoadBalancerClient>`
21+
* :doc:`Object Storage <object_storage/client/oci.object_storage.ObjectStorageClient>`
22+
* :doc:`Resource Search <resource_search/client/oci.resource_search.ResourceSearchClient>`
2323

2424
.. rubric:: Other Modules
2525

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ To get started, head over to the :ref:`installation instructions <install>` or s
4848
forward-compatibility
4949
backward-compatibility
5050
quickstart
51+
known-issues
5152
logging
5253
exceptions
5354
upload-manager

docs/installation.rst

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,43 @@ Installation
1515
This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Python SDK.
1616
The Python SDK supports operations for the following services:
1717

18-
* Audit Service
19-
* Core Services (Networking Service, Compute Service, and Block Volume Service)
20-
* Database Service
21-
* DNS Service
22-
* Email Service
23-
* File Storage Service
24-
* Identity and Access Management Service
25-
* Load Balancing Service
26-
* Object Storage Service
18+
* Audit
19+
* Container Engine for Kubernetes
20+
* Core Services (Networking, Compute, and Block Volume)
21+
* Database
22+
* DNS
23+
* Email
24+
* File Storage
25+
* IAM
26+
* Load Balancing
27+
* Object Storage
28+
* Search
29+
* Key Management
2730

2831

2932
===============
3033
Prerequisites
3134
===============
3235

33-
.. note::
34-
The Python SDK uses the `cryptography.io`_ library, which has its own additional `build requirements`_. Ensure
35-
that you satisfy those requirements prior to installing the Python SDK.
36+
The Python SDK requires:
37+
38+
* Python version 2.7.5 or 3.5 or later
39+
* `OpenSSL`_ version 1.0.1 or later. The Python SDK uses the `Cryptography.io`_ library which requires `OpenSSL`_. For details on all Cryptography.io prerequisites, see `Cryptography.io Installation`_.
40+
41+
In addition, all Oracle Cloud Infrastructure SDKs require:
3642

3743
* An Oracle Cloud Infrastructure account
3844
* A user created in that account, in a group with a policy that grants the desired permissions.
3945
This can be a user for yourself, or another person/system that needs to call the API.
4046
For an example of how to set up a new user, group, compartment, and policy, see
4147
`Adding Users`_ in the Getting Started Guide. For a list of other typical
4248
Oracle Cloud Infrastructure policies, see `Common Policies`_ in the User Guide.
43-
* Python version 2.7.5 or 3.5 or later, running on Mac, Windows, or Linux.
4449
* A keypair used for signing API requests, with the public key uploaded to Oracle. Only the user calling
4550
the API should be in possession of the private key. (For more information, see `Configuring the SDK`_.)
4651

4752

53+
54+
4855
====================================
4956
Downloading and Installing the SDK
5057
====================================
@@ -183,10 +190,10 @@ When trying to use the SDK, if you get an exception related to SSL/TLS or certif
183190

184191
.. _Adding Users: https://docs.us-phoenix-1.oraclecloud.com/Content/GSG/Tasks/addingusers.htm
185192
.. _Common Policies: https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm
186-
.. _cryptography.io: https://cryptography.io/en/latest/
187-
.. _build requirements: https://cryptography.io/en/latest/installation/
193+
.. _Cryptography.io: https://cryptography.io/en/latest/
194+
.. _Cryptography.io Installation: https://cryptography.io/en/latest/installation/
188195
.. _TLS 1.2: https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm
189196
.. _PyPI link: https://pypi.python.org/pypi
190-
.. _openssl: https://www.openssl.org/
197+
.. _OpenSSL: https://www.openssl.org/
191198
.. _ConfiguringSDK: Configuring the SDK
192199
.. _OSXUsers: Verify OpenSSL Version

docs/known-issues.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.. _known-issues:
2+
3+
Known Issues
4+
~~~~~~~~~~~~~~~~~~~~~~
5+
These are the current known issues for the Python SDK.
6+
7+
UploadManager generates ssl3_write_pending error when a read timeout is set for the Object Storage client
8+
=========================================================================================================
9+
**Details:** UploadManager generates the following error when a read timeout is set for the Object Storage client.
10+
11+
.. code-block:: python
12+
13+
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_write_pending', 'bad write retry')]
14+
15+
**Workaround:** Do not set the read timeout for the Object Storage client. There are a two ways to do so:
16+
17+
- Create an Object Storage client without setting a timeout.
18+
- Clear the timeout on an already initialized Object Storage client by setting the timeout of the base_client to ``None``.
19+
20+
.. code-block:: python
21+
22+
client.base_client.timeout = None
23+
24+
If you need to retain the connection timeout while clearing the read timeout, you can do so by setting the timeout to a tuple. The first item in the tuple is the connection timeout and the second is the read timeout. In the following example, the connection timeout is set to 90.0 seconds and the read timeout is set to infinite, or no timeout.
25+
26+
.. code-block:: python
27+
28+
client.base_client.timeout = (90.0, None)

0 commit comments

Comments
 (0)