Skip to content

Commit f589818

Browse files
authored
Releasing version 2.19.0
Releasing version 2.19.0
2 parents 6fdc654 + 79c36a4 commit f589818

File tree

68 files changed

+4785
-325
lines changed

Some content is hidden

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

68 files changed

+4785
-325
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.19.0 - 2020-07-28
8+
====================
9+
10+
Added
11+
-----
12+
* Support for calling Oracle Cloud Infrastructure services in the us-sanjose-1 region
13+
* Support for updating the fault domain and launch options of VM instances in the Compute service
14+
* Support for image capability schemas and schema versions in the Compute service
15+
* Support for 'Patch Now' maintenance runs for autonomous Exadata infrastructure and autonomous container database resources in the Database service
16+
* Support for automatic performance and cost tuning on volumes in the Block Storage service
17+
18+
Breaking
19+
--------
20+
* Removed the accessToken field from the GitlabAccessTokenConfigurationSourceProvider model in the Resource Manager service
21+
622
====================
723
2.18.1 - 2020-07-21
824
====================

docs/api/core.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Core Services
4444
oci.core.models.AttachVnicDetails
4545
oci.core.models.AttachVolumeDetails
4646
oci.core.models.BgpSessionInfo
47+
oci.core.models.BooleanImageCapabilitySchemaDescriptor
4748
oci.core.models.BootVolume
4849
oci.core.models.BootVolumeAttachment
4950
oci.core.models.BootVolumeBackup
@@ -57,6 +58,7 @@ Core Services
5758
oci.core.models.ChangeBootVolumeBackupCompartmentDetails
5859
oci.core.models.ChangeBootVolumeCompartmentDetails
5960
oci.core.models.ChangeClusterNetworkCompartmentDetails
61+
oci.core.models.ChangeComputeImageCapabilitySchemaCompartmentDetails
6062
oci.core.models.ChangeCpeCompartmentDetails
6163
oci.core.models.ChangeCrossConnectCompartmentDetails
6264
oci.core.models.ChangeCrossConnectGroupCompartmentDetails
@@ -88,6 +90,12 @@ Core Services
8890
oci.core.models.ClusterNetwork
8991
oci.core.models.ClusterNetworkPlacementConfigurationDetails
9092
oci.core.models.ClusterNetworkSummary
93+
oci.core.models.ComputeGlobalImageCapabilitySchema
94+
oci.core.models.ComputeGlobalImageCapabilitySchemaSummary
95+
oci.core.models.ComputeGlobalImageCapabilitySchemaVersion
96+
oci.core.models.ComputeGlobalImageCapabilitySchemaVersionSummary
97+
oci.core.models.ComputeImageCapabilitySchema
98+
oci.core.models.ComputeImageCapabilitySchemaSummary
9199
oci.core.models.ComputeInstanceDetails
92100
oci.core.models.ConnectLocalPeeringGatewaysDetails
93101
oci.core.models.ConnectRemotePeeringConnectionsDetails
@@ -105,6 +113,7 @@ Core Services
105113
oci.core.models.CreateBootVolumeDetails
106114
oci.core.models.CreateClusterNetworkDetails
107115
oci.core.models.CreateClusterNetworkInstancePoolDetails
116+
oci.core.models.CreateComputeImageCapabilitySchemaDetails
108117
oci.core.models.CreateCpeDetails
109118
oci.core.models.CreateCrossConnectDetails
110119
oci.core.models.CreateCrossConnectGroupDetails
@@ -168,6 +177,8 @@ Core Services
168177
oci.core.models.DrgRedundancyStatus
169178
oci.core.models.EgressSecurityRule
170179
oci.core.models.EmulatedVolumeAttachment
180+
oci.core.models.EnumIntegerImageCapabilityDescriptor
181+
oci.core.models.EnumStringImageCapabilitySchemaDescriptor
171182
oci.core.models.ExportImageDetails
172183
oci.core.models.ExportImageViaObjectStorageTupleDetails
173184
oci.core.models.ExportImageViaObjectStorageUriDetails
@@ -183,6 +194,7 @@ Core Services
183194
oci.core.models.IScsiVolumeAttachment
184195
oci.core.models.IcmpOptions
185196
oci.core.models.Image
197+
oci.core.models.ImageCapabilitySchemaDescriptor
186198
oci.core.models.ImageOcpuConstraints
187199
oci.core.models.ImageShapeCompatibilityEntry
188200
oci.core.models.ImageShapeCompatibilitySummary
@@ -267,6 +279,7 @@ Core Services
267279
oci.core.models.UpdateBootVolumeDetails
268280
oci.core.models.UpdateBootVolumeKmsKeyDetails
269281
oci.core.models.UpdateClusterNetworkDetails
282+
oci.core.models.UpdateComputeImageCapabilitySchemaDetails
270283
oci.core.models.UpdateConsoleHistoryDetails
271284
oci.core.models.UpdateCpeDetails
272285
oci.core.models.UpdateCrossConnectDetails
@@ -288,6 +301,7 @@ Core Services
288301
oci.core.models.UpdateInstanceShapeConfigDetails
289302
oci.core.models.UpdateInternetGatewayDetails
290303
oci.core.models.UpdateIpv6Details
304+
oci.core.models.UpdateLaunchOptions
291305
oci.core.models.UpdateLocalPeeringGatewayDetails
292306
oci.core.models.UpdateNatGatewayDetails
293307
oci.core.models.UpdateNetworkSecurityGroupDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
BooleanImageCapabilitySchemaDescriptor
2+
======================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: BooleanImageCapabilitySchemaDescriptor
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+
ChangeComputeImageCapabilitySchemaCompartmentDetails
2+
====================================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ChangeComputeImageCapabilitySchemaCompartmentDetails
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+
ComputeGlobalImageCapabilitySchema
2+
==================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ComputeGlobalImageCapabilitySchema
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+
ComputeGlobalImageCapabilitySchemaSummary
2+
=========================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ComputeGlobalImageCapabilitySchemaSummary
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+
ComputeGlobalImageCapabilitySchemaVersion
2+
=========================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ComputeGlobalImageCapabilitySchemaVersion
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+
ComputeGlobalImageCapabilitySchemaVersionSummary
2+
================================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ComputeGlobalImageCapabilitySchemaVersionSummary
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+
ComputeImageCapabilitySchema
2+
============================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ComputeImageCapabilitySchema
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+
ComputeImageCapabilitySchemaSummary
2+
===================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ComputeImageCapabilitySchemaSummary
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+
CreateComputeImageCapabilitySchemaDetails
2+
=========================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: CreateComputeImageCapabilitySchemaDetails
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+
EnumIntegerImageCapabilityDescriptor
2+
====================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: EnumIntegerImageCapabilityDescriptor
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+
EnumStringImageCapabilitySchemaDescriptor
2+
=========================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: EnumStringImageCapabilitySchemaDescriptor
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+
ImageCapabilitySchemaDescriptor
2+
===============================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: ImageCapabilitySchemaDescriptor
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+
UpdateComputeImageCapabilitySchemaDetails
2+
=========================================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: UpdateComputeImageCapabilitySchemaDetails
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+
UpdateLaunchOptions
2+
===================
3+
4+
.. currentmodule:: oci.core.models
5+
6+
.. autoclass:: UpdateLaunchOptions
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

examples/showoci/CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ 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/>`_.
66

7+
=====================
8+
20.07.28 - 2020-07-28
9+
=====================
10+
* Added Autonomous database properties for standby database
11+
712
=====================
813
20.07.21 - 2020-07-21
914
=====================

examples/showoci/showoci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
import argparse
8787
import datetime
8888

89-
version = "20.07.21"
89+
version = "20.07.28"
9090

9191
##########################################################################
9292
# check OCI version

examples/showoci/showoci_data.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,9 @@ def __get_database_autonomous_databases(self, region_name, compartment):
19401940
list_autos = self.service.search_multi_items(self.service.C_DATABASE, self.service.C_DATABASE_AUTONOMOUS, 'region_name', region_name, 'compartment_id', compartment['id'])
19411941

19421942
for dbs in list_autos:
1943-
value = {'id': str(dbs['id']), 'name': str(dbs['db_name']) + " (" + (str(dbs['display_name']) + ") - " + str(dbs['license_model']) + " - " + str(dbs['lifecycle_state']) + " (" + str(dbs['sum_count']) + " OCPUs" + (" AutoScale" if dbs['is_auto_scaling_enabled'] else "") + ") - " + dbs['db_workload'] + " - " + dbs['db_type']),
1943+
freemsg = ", FreeTier" if dbs['is_free_tier'] else ""
1944+
value = {'id': str(dbs['id']),
1945+
'name': str(dbs['db_name']) + " (" + (str(dbs['display_name']) + ") - " + str(dbs['license_model']) + " - " + str(dbs['lifecycle_state']) + " (" + str(dbs['sum_count']) + " OCPUs" + (" AutoScale" if dbs['is_auto_scaling_enabled'] else "") + ") - " + dbs['db_workload'] + " - " + dbs['db_type'] + freemsg),
19441946
'display_name': dbs['display_name'],
19451947
'license_model': dbs['license_model'],
19461948
'lifecycle_state': dbs['lifecycle_state'],
@@ -1972,7 +1974,23 @@ def __get_database_autonomous_databases(self, region_name, compartment):
19721974
'nsg_names': [],
19731975
'private_endpoint': dbs['private_endpoint'],
19741976
'private_endpoint_label': dbs['private_endpoint_label'],
1975-
'defined_tags': dbs['defined_tags'], 'freeform_tags': dbs['freeform_tags']}
1977+
'defined_tags': dbs['defined_tags'],
1978+
'freeform_tags': dbs['freeform_tags'],
1979+
'is_free_tier': dbs['is_free_tier'],
1980+
'is_preview': dbs['is_preview'],
1981+
'infrastructure_type': dbs['infrastructure_type'],
1982+
'time_deletion_of_free_autonomous_database': dbs['time_deletion_of_free_autonomous_database'],
1983+
'time_reclamation_of_free_autonomous_database': dbs['time_reclamation_of_free_autonomous_database'],
1984+
'system_tags': dbs['system_tags'],
1985+
'time_of_last_switchover': dbs['time_of_last_switchover'],
1986+
'time_of_last_failover': dbs['time_of_last_failover'],
1987+
'failed_data_recovery_in_seconds': dbs['failed_data_recovery_in_seconds'],
1988+
'available_upgrade_versions': dbs['available_upgrade_versions'],
1989+
'standby_lag_time_in_seconds': dbs['standby_lag_time_in_seconds'],
1990+
'standby_lifecycle_state': dbs['standby_lifecycle_state'],
1991+
'autonomous_container_database_id': dbs['autonomous_container_database_id'],
1992+
'is_data_guard_enabled': dbs['is_data_guard_enabled']
1993+
}
19761994

19771995
# subnet
19781996
if dbs['subnet_id'] != 'None':

examples/showoci/showoci_output.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,8 @@ def __print_database_db_autonomous(self, dbs):
970970
print(self.tabs + "DataSafe : " + db['data_safe_status'])
971971
if 'time_maintenance_begin' in db:
972972
print(self.tabs + "Maintenance: " + db['time_maintenance_begin'][0:16] + " - " + db['time_maintenance_end'][0:16])
973+
if db['is_data_guard_enabled']:
974+
print(self.tabs + "Data Guard : Lag In Second: " + db['standby_lag_time_in_seconds'] + ", lifecycle: " + db['standby_lifecycle_state'] + ", Last Switch: " + db['time_of_last_switchover'][0:16] + ", Last Failover: " + db['time_of_last_switchover'][0:16])
973975

974976
# print backups
975977
if db['backups']:

examples/showoci/showoci_service.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6223,9 +6223,28 @@ def __load_database_autonomouns(self, database_client, compartments):
62236223
'nsg_ids': dbs.nsg_ids,
62246224
'private_endpoint': str(dbs.private_endpoint),
62256225
'private_endpoint_label': str(dbs.private_endpoint_label),
6226-
'backups': []
6226+
'backups': [],
6227+
'autonomous_container_database_id': str(dbs.autonomous_container_database_id),
6228+
'is_data_guard_enabled': dbs.is_data_guard_enabled,
6229+
'is_free_tier': dbs.is_free_tier,
6230+
'is_preview': dbs.is_preview,
6231+
'infrastructure_type': str(dbs.infrastructure_type),
6232+
'time_deletion_of_free_autonomous_database': str(dbs.time_deletion_of_free_autonomous_database),
6233+
'time_reclamation_of_free_autonomous_database': str(dbs.time_reclamation_of_free_autonomous_database),
6234+
'system_tags': dbs.system_tags,
6235+
'time_of_last_switchover': str(dbs.time_of_last_switchover),
6236+
'time_of_last_failover': str(dbs.time_of_last_failover),
6237+
'failed_data_recovery_in_seconds': str(dbs.failed_data_recovery_in_seconds),
6238+
'available_upgrade_versions': dbs.available_upgrade_versions,
6239+
'standby_lag_time_in_seconds': "",
6240+
'standby_lifecycle_state': ""
62276241
}
62286242

6243+
# if standby object exist
6244+
if dbs.standby_db:
6245+
value['standby_lag_time_in_seconds'] = str(dbs.standby_db.lag_time_in_seconds)
6246+
value['standby_lifecycle_state'] = str(dbs.standby_db.lifecycle_state)
6247+
62296248
# load bakcups
62306249
if not self.flags.skip_backups:
62316250
value['backups'] = self.__load_database_autonomouns_backups(database_client, dbs.id)

examples/usage_reports_to_adw/CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ 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/>`_.
66

7+
=====================
8+
20.07.28 - 2020-07-28
9+
=====================
10+
* Added sleep 0.5 to the public API call to avoid too many requests error
11+
* Change Public Rate API to use one value only after OCI change costs
12+
713
=====================
814
20.07.21 - 2020-07-21
915
=====================

0 commit comments

Comments
 (0)