Skip to content

Commit dcf955f

Browse files
authored
Merge pull request #233 from oracle/release_2020-03-17
Releasing version 2.12.0
2 parents 0cf9709 + 51dee9f commit dcf955f

File tree

59 files changed

+3411
-432
lines changed

Some content is hidden

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

59 files changed

+3411
-432
lines changed

CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ Change Log
33
All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
6+
====================
7+
2.12.0 - 2020-03-17
8+
====================
9+
10+
Added
11+
-----
12+
* Support for serial console connections in the Database service
13+
* Support for preview database versions in the Database service
14+
* Support for node reboot migration maintenance status and maintenance windows in the Database service
15+
* Support for using instance metadata API v2 for instance principals authentication
16+
* Upgraded configparser dependency version
17+
18+
Breaking
19+
--------
20+
* Deleted model autonomous_exadata_infrastructure_maintenance_window.py from the database service
21+
622
====================
723
2.11.0 - 2020-03-10
824
====================

README-development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Assuming that you have Python and `virtualenv` installed, set up your environmen
2121
2222
You should also set up your configuration files as described `here`__
2323

24-
__ https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm
24+
__ https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm
2525

2626
Running Tests
2727
=============

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Known Issues
118118
You can find information on any known issues with the SDK `here`__ and under the “Issues” tab of this
119119
project's `GitHub repository`__.
120120

121-
__ https://docs.us-phoenix-1.oraclecloud.com/Content/knownissues.htm
121+
__ https://docs.cloud.oracle.com/Content/knownissues.htm
122122
__ https://github.com/oracle/oci-python-sdk
123123

124124
=======

docs/api/database.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Database
4040
oci.database.models.AutonomousDbPreviewVersionSummary
4141
oci.database.models.AutonomousDbVersionSummary
4242
oci.database.models.AutonomousExadataInfrastructure
43-
oci.database.models.AutonomousExadataInfrastructureMaintenanceWindow
4443
oci.database.models.AutonomousExadataInfrastructureShapeSummary
4544
oci.database.models.AutonomousExadataInfrastructureSummary
4645
oci.database.models.Backup
@@ -52,6 +51,8 @@ Database
5251
oci.database.models.ChangeExadataInfrastructureCompartmentDetails
5352
oci.database.models.ChangeVmClusterCompartmentDetails
5453
oci.database.models.CompleteExternalBackupJobDetails
54+
oci.database.models.ConsoleConnection
55+
oci.database.models.ConsoleConnectionSummary
5556
oci.database.models.CreateAutonomousContainerDatabaseDetails
5657
oci.database.models.CreateAutonomousDataWarehouseBackupDetails
5758
oci.database.models.CreateAutonomousDataWarehouseDetails
@@ -63,6 +64,7 @@ Database
6364
oci.database.models.CreateAutonomousDatabaseFromBackupTimestampDetails
6465
oci.database.models.CreateBackupDestinationDetails
6566
oci.database.models.CreateBackupDetails
67+
oci.database.models.CreateConsoleConnectionDetails
6668
oci.database.models.CreateDataGuardAssociationDetails
6769
oci.database.models.CreateDataGuardAssociationToExistingDbSystemDetails
6870
oci.database.models.CreateDataGuardAssociationWithNewDbSystemDetails

docs/api/database/models/oci.database.models.AutonomousExadataInfrastructureMaintenanceWindow.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ConsoleConnection
2+
=================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: ConsoleConnection
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+
ConsoleConnectionSummary
2+
========================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: ConsoleConnectionSummary
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+
CreateConsoleConnectionDetails
2+
==============================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: CreateConsoleConnectionDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ If you want to use the private key which is not in the key file, key_content can
7676
These are supported across the SDKs, so if you've already set this file up for the Ruby or Java SDKs,
7777
you're all set.
7878

79-
__ https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm
79+
__ https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm

docs/installation.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ To install from GitHub:
9494
Before using the SDK, you must set up your config file with the required credentials.
9595
For instructions, see `SDK and Tool Configuration`_ in the User Guide.
9696

97-
.. _SDK and Tool Configuration: https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdkconfig.htm
97+
.. _SDK and Tool Configuration: https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm
9898

9999
Verify OpenSSL Version
100100
----------------------
@@ -128,7 +128,7 @@ You might encounter issues when installing Python or the SDK, or using the SDK i
128128

129129
Service Errors
130130
--------------
131-
Any operation resulting in a service error will cause an exception of type oci.exceptions.ServiceError to be thrown by the SDK. For information about common service errors, see `API Errors <https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm>`_.
131+
Any operation resulting in a service error will cause an exception of type oci.exceptions.ServiceError to be thrown by the SDK. For information about common service errors, see `API Errors <https://docs.cloud.oracle.com/Content/API/References/apierrors.htm>`_.
132132

133133

134134
pip 10 Installation Errors
@@ -173,11 +173,11 @@ SSL/TLS or Certificate Issues
173173
When trying to use the SDK, if you get an exception related to SSL/TLS or certificates/certificate validation, see the command for installing requests[security] in `Verify OpenSSL Version`_.
174174

175175

176-
.. _Adding Users: https://docs.us-phoenix-1.oraclecloud.com/Content/GSG/Tasks/addingusers.htm
177-
.. _Common Policies: https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/commonpolicies.htm
176+
.. _Adding Users: https://docs.cloud.oracle.com/Content/GSG/Tasks/addingusers.htm
177+
.. _Common Policies: https://docs.cloud.oracle.com/Content/Identity/Concepts/commonpolicies.htm
178178
.. _Cryptography.io: https://cryptography.io/en/latest/
179179
.. _Cryptography.io Installation: https://cryptography.io/en/latest/installation/
180-
.. _TLS 1.2: https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/sdks.htm
180+
.. _TLS 1.2: https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm
181181
.. _PyPI link: https://pypi.python.org/pypi
182182
.. _OpenSSL: https://www.openssl.org/
183183
.. _ConfiguringSDK: Configuring the SDK

docs/quickstart.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,6 @@ to explore the available operations for each service, and their parameters. Addi
219219
`ListApiKeys`_ operation is called with ``IdentityClient.list_api_keys`` and its parameter
220220
``userId`` is translated to ``user_id``.
221221

222-
.. _ListApiKeys: https://docs.us-phoenix-1.oraclecloud.com/api/#/en/identity/20160918/ApiKey/ListApiKeys
222+
.. _ListApiKeys: https://docs.cloud.oracle.com/api/#/en/identity/20160918/ApiKey/ListApiKeys
223223

224-
.. _User Guides: https://docs.us-phoenix-1.oraclecloud.com/Content/services.htm
224+
.. _User Guides: https://docs.cloud.oracle.com/Content/services.htm

examples/instance_principals_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
compartment_id = '<your compartment id here>'
77

8-
# By default this will hit the auth service in the region returned by http://169.254.169.254/opc/v1/instance/region on the instance.
8+
# By default this will hit the auth service in the region returned by http://169.254.169.254/opc/v2/instance/region on the instance.
99
signer = oci.auth.signers.InstancePrincipalsSecurityTokenSigner()
1010

1111
# In the base case, configuration does not need to be provided as the region and tenancy are obtained from the InstancePrincipalsSecurityTokenSigner

examples/launch_instance/user_data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# This file will be Base64-ed and provided as user_data when launching an instance.
4-
# See: https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/datatypes/LaunchInstanceDetails
4+
# See: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/LaunchInstanceDetails
55
# for more information
66

77
mkdir /tmp/mydir

0 commit comments

Comments
 (0)