Skip to content

Commit

Permalink
Releasing version 3.46.0
Browse files Browse the repository at this point in the history
Releasing version 3.46.0
  • Loading branch information
oci-dex-release-bot authored Aug 20, 2024
2 parents 8c2571f + 3087087 commit ffe4f58
Show file tree
Hide file tree
Showing 40 changed files with 5,773 additions and 141 deletions.
70 changes: 70 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,76 @@ All notable changes to this project will be documented in this file.

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

3.46.0 - 2024-08-20
--------------------
Removed
~~~~~
* [BREAKING] Disaster Recovery service

* Removed optional parameter --dr-plan-execution-type from list command

* ``oci disaster-recovery dr-plan-execution list``

Added
~~~~~
* Database Service

* Support for creating Maintenance Run Using Autonomous Database Software Image in the Database service

* ``oci db maintenance-run create --database-software-image-id``

* Fleet Application Management Service

* Support for the Fleet Application Management service

* ``oci fleet-apps-management``

* Redis Service

* Support for list cluster nodes command in the OCI Cache service

* ``oci redis node-summary list-redis-cluster-nodes``

* Support new parameters cluster-mode and shard-count for sharding

* ``oci redis redis-cluster create --cluster-mode, --shard-count``
* ``oci redis redis-cluster update --shard-count``

* Integration Service

* Support for Extend Data Retention Period for OIC Instance

* ``oci integration integration-instance extend-data-retention --data-retention-period, --integration-instance-id``

* Analytics Service

* Support for Identity Domains

* ``oci analytics analytics-instance create --domain-id ocid --admin-user user``

* Support for feature set in analytics-instance

* ``oci analytics analytics-instance create --feature-bundle feature_set``

* Database Management Service

* Support for SQL Watch and DB Lifecycle Management

* ``oci database-management managed-database enable-external-container-database-management-feature``
* ``oci database-management managed-database enable-external-pluggable-database-management-feature``
* ``oci database-management managed-database enable-external-non-container-database-management-feature``
* ``oci database-management managed-database modify-database-management-feature``
* ``oci database-management managed-database modify-pluggable-database-management-feature``

* Mysql Database Service

* Support for automatically increasing storage in the MySQL Database service

* ``oci mysql db-system clone --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
* ``oci mysql db-system create --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
* ``oci mysql db-system import --is-auto-expand-storage-enabled --max-storage-size-in-gbs``
* ``oci mysql db-system update --is-auto-expand-storage-enabled --max-storage-size-in-gbs``

3.45.2 - 2024-08-13
--------------------
Added
Expand Down
11 changes: 7 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ click==8.0.4
coverage==4.5.2
cryptography>=3.2.1,<43.0.0
httpsig-cffi==15.0.0
Jinja2==3.0.3
Jinja2==3.0.3; python_version == '3.6'
Jinja2>=3.1.4; python_version >= '3.7'
jmespath==0.10.0
ndg-httpsclient==0.4.2
mock==2.0.0
oci==2.131.1
oci==2.132.0
packaging==20.2
pluggy==0.13.0
py==1.11.0
Expand All @@ -28,7 +29,8 @@ pytest-cov==2.5.1
python-dateutil>=2.5.3,<3.0.0
pytz>=2016.10
requests==2.21.0; python_version == '3.6'
requests==2.31.0; python_version > '3.6'
requests==2.31.0; python_version == '3.7'
requests>=2.32.0; python_version > '3.7'
six>=1.15.0
sphinx==3.3.0
sphinx-rtd-theme==0.4.3
Expand All @@ -43,7 +45,8 @@ PyYAML>=5.4,<=6.0.1
docutils==0.15.2
prompt-toolkit==3.0.29; python_version == '3.6'
prompt-toolkit>=3.0.38,<=3.0.43; python_version > '3.6'
setuptools>65.5.1; python_version > '3.6'
setuptools>70.0.0; python_version > '3.7'
setuptools==68.0.0; python_version == '3.7'
setuptools==59.6.0; python_version == '3.6'
# this is required because of python 3.6 requests dependency version bound
urllib3<=1.26.15
111 changes: 105 additions & 6 deletions services/analytics/src/oci_cli_analytics/generated/analytics_cli.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions services/analytics/tests/util/generated/command_to_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"analytics.list_work_request_logs": "oci.analytics.AnalyticsClient.list_work_request_logs",
"analytics.list_work_requests": "oci.analytics.AnalyticsClient.list_work_requests",
"analytics.scale_analytics_instance": "oci.analytics.AnalyticsClient.scale_analytics_instance",
"analytics.set_feature_bundle": "oci.analytics.AnalyticsClient.set_feature_bundle",
"analytics.set_kms_key": "oci.analytics.AnalyticsClient.set_kms_key",
"analytics.start_analytics_instance": "oci.analytics.AnalyticsClient.start_analytics_instance",
"analytics.stop_analytics_instance": "oci.analytics.AnalyticsClient.stop_analytics_instance",
Expand Down
12 changes: 8 additions & 4 deletions services/database/src/oci_cli_database/generated/database_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9641,12 +9641,13 @@ def create_key_store_key_store_type_from_oracle_key_vault_details(ctx, from_json
@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)""")
@cli_util.option('--target-resource-id', required=True, help=u"""The ID of the target resource for which the maintenance run should be created.""")
@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)
@cli_util.option('--patch-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["QUARTERLY", "TIMEZONE"]), help=u"""Patch type, either \"QUARTERLY\" or \"TIMEZONE\".""")
@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\".""")
@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.""")
@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.

*IMPORTANT*: Non-rolling infrastructure patching involves system down time. See [Oracle-Managed Infrastructure Maintenance Updates] for more information.""")
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment containing the Maintenance Run.""")
@cli_util.option('--database-software-image-id', help=u"""The Autonomous Database Software Image [OCID]""")
@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.""")
@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.""")
@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.""")
Expand All @@ -9655,7 +9656,7 @@ def create_key_store_key_store_type_from_oracle_key_vault_details(ctx, from_json
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'MaintenanceRun'})
@cli_util.wrap_exceptions
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):
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):

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

if database_software_image_id is not None:
_details['databaseSoftwareImageId'] = database_software_image_id

client = cli_util.build_client('database', 'database', ctx)
result = client.create_maintenance_run(
create_maintenance_run_details=_details,
Expand Down Expand Up @@ -20173,7 +20177,7 @@ def list_key_stores(ctx, from_json, all_pages, page_size, compartment_id, limit,
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
@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.""")
@cli_util.option('--availability-domain', help=u"""A filter to return only resources that match the given availability domain exactly.""")
@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.""")
@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.""")
@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.""")
@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.""")
@json_skeleton_utils.get_cli_json_input_option({})
Expand Down Expand Up @@ -20248,7 +20252,7 @@ def list_maintenance_run_history(ctx, from_json, all_pages, page_size, compartme
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
@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.""")
@cli_util.option('--availability-domain', help=u"""A filter to return only resources that match the given availability domain exactly.""")
@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.""")
@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.""")
@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.""")
@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.""")
@json_skeleton_utils.get_cli_json_input_option({})
Expand Down
Loading

0 comments on commit ffe4f58

Please sign in to comment.