Skip to content

Commit 2bb74af

Browse files
authored
Releasing version 3.33.1
Releasing version 3.33.1
2 parents 3ac9412 + 866d0a7 commit 2bb74af

File tree

27 files changed

+2688
-468
lines changed

27 files changed

+2688
-468
lines changed

CHANGELOG.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,45 @@ 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.1 - 2023-09-12
10+
--------------------
11+
Added
12+
~~~~~
13+
* Support for --is-dedicated optional param for listCharactersSets api in the Database service
14+
15+
* ``oci db autonomous-database-character-sets list --is-dedicated``
16+
17+
* Support for face detection feature in Vision Service ("featureType":"FACE_DETECTION")
18+
19+
* ``oci ai-vision image-job create --features``
20+
21+
* Stack Monitoring
22+
23+
* New api for stack-monitoring config
24+
25+
* ``oci stack-monitoring config change-compartment``
26+
* ``oci stack-monitoring config create``
27+
* ``oci stack-monitoring config create-auto-promote-config``
28+
* ``oci stack-monitoring config delete``
29+
* ``oci stack-monitoring config get``
30+
* ``oci stack-monitoring config update``
31+
* ``oci stack-monitoring config update-auto-promote-config``
32+
* ``oci stack-monitoring config list``
33+
34+
* Support for Announcement Chaining in Announcements Service, adding two new optional parameters
35+
36+
* ``oci announce announcements list --chain-id --should-show-only-latest-in-chain``
37+
38+
* Database Management Service
39+
40+
* Support for SQL tuning set
41+
42+
* ``oci database-management perfhub managed-database modify-snapshot-settings``
43+
44+
* Existing parameter connection-info is now an optional parameter
45+
46+
* ``oci database-management external-db-system-connector update-macs-connector --connection-info``
47+
948
3.33.0 - 2023-09-05
1049
--------------------
1150
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.0
17+
oci==2.112.1
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.11.0

services/ai_vision/src/oci_cli_ai_service_vision/generated/aiservicevision_cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def analyze_image_inline_image_details(ctx, from_json, features, image_data, com
332332

333333

334334
@document_job_group.command(name=cli_util.override('ai_vision.cancel_document_job.command_name', 'cancel'), help=u"""Cancel a document batch job. \n[Command Reference](cancelDocumentJob)""")
335-
@cli_util.option('--document-job-id', required=True, help=u"""Document job id.""")
335+
@cli_util.option('--document-job-id', required=True, help=u"""The document job ID.""")
336336
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
337337
@json_skeleton_utils.get_cli_json_input_option({})
338338
@cli_util.help_option
@@ -357,7 +357,7 @@ def cancel_document_job(ctx, from_json, document_job_id, if_match):
357357

358358

359359
@image_job_group.command(name=cli_util.override('ai_vision.cancel_image_job.command_name', 'cancel'), help=u"""Cancel an image batch job. \n[Command Reference](cancelImageJob)""")
360-
@cli_util.option('--image-job-id', required=True, help=u"""Image job id.""")
360+
@cli_util.option('--image-job-id', required=True, help=u"""The image job ID.""")
361361
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
362362
@json_skeleton_utils.get_cli_json_input_option({})
363363
@cli_util.help_option
@@ -1012,7 +1012,7 @@ def delete_project(ctx, from_json, wait_for_state, max_wait_seconds, wait_interv
10121012

10131013

10141014
@document_job_group.command(name=cli_util.override('ai_vision.get_document_job.command_name', 'get'), help=u"""Get details of a document batch job. \n[Command Reference](getDocumentJob)""")
1015-
@cli_util.option('--document-job-id', required=True, help=u"""Document job id.""")
1015+
@cli_util.option('--document-job-id', required=True, help=u"""The document job ID.""")
10161016
@json_skeleton_utils.get_cli_json_input_option({})
10171017
@cli_util.help_option
10181018
@click.pass_context
@@ -1034,7 +1034,7 @@ def get_document_job(ctx, from_json, document_job_id):
10341034

10351035

10361036
@image_job_group.command(name=cli_util.override('ai_vision.get_image_job.command_name', 'get'), help=u"""Get details of an image batch job. \n[Command Reference](getImageJob)""")
1037-
@cli_util.option('--image-job-id', required=True, help=u"""Image job id.""")
1037+
@cli_util.option('--image-job-id', required=True, help=u"""The image job ID.""")
10381038
@json_skeleton_utils.get_cli_json_input_option({})
10391039
@cli_util.help_option
10401040
@click.pass_context

services/announcements_service/src/oci_cli_announcement/generated/announcement_cli.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,16 @@ def get_announcement_user_status(ctx, from_json, announcement_id):
111111
@cli_util.option('--service', help=u"""A filter to return only announcements affecting a specific service.""")
112112
@cli_util.option('--platform-type', type=custom_types.CliCaseInsensitiveChoice(["IAAS", "SAAS"]), help=u"""A filter to return only announcements affecting a specific platform.""")
113113
@cli_util.option('--exclude-announcement-types', multiple=True, help=u"""Exclude The type of announcement.""")
114+
@cli_util.option('--should-show-only-latest-in-chain', type=click.BOOL, help=u"""A filter to display only the latest announcement in a chain.""")
115+
@cli_util.option('--chain-id', help=u"""A filter to return only announcements belonging to the specified announcement chain ID.""")
114116
@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.""")
115117
@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.""")
116118
@json_skeleton_utils.get_cli_json_input_option({'exclude-announcement-types': {'module': 'announcements_service', 'class': 'list[string]'}})
117119
@cli_util.help_option
118120
@click.pass_context
119121
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'exclude-announcement-types': {'module': 'announcements_service', 'class': 'list[string]'}}, output_type={'module': 'announcements_service', 'class': 'AnnouncementsCollection'})
120122
@cli_util.wrap_exceptions
121-
def list_announcements(ctx, from_json, all_pages, page_size, compartment_id, limit, page, announcement_type, lifecycle_state, is_banner, sort_by, sort_order, time_one_earliest_time, time_one_latest_time, environment_name, service, platform_type, exclude_announcement_types):
123+
def list_announcements(ctx, from_json, all_pages, page_size, compartment_id, limit, page, announcement_type, lifecycle_state, is_banner, sort_by, sort_order, time_one_earliest_time, time_one_latest_time, environment_name, service, platform_type, exclude_announcement_types, should_show_only_latest_in_chain, chain_id):
122124

123125
if all_pages and limit:
124126
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
@@ -150,6 +152,10 @@ def list_announcements(ctx, from_json, all_pages, page_size, compartment_id, lim
150152
kwargs['platform_type'] = platform_type
151153
if exclude_announcement_types is not None and len(exclude_announcement_types) > 0:
152154
kwargs['exclude_announcement_types'] = exclude_announcement_types
155+
if should_show_only_latest_in_chain is not None:
156+
kwargs['should_show_only_latest_in_chain'] = should_show_only_latest_in_chain
157+
if chain_id is not None:
158+
kwargs['chain_id'] = chain_id
153159
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
154160
client = cli_util.build_client('announcements_service', 'announcement', ctx)
155161
if all_pages:

services/announcements_service/src/oci_cli_announcement_subscription/generated/announcementsubscription_cli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def change_announcement_subscription_compartment(ctx, from_json, announcement_su
8282
@cli_util.option('--filter-groups', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes.
8383
8484
This option is a JSON dictionary of type dict(str, FilterGroupDetails). For documentation on FilterGroupDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/announcementsubscription/0.0.1/datatypes/FilterGroupDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
85-
@cli_util.option('--preferred-language', help=u"""(For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.""")
86-
@cli_util.option('--preferred-time-zone', help=u"""The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.""")
85+
@cli_util.option('--preferred-language', help=u"""(For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.""")
86+
@cli_util.option('--preferred-time-zone', help=u"""The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles""")
8787
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
8888
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
8989
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "DELETED", "FAILED"]), 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.""")
@@ -383,8 +383,8 @@ def list_announcement_subscriptions(ctx, from_json, all_pages, page_size, compar
383383
@cli_util.option('--display-name', help=u"""A user-friendly name for the announcement subscription. Does not have to be unique, and it's changeable. Avoid entering confidential information.""")
384384
@cli_util.option('--description', help=u"""A description of the announcement subscription. Avoid entering confidential information.""")
385385
@cli_util.option('--ons-topic-id', help=u"""The [OCID] of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications].""")
386-
@cli_util.option('--preferred-language', help=u"""(For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.""")
387-
@cli_util.option('--preferred-time-zone', help=u"""The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.""")
386+
@cli_util.option('--preferred-language', help=u"""(For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.""")
387+
@cli_util.option('--preferred-time-zone', help=u"""The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles""")
388388
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
389389
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
390390
@cli_util.option('--if-match', help=u"""The locking version, used for optimistic concurrency control.""")
@@ -471,7 +471,7 @@ def update_announcement_subscription(ctx, from_json, force, wait_for_state, max_
471471
This call is subject to an Announcements limit that applies to the total number of requests across all read or write operations. Announcements might throttle this call to reject an otherwise valid request when the total rate of operations exceeds 20 requests per second for a given user. The service might also throttle this call to reject an otherwise valid request when the total rate of operations exceeds 100 requests per second for a given tenancy. \n[Command Reference](updateFilterGroup)""")
472472
@cli_util.option('--announcement-subscription-id', required=True, help=u"""The OCID of the announcement subscription.""")
473473
@cli_util.option('--filter-group-name', required=True, help=u"""The name of the filter group.""")
474-
@cli_util.option('--filters', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of filters against which the Announcements service will match announcements. You cannot have more than one of any given filter type within a filter group.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
474+
@cli_util.option('--filters', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of filters against which the Announcements service will match announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
475475
@cli_util.option('--if-match', help=u"""The locking version, used for optimistic concurrency control.""")
476476
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
477477
@json_skeleton_utils.get_cli_json_input_option({'filters': {'module': 'announcements_service', 'class': 'list[Filter]'}})

services/announcements_service/src/oci_cli_announcements_preferences/generated/announcementspreferences_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def announcements_preferences_group():
3939
@cli_util.option('--preference-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["OPT_IN_TENANT_ANNOUNCEMENTS", "OPT_IN_TENANT_AND_INFORMATIONAL_ANNOUNCEMENTS", "OPT_OUT_ALL_ANNOUNCEMENTS"]), help=u"""The string representing the user's preference, whether to opt in to only required announcements, to opt in to all announcements, including informational announcements, or to opt out of all announcements.""")
4040
@cli_util.option('--is-unsubscribed', type=click.BOOL, help=u"""A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.)""")
4141
@cli_util.option('--compartment-id', help=u"""The OCID of the compartment for which you want to manage announcement email preferences. (Specify the tenancy by providing the root compartment OCID.)""")
42-
@cli_util.option('--preferred-time-zone', help=u"""The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.""")
42+
@cli_util.option('--preferred-time-zone', help=u"""The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles""")
4343
@json_skeleton_utils.get_cli_json_input_option({})
4444
@cli_util.help_option
4545
@click.pass_context
@@ -155,7 +155,7 @@ def list_announcements_preferences(ctx, from_json, all_pages, page_size, compart
155155
@cli_util.option('--preference-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["OPT_IN_TENANT_ANNOUNCEMENTS", "OPT_IN_TENANT_AND_INFORMATIONAL_ANNOUNCEMENTS", "OPT_OUT_ALL_ANNOUNCEMENTS"]), help=u"""The string representing the user's preference, whether to opt in to only required announcements, to opt in to all announcements, including informational announcements, or to opt out of all announcements.""")
156156
@cli_util.option('--is-unsubscribed', type=click.BOOL, help=u"""A Boolean value to indicate whether the specified compartment chooses to not to receive informational announcements by email. (Manage preferences for receiving announcements by email by specifying the `preferenceType` attribute instead.)""")
157157
@cli_util.option('--compartment-id', help=u"""The OCID of the compartment for which you want to manage announcement email preferences. (Specify the tenancy by providing the root compartment OCID.)""")
158-
@cli_util.option('--preferred-time-zone', help=u"""The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.""")
158+
@cli_util.option('--preferred-time-zone', help=u"""The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles""")
159159
@cli_util.option('--if-match', help=u"""The locking version, used for optimistic concurrency control.""")
160160
@json_skeleton_utils.get_cli_json_input_option({})
161161
@cli_util.help_option

0 commit comments

Comments
 (0)