Skip to content

Commit 624b9e7

Browse files
Releasing version 3.33.3
Releasing version 3.33.3
2 parents aa602a5 + 567cdc9 commit 624b9e7

File tree

11 files changed

+2094
-312
lines changed

11 files changed

+2094
-312
lines changed

CHANGELOG.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,49 @@ 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+
3.33.3 - 2023-10-03
10+
--------------------
11+
Added
12+
~~~~~
13+
* Database Service
14+
15+
* Support for resource-pool-shapes for autonomous databases
16+
17+
* ``oci db autonomous-database resource-pool-shapes``
18+
19+
* Support for Elastic Resource Pools for autonomous databases, adding two optional parameter
20+
21+
* ``oci db autonomous-database create --resource-pool-leader-id --resource-pool-summary``
22+
* ``oci db autonomous-database create-adb-cross-region-data-guard-details --resource-pool-leader-id --resource-pool-summary``
23+
* ``oci db autonomous-database create-autonomous-database-create-cross-region-disaster-recovery-details --resource-pool-leader-id --resource-pool-summary``
24+
* ``oci db autonomous-database create-from-backup-id --resource-pool-leader-id --resource-pool-summary``
25+
* ``oci db autonomous-database create-from-backup-timestamp --resource-pool-leader-id --resource-pool-summary``
26+
* ``oci db autonomous-database create-from-clone --resource-pool-leader-id --resource-pool-summary``
27+
* ``oci db autonomous-database create-refreshable-clone --resource-pool-leader-id --resource-pool-summary``
28+
* ``oci db autonomous-database update --resource-pool-leader-id --resource-pool-summary``
29+
* ``oci db autonomous-database list --is-resource-pool-leader --resource-pool-leader-id``
30+
31+
* Support for Private Endpoints in Data Science Service
32+
33+
* ``oci data-science ds-private-endpoint``
34+
35+
* Support for File System Service (FSS) as transfer medium for Datapump export/import in the Database Migration Service (DMS)
36+
37+
* Support for new optional parameter
38+
39+
* ``oci database-migration migration create --data-transfer-medium-details``
40+
* ``oci database-migration migration update --data-transfer-medium-details``
41+
* ``oci database-migration migration create --dump-transfer-details``
42+
* ``oci database-migration migration update --dump-transfer-details``
43+
* ``oci database-migration migration create --data-transfer-medium-details-v2``
44+
* ``oci database-migration migration update --data-transfer-medium-details-v2``
45+
46+
* Support for new optional parameters for Replica in the MySQL Heatwave Service
47+
48+
* ``oci mysql replica create --replica-overrides``
49+
* ``oci mysql replica update --replica-overrides``
50+
* ``oci mysql replica list --configuration-id --is-up-to-date``
51+
952
3.33.2 - 2023-09-26
1053
--------------------
1154
Added

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Jinja2==3.0.3
1414
jmespath==0.10.0
1515
ndg-httpsclient==0.4.2
1616
mock==2.0.0
17-
oci==2.112.2
17+
oci==2.112.3
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.11.0

services/data_science/src/oci_cli_data_science/datascience_cli_extended.py

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,3 +471,97 @@ def list_pipeline_runs(ctx, from_json, all_pages, page_size, compartment_id, id,
471471

472472
# Remove create-pipeline-run-pipeline-default-configuration-details from oci data-science pipeline-run
473473
datascience_cli.pipeline_run_group.commands.pop(datascience_cli.create_pipeline_run_pipeline_default_configuration_details.name)
474+
475+
476+
# oci data-science data-science-private-endpoint -> oci data-science ds-private-endpoint
477+
cli_util.rename_command(datascience_cli, datascience_cli.data_science_root_group, datascience_cli.data_science_private_endpoint_group, "ds-private-endpoint")
478+
479+
480+
@cli_util.copy_params_from_generated_command(datascience_cli.change_data_science_private_endpoint_compartment, params_to_exclude=['data_science_private_endpoint_id'])
481+
@datascience_cli.data_science_private_endpoint_group.command(name=datascience_cli.change_data_science_private_endpoint_compartment.name, help=datascience_cli.change_data_science_private_endpoint_compartment.help)
482+
@cli_util.option('--ds-private-endpoint-id', required=True, help=u"""The unique ID for a Data Science private endpoint. [required]""")
483+
@click.pass_context
484+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
485+
@cli_util.wrap_exceptions
486+
def change_data_science_private_endpoint_compartment_extended(ctx, **kwargs):
487+
488+
if 'ds_private_endpoint_id' in kwargs:
489+
kwargs['data_science_private_endpoint_id'] = kwargs['ds_private_endpoint_id']
490+
kwargs.pop('ds_private_endpoint_id')
491+
492+
ctx.invoke(datascience_cli.change_data_science_private_endpoint_compartment, **kwargs)
493+
494+
495+
@cli_util.copy_params_from_generated_command(datascience_cli.create_data_science_private_endpoint, params_to_exclude=['data_science_resource_type'])
496+
@datascience_cli.data_science_private_endpoint_group.command(name=datascience_cli.create_data_science_private_endpoint.name, help=datascience_cli.create_data_science_private_endpoint.help)
497+
@cli_util.option('--ds-resource-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["NOTEBOOK_SESSION"]), help=u"""Data Science resource type. [required]""")
498+
@click.pass_context
499+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'data_science', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'data_science', 'class': 'dict(str, dict(str, object))'}, 'nsg-ids': {'module': 'data_science', 'class': 'list[string]'}}, output_type={'module': 'data_science', 'class': 'DataSciencePrivateEndpoint'})
500+
@cli_util.wrap_exceptions
501+
def create_data_science_private_endpoint_extended(ctx, **kwargs):
502+
503+
if 'ds_resource_type' in kwargs:
504+
kwargs['data_science_resource_type'] = kwargs['ds_resource_type']
505+
kwargs.pop('ds_resource_type')
506+
507+
ctx.invoke(datascience_cli.create_data_science_private_endpoint, **kwargs)
508+
509+
510+
@cli_util.copy_params_from_generated_command(datascience_cli.delete_data_science_private_endpoint, params_to_exclude=['data_science_private_endpoint_id'])
511+
@datascience_cli.data_science_private_endpoint_group.command(name=datascience_cli.delete_data_science_private_endpoint.name, help=datascience_cli.delete_data_science_private_endpoint.help)
512+
@cli_util.option('--ds-private-endpoint-id', required=True, help=u"""The unique ID for a Data Science private endpoint. [required]""")
513+
@click.pass_context
514+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
515+
@cli_util.wrap_exceptions
516+
def delete_data_science_private_endpoint_extended(ctx, **kwargs):
517+
518+
if 'ds_private_endpoint_id' in kwargs:
519+
kwargs['data_science_private_endpoint_id'] = kwargs['ds_private_endpoint_id']
520+
kwargs.pop('ds_private_endpoint_id')
521+
522+
ctx.invoke(datascience_cli.delete_data_science_private_endpoint, **kwargs)
523+
524+
525+
@cli_util.copy_params_from_generated_command(datascience_cli.get_data_science_private_endpoint, params_to_exclude=['data_science_private_endpoint_id'])
526+
@datascience_cli.data_science_private_endpoint_group.command(name=datascience_cli.get_data_science_private_endpoint.name, help=datascience_cli.get_data_science_private_endpoint.help)
527+
@cli_util.option('--ds-private-endpoint-id', required=True, help=u"""The unique ID for a Data Science private endpoint. [required]""")
528+
@click.pass_context
529+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'data_science', 'class': 'DataSciencePrivateEndpoint'})
530+
@cli_util.wrap_exceptions
531+
def get_data_science_private_endpoint_extended(ctx, **kwargs):
532+
533+
if 'ds_private_endpoint_id' in kwargs:
534+
kwargs['data_science_private_endpoint_id'] = kwargs['ds_private_endpoint_id']
535+
kwargs.pop('ds_private_endpoint_id')
536+
537+
ctx.invoke(datascience_cli.get_data_science_private_endpoint, **kwargs)
538+
539+
540+
@cli_util.copy_params_from_generated_command(datascience_cli.list_data_science_private_endpoints, params_to_exclude=['data_science_resource_type'])
541+
@datascience_cli.data_science_private_endpoint_group.command(name=datascience_cli.list_data_science_private_endpoints.name, help=datascience_cli.list_data_science_private_endpoints.help)
542+
@cli_util.option('--ds-resource-type', type=custom_types.CliCaseInsensitiveChoice(["NOTEBOOK_SESSION"]), help=u"""Resource types in the Data Science service such as notebooks.""")
543+
@click.pass_context
544+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'data_science', 'class': 'list[DataSciencePrivateEndpointSummary]'})
545+
@cli_util.wrap_exceptions
546+
def list_data_science_private_endpoints_extended(ctx, **kwargs):
547+
548+
if 'ds_resource_type' in kwargs:
549+
kwargs['data_science_resource_type'] = kwargs['ds_resource_type']
550+
kwargs.pop('ds_resource_type')
551+
552+
ctx.invoke(datascience_cli.list_data_science_private_endpoints, **kwargs)
553+
554+
555+
@cli_util.copy_params_from_generated_command(datascience_cli.update_data_science_private_endpoint, params_to_exclude=['data_science_private_endpoint_id'])
556+
@datascience_cli.data_science_private_endpoint_group.command(name=datascience_cli.update_data_science_private_endpoint.name, help=datascience_cli.update_data_science_private_endpoint.help)
557+
@cli_util.option('--ds-private-endpoint-id', required=True, help=u"""The unique ID for a Data Science private endpoint. [required]""")
558+
@click.pass_context
559+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'data_science', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'data_science', 'class': 'dict(str, dict(str, object))'}, 'nsg-ids': {'module': 'data_science', 'class': 'list[string]'}}, output_type={'module': 'data_science', 'class': 'DataSciencePrivateEndpoint'})
560+
@cli_util.wrap_exceptions
561+
def update_data_science_private_endpoint_extended(ctx, **kwargs):
562+
563+
if 'ds_private_endpoint_id' in kwargs:
564+
kwargs['data_science_private_endpoint_id'] = kwargs['ds_private_endpoint_id']
565+
kwargs.pop('ds_private_endpoint_id')
566+
567+
ctx.invoke(datascience_cli.update_data_science_private_endpoint, **kwargs)

0 commit comments

Comments
 (0)