Skip to content

Commit ffe4f58

Browse files
Releasing version 3.46.0
Releasing version 3.46.0
2 parents 8c2571f + 3087087 commit ffe4f58

File tree

40 files changed

+5773
-141
lines changed

40 files changed

+5773
-141
lines changed

CHANGELOG.rst

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,76 @@ 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.46.0 - 2024-08-20
10+
--------------------
11+
Removed
12+
~~~~~
13+
* [BREAKING] Disaster Recovery service
14+
15+
* Removed optional parameter --dr-plan-execution-type from list command
16+
17+
* ``oci disaster-recovery dr-plan-execution list``
18+
19+
Added
20+
~~~~~
21+
* Database Service
22+
23+
* Support for creating Maintenance Run Using Autonomous Database Software Image in the Database service
24+
25+
* ``oci db maintenance-run create --database-software-image-id``
26+
27+
* Fleet Application Management Service
28+
29+
* Support for the Fleet Application Management service
30+
31+
* ``oci fleet-apps-management``
32+
33+
* Redis Service
34+
35+
* Support for list cluster nodes command in the OCI Cache service
36+
37+
* ``oci redis node-summary list-redis-cluster-nodes``
38+
39+
* Support new parameters cluster-mode and shard-count for sharding
40+
41+
* ``oci redis redis-cluster create --cluster-mode, --shard-count``
42+
* ``oci redis redis-cluster update --shard-count``
43+
44+
* Integration Service
45+
46+
* Support for Extend Data Retention Period for OIC Instance
47+
48+
* ``oci integration integration-instance extend-data-retention --data-retention-period, --integration-instance-id``
49+
50+
* Analytics Service
51+
52+
* Support for Identity Domains
53+
54+
* ``oci analytics analytics-instance create --domain-id ocid --admin-user user``
55+
56+
* Support for feature set in analytics-instance
57+
58+
* ``oci analytics analytics-instance create --feature-bundle feature_set``
59+
60+
* Database Management Service
61+
62+
* Support for SQL Watch and DB Lifecycle Management
63+
64+
* ``oci database-management managed-database enable-external-container-database-management-feature``
65+
* ``oci database-management managed-database enable-external-pluggable-database-management-feature``
66+
* ``oci database-management managed-database enable-external-non-container-database-management-feature``
67+
* ``oci database-management managed-database modify-database-management-feature``
68+
* ``oci database-management managed-database modify-pluggable-database-management-feature``
69+
70+
* Mysql Database Service
71+
72+
* Support for automatically increasing storage in the MySQL Database service
73+
74+
* ``oci mysql db-system clone --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
75+
* ``oci mysql db-system create --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
76+
* ``oci mysql db-system import --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
77+
* ``oci mysql db-system update --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
78+
979
3.45.2 - 2024-08-13
1080
--------------------
1181
Added

requirements.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ click==8.0.4
1010
coverage==4.5.2
1111
cryptography>=3.2.1,<43.0.0
1212
httpsig-cffi==15.0.0
13-
Jinja2==3.0.3
13+
Jinja2==3.0.3; python_version == '3.6'
14+
Jinja2>=3.1.4; python_version >= '3.7'
1415
jmespath==0.10.0
1516
ndg-httpsclient==0.4.2
1617
mock==2.0.0
17-
oci==2.131.1
18+
oci==2.132.0
1819
packaging==20.2
1920
pluggy==0.13.0
2021
py==1.11.0
@@ -28,7 +29,8 @@ pytest-cov==2.5.1
2829
python-dateutil>=2.5.3,<3.0.0
2930
pytz>=2016.10
3031
requests==2.21.0; python_version == '3.6'
31-
requests==2.31.0; python_version > '3.6'
32+
requests==2.31.0; python_version == '3.7'
33+
requests>=2.32.0; python_version > '3.7'
3234
six>=1.15.0
3335
sphinx==3.3.0
3436
sphinx-rtd-theme==0.4.3
@@ -43,7 +45,8 @@ PyYAML>=5.4,<=6.0.1
4345
docutils==0.15.2
4446
prompt-toolkit==3.0.29; python_version == '3.6'
4547
prompt-toolkit>=3.0.38,<=3.0.43; python_version > '3.6'
46-
setuptools>65.5.1; python_version > '3.6'
48+
setuptools>70.0.0; python_version > '3.7'
49+
setuptools==68.0.0; python_version == '3.7'
4750
setuptools==59.6.0; python_version == '3.6'
4851
# this is required because of python 3.6 requests dependency version bound
4952
urllib3<=1.26.15

services/analytics/src/oci_cli_analytics/generated/analytics_cli.py

Lines changed: 105 additions & 6 deletions
Large diffs are not rendered by default.

services/analytics/tests/util/generated/command_to_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"analytics.list_work_request_logs": "oci.analytics.AnalyticsClient.list_work_request_logs",
2020
"analytics.list_work_requests": "oci.analytics.AnalyticsClient.list_work_requests",
2121
"analytics.scale_analytics_instance": "oci.analytics.AnalyticsClient.scale_analytics_instance",
22+
"analytics.set_feature_bundle": "oci.analytics.AnalyticsClient.set_feature_bundle",
2223
"analytics.set_kms_key": "oci.analytics.AnalyticsClient.set_kms_key",
2324
"analytics.start_analytics_instance": "oci.analytics.AnalyticsClient.start_analytics_instance",
2425
"analytics.stop_analytics_instance": "oci.analytics.AnalyticsClient.stop_analytics_instance",

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9641,12 +9641,13 @@ def create_key_store_key_store_type_from_oracle_key_vault_details(ctx, from_json
96419641
@maintenance_run_group.command(name=cli_util.override('db.create_maintenance_run.command_name', 'create'), help=u"""Creates a maintenance run with one of the following: 1. The latest available release update patch (RUP) for the Autonomous Container Database. 2. The latest available RUP and DST time-zone (TZ) file updates for the Autonomous Container Database. 3. The DST TZ file updates for the Autonomous Container Database. \n[Command Reference](createMaintenanceRun)""")
96429642
@cli_util.option('--target-resource-id', required=True, help=u"""The ID of the target resource for which the maintenance run should be created.""")
96439643
@cli_util.option('--time-scheduled', required=True, type=custom_types.CLI_DATETIME, help=u"""The date and time that update should be scheduled.""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
9644-
@cli_util.option('--patch-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "TIMEZONE"]), help=u"""Patch type, either \"QUARTERLY\" or \"TIMEZONE\".""")
9644+
@cli_util.option('--patch-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "TIMEZONE", "CUSTOM_DATABASE_SOFTWARE_IMAGE"]), help=u"""Patch type, either \"QUARTERLY\", \"TIMEZONE\" or \"CUSTOM_DATABASE_SOFTWARE_IMAGE\".""")
96459645
@cli_util.option('--is-dst-file-update-enabled', type=click.BOOL, help=u"""Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.""")
96469646
@cli_util.option('--patching-mode', type=custom_types.CliCaseInsensitiveChoice(["ROLLING", "NONROLLING"]), help=u"""Cloud Exadata infrastructure node patching method, either \"ROLLING\" or \"NONROLLING\". Default value is ROLLING.
96479647

96489648
*IMPORTANT*: Non-rolling infrastructure patching involves system down time. See [Oracle-Managed Infrastructure Maintenance Updates] for more information.""")
96499649
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment containing the Maintenance Run.""")
9650+
@cli_util.option('--database-software-image-id', help=u"""The Autonomous Database Software Image [OCID]""")
96509651
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED"]), 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.""")
96519652
@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.""")
96529653
@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.""")
@@ -9655,7 +9656,7 @@ def create_key_store_key_store_type_from_oracle_key_vault_details(ctx, from_json
96559656
@click.pass_context
96569657
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'MaintenanceRun'})
96579658
@cli_util.wrap_exceptions
9658-
def create_maintenance_run(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, target_resource_id, time_scheduled, patch_type, is_dst_file_update_enabled, patching_mode, compartment_id):
9659+
def create_maintenance_run(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, target_resource_id, time_scheduled, patch_type, is_dst_file_update_enabled, patching_mode, compartment_id, database_software_image_id):
96599660

96609661
kwargs = {}
96619662
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -9674,6 +9675,9 @@ def create_maintenance_run(ctx, from_json, wait_for_state, max_wait_seconds, wai
96749675
if compartment_id is not None:
96759676
_details['compartmentId'] = compartment_id
96769677

9678+
if database_software_image_id is not None:
9679+
_details['databaseSoftwareImageId'] = database_software_image_id
9680+
96779681
client = cli_util.build_client('database', 'database', ctx)
96789682
result = client.create_maintenance_run(
96799683
create_maintenance_run_details=_details,
@@ -20173,7 +20177,7 @@ def list_key_stores(ctx, from_json, all_pages, page_size, compartment_id, limit,
2017320177
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
2017420178
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED"]), help=u"""The state of the maintenance run history.""")
2017520179
@cli_util.option('--availability-domain', help=u"""A filter to return only resources that match the given availability domain exactly.""")
20176-
@cli_util.option('--maintenance-subtype', type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "HARDWARE", "CRITICAL", "INFRASTRUCTURE", "DATABASE", "ONEOFF", "SECURITY_MONTHLY", "TIMEZONE"]), help=u"""The sub-type of the maintenance run.""")
20180+
@cli_util.option('--maintenance-subtype', type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "HARDWARE", "CRITICAL", "INFRASTRUCTURE", "DATABASE", "ONEOFF", "SECURITY_MONTHLY", "TIMEZONE", "CUSTOM_DATABASE_SOFTWARE_IMAGE"]), help=u"""The sub-type of the maintenance run.""")
2017720181
@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.""")
2017820182
@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.""")
2017920183
@json_skeleton_utils.get_cli_json_input_option({})
@@ -20248,7 +20252,7 @@ def list_maintenance_run_history(ctx, from_json, all_pages, page_size, compartme
2024820252
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
2024920253
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED"]), help=u"""A filter to return only resources that match the given lifecycle state exactly.""")
2025020254
@cli_util.option('--availability-domain', help=u"""A filter to return only resources that match the given availability domain exactly.""")
20251-
@cli_util.option('--maintenance-subtype', type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "HARDWARE", "CRITICAL", "INFRASTRUCTURE", "DATABASE", "ONEOFF", "SECURITY_MONTHLY", "TIMEZONE"]), help=u"""The sub-type of the maintenance run.""")
20255+
@cli_util.option('--maintenance-subtype', type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "HARDWARE", "CRITICAL", "INFRASTRUCTURE", "DATABASE", "ONEOFF", "SECURITY_MONTHLY", "TIMEZONE", "CUSTOM_DATABASE_SOFTWARE_IMAGE"]), help=u"""The sub-type of the maintenance run.""")
2025220256
@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.""")
2025320257
@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.""")
2025420258
@json_skeleton_utils.get_cli_json_input_option({})

0 commit comments

Comments
 (0)