Skip to content

Commit e91bfea

Browse files
anup-21HamadaGabrIbrahimharshkumar-devKanvipasrichalealex262
committed
Releasing version 3.23.4
Co-authored-by: Hamada Ibrahim <[email protected]> Co-authored-by: Harsh Kumar <[email protected]> Co-authored-by: Kanvi Pasricha <[email protected]> Co-authored-by: Alex Le <[email protected]> Co-authored-by: Nupur Gupta <[email protected]> Co-authored-by: Karthik Kamath <[email protected]> Co-authored-by: Mandy Tsai <[email protected]> Co-authored-by: Pankaj Joshi <[email protected]> Co-authored-by: Anup Singh <[email protected]>
1 parent 49ea155 commit e91bfea

File tree

25 files changed

+15712
-76
lines changed

25 files changed

+15712
-76
lines changed

CHANGELOG.rst

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,95 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
10+
3.23.4 - 2023-03-14
11+
--------------------
12+
* Support for Identity Domains service
13+
14+
* ``oci identity-domains``
15+
16+
* Database Service
17+
18+
* Support for Long Term Backup for Autonomous Databases on Exadata Cloud at Customer
19+
20+
* ``oci db autonomous-database-backup create --backup-destination-details``
21+
* ``oci db autonomous-database-backup list --type``
22+
23+
* Container Engine for Kubernetes service
24+
25+
* Support for enhanced cluster
26+
27+
* ``oci ce cluster create --type``
28+
* ``oci ce cluster update --type``
29+
30+
* Support for Cluster AddOns
31+
32+
* ``oci ce addon``
33+
34+
* Support for Serverless
35+
36+
* ``oci ce virtual-node-pool``
37+
38+
* Data integration service
39+
40+
* Support for copy objects and template retrieval
41+
42+
* ``oci data-integration workspace copy-object-request create``
43+
* ``oci data-integration workspace copy-object-request get``
44+
* ``oci data-integration workspace delete-copy-object-request``
45+
* ``oci data-integration workspace update-copy-object-request``
46+
* ``oci data-integration workspace copy-object-request-summary-collection list-copy-object-requests``
47+
* ``oci data-integration template get``
48+
* ``oci data-integration template list``
49+
50+
* Goldengate service
51+
52+
* Support for managing available deployment version in the system
53+
54+
* ``oci goldengate deployment-version``
55+
56+
* Support for listing deployment versions
57+
58+
* ``oci goldengate deployment-version list``
59+
60+
* Support new commands for deployment upgrade entity
61+
62+
* ``oci goldengate deployment-upgrade upgrade``
63+
* ``oci goldengate deployment-upgrade rollback``
64+
* ``oci goldengate deployment-upgrade snooze``
65+
* ``oci goldengate deployment-upgrade cancel-snooze``
66+
67+
* Support for specifying oggVersion when upgrading a deployment
68+
69+
* ``oci goldengate deployment upgrade-to``
70+
71+
* Support for specifying maintenance-window and ogg version in case of create deployment
72+
73+
* ``oci goldengate deployment create --maintenance-window-day --maintenance-window-start-hour --ogg-version``
74+
75+
* Support for specifying maintenance-window in case of update deployment
76+
77+
* ``oci goldengate deployment create --maintenance-window-day --maintenance-window-start-hour``
78+
79+
* Support for specifying deployment type and ogg versions when listing deployment types
80+
81+
* ``oci goldengate deployment-type-collection list-deployment-types --deployment-type --ogg-version``
82+
83+
* Operations Insights
84+
85+
* Support in OPSI Host Capacity planning for Host network metrics
86+
87+
* ``oci opsi host-insights summarize-network-usage-trend --compartment-id --id --analysis-time-interval``
88+
89+
* Support in OPSI Host Capacity planning for Host storage metrics
90+
91+
* ``oci opsi host-insights summarize-storage-usage-trend --compartment-id --id --analysis-time-interval``
92+
93+
Fixed
94+
~~~~~
95+
96+
* Upgraded the cryptography version to (>=3.2.1,<40.0.0) and pyOpenSSL version to (>=17.5.0,<24.0.0') to fix CVE-2023-0286 and CVE-2023-23931
97+
998
3.23.3 - 2023-03-07
1099
--------------------
11100
Added

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ certifi
88
cffi>=1.9.1
99
click==8.0.4
1010
coverage==4.5.2
11-
cryptography>=3.2.1,<39.0.0
11+
cryptography>=3.2.1,<40.0.0
1212
httpsig-cffi==15.0.0
1313
Jinja2==3.0.3
1414
jmespath==0.10.0
1515
ndg-httpsclient==0.4.2
1616
mock==2.0.0
17-
oci==2.94.0
17+
oci==2.95.0
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.10.0
2121
pyasn1==0.2.3
22-
pyOpenSSL>=17.5.0,<=22.1.0
22+
pyOpenSSL>=17.5.0,<24.0.0
2323
pycparser==2.20
2424
pyparsing==2.2.0
2525
pytest==4.6.10; python_version <= '3.9'

services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py

Lines changed: 891 additions & 31 deletions
Large diffs are not rendered by default.

services/core/src/oci_cli_compute/computepic_cli_extended.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,6 @@ def create_app_catalog_subscription(ctx, **kwargs):
141141

142142
# Remove instance-action-reboot-migrate-action-details from oci compute instance
143143
compute_cli.instance_group.commands.pop(compute_cli.instance_action_reboot_migrate_action_details.name)
144+
145+
# Remove launch-instance-amd-milan-bm-gpu-launch-instance-platform-config from oci compute instance
146+
compute_cli.instance_group.commands.pop(compute_cli.launch_instance_amd_milan_bm_gpu_launch_instance_platform_config.name)

services/core/src/oci_cli_compute/generated/compute_cli.py

Lines changed: 247 additions & 0 deletions
Large diffs are not rendered by default.

services/data_integration/src/oci_cli_data_integration/generated/dataintegration_cli.py

Lines changed: 629 additions & 1 deletion
Large diffs are not rendered by default.

services/database/src/oci_cli_database/generated/database_cli.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4262,15 +4262,16 @@ def create_autonomous_database_create_autonomous_database_details(ctx, from_json
42624262
@cli_util.option('--display-name', help=u"""The user-friendly name for the backup. The name does not have to be unique.""")
42634263
@cli_util.option('--retention-period-in-days', type=click.INT, help=u"""Retention period, in days, for long-term backups""")
42644264
@cli_util.option('--is-long-term-backup', type=click.BOOL, help=u"""Indicates whether the backup is long-term""")
4265+
@cli_util.option('--backup-destination-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
42654266
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
42664267
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
42674268
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
4268-
@json_skeleton_utils.get_cli_json_input_option({})
4269+
@json_skeleton_utils.get_cli_json_input_option({'backup-destination-details': {'module': 'database', 'class': 'BackupDestinationDetails'}})
42694270
@cli_util.help_option
42704271
@click.pass_context
4271-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'AutonomousDatabaseBackup'})
4272+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'backup-destination-details': {'module': 'database', 'class': 'BackupDestinationDetails'}}, output_type={'module': 'database', 'class': 'AutonomousDatabaseBackup'})
42724273
@cli_util.wrap_exceptions
4273-
def create_autonomous_database_backup(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, display_name, retention_period_in_days, is_long_term_backup):
4274+
def create_autonomous_database_backup(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, display_name, retention_period_in_days, is_long_term_backup, backup_destination_details):
42744275

42754276
kwargs = {}
42764277
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -4287,6 +4288,9 @@ def create_autonomous_database_backup(ctx, from_json, wait_for_state, max_wait_s
42874288
if is_long_term_backup is not None:
42884289
_details['isLongTermBackup'] = is_long_term_backup
42894290

4291+
if backup_destination_details is not None:
4292+
_details['backupDestinationDetails'] = cli_util.parse_json_parameter("backup_destination_details", backup_destination_details)
4293+
42904294
client = cli_util.build_client('database', 'database', ctx)
42914295
result = client.create_autonomous_database_backup(
42924296
create_autonomous_database_backup_details=_details,
@@ -12909,14 +12913,15 @@ def list_autonomous_container_databases(ctx, from_json, all_pages, page_size, co
1290912913
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
1291012914
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING"]), help=u"""A filter to return only resources that match the given lifecycle state exactly.""")
1291112915
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given. The match is not case sensitive.""")
12916+
@cli_util.option('--type', help=u"""A filter to return only backups that matches with the given type of Backup.""")
1291212917
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
1291312918
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
1291412919
@json_skeleton_utils.get_cli_json_input_option({})
1291512920
@cli_util.help_option
1291612921
@click.pass_context
1291712922
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[AutonomousDatabaseBackupSummary]'})
1291812923
@cli_util.wrap_exceptions
12919-
def list_autonomous_database_backups(ctx, from_json, all_pages, page_size, autonomous_database_id, compartment_id, limit, page, sort_by, sort_order, lifecycle_state, display_name):
12924+
def list_autonomous_database_backups(ctx, from_json, all_pages, page_size, autonomous_database_id, compartment_id, limit, page, sort_by, sort_order, lifecycle_state, display_name, type):
1292012925

1292112926
if all_pages and limit:
1292212927
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
@@ -12938,6 +12943,8 @@ def list_autonomous_database_backups(ctx, from_json, all_pages, page_size, auton
1293812943
kwargs['lifecycle_state'] = lifecycle_state
1293912944
if display_name is not None:
1294012945
kwargs['display_name'] = display_name
12946+
if type is not None:
12947+
kwargs['type'] = type
1294112948
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
1294212949
client = cli_util.build_client('database', 'database', ctx)
1294312950
if all_pages:

services/dts/src/oci_cli_appliance_export_job/applianceexportjob_cli_extended.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def setup_notifications_extended(ctx):
6767
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'dts', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dts', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dts', 'class': 'ApplianceExportJob'})
6868
@cli_util.wrap_exceptions
6969
def create_appliance_export_job_extended(ctx, **kwargs):
70-
70+
ctx_endpoint_dts = ctx.obj['endpoint']
7171
ctx.endpoint = None
7272
ctx.obj['endpoint'] = None
7373
os_client = create_os_client(ctx)
@@ -95,6 +95,7 @@ def create_appliance_export_job_extended(ctx, **kwargs):
9595
elif kwargs['setup_notifications']:
9696
setup_export_notifications(ctx)
9797
kwargs.pop('setup_notifications')
98+
ctx.obj['endpoint'] = ctx_endpoint_dts
9899
ctx.invoke(applianceexportjob_cli.create_appliance_export_job, **kwargs)
99100

100101

@@ -208,8 +209,6 @@ def get_passphrase_export_job_extended(ctx, **kwargs):
208209
kwargs_request = {
209210
'opc_request_id': cli_util.use_or_generate_request_id(ctx.obj['request_id'])
210211
}
211-
ctx.endpoint = None
212-
ctx.obj['endpoint'] = None
213212
client = cli_util.build_client('dts', 'appliance_export_job', ctx)
214213
result = client.get_appliance_export_job(
215214
appliance_export_job_id=kwargs['job_id'],

0 commit comments

Comments
 (0)