Skip to content

Commit

Permalink
Releasing version 3.50.2
Browse files Browse the repository at this point in the history
Releasing version 3.50.2
  • Loading branch information
oci-dex-release-bot authored Nov 19, 2024
2 parents 4a7deb9 + 7ee9110 commit 6c782b4
Show file tree
Hide file tree
Showing 20 changed files with 356 additions and 103 deletions.
52 changes: 52 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,58 @@ All notable changes to this project will be documented in this file.

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

3.50.2 - 2024-11-19
--------------------
Added
~~~~~
* Database Service

* Command to list Oracle Grid Infrastructure minor versions for the given major version. If --is-gi-version-for-provisioning argument is provided, then the command lists the versions that can be used for provisioning a cluster.

* ``oci db database gi-minor-version-summary list``

* Support to create and list exascale db vault

* ``oci db exascale-db-storage-vault create --exadata-infrastructure-id``
* ``oci db exascale-db-storage-vault list --exadata-infrastructure-id``

* Support to create vm cluster with db vault

* ``oci db vm-cluster create --exascale-db-storage-vault-id``

* Support to configure exascale

* ``oci db exadata-infrastructure configure-exascale --exadata-infrastructure-id, --total-storage-in-gbs``

* Support for new optional parameter for Unified Auditing in the Database service

* ``oci db system launch --is-unified-auditing-enabled``
* ``oci db system launch-from-backup --is-unified-auditing-enabled``

* Oracle Database PostgreSQL service

* Support Single Read Only (RO) endpoint for the Read Replica

* ``oci psql db-system create``

* Customer Incident Management Service

* Introduced UserGroupId for creating Tech SR

* ``oci support incident create --user-group-id``

* Object Storage Service

* Support for additional checksum parameters in the Object Storage service.
* opc-checksum-algorithm`` - Specifies the checksum algorithm to be used (options: SHA256, SHA384, CRC32C).
* opc-content-sha256`` - Specifies the SHA256 checksum value.
* opc-content-sha384`` - Specifies the SHA384 checksum value.
* opc-content-crc32c`` - Specifies the CRC32C checksum value.

* ``oci os object put``

* Support for python 3.12

3.50.1 - 2024-11-12
--------------------
Added
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ coverage==4.5.2
cryptography>=3.2.1,<46.0.0
httpsig-cffi==15.0.0
Jinja2==3.0.3; python_version == '3.6'
Jinja2>=3.1.4; python_version >= '3.7'
Jinja2<3.1; python_version >= '3.7'
jmespath==0.10.0
ndg-httpsclient==0.4.2
mock==2.0.0
oci==2.138.1
oci==2.139.0
packaging==20.2
pluggy==0.13.0
py==1.11.0
Expand Down
12 changes: 6 additions & 6 deletions services/audit/tests/integ/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_event_list(self):
assert result.exit_code == 0
response = json.loads(result.output)
events = response["data"]
self.assertEquals(len(events), event_count)
self.assertEqual(len(events), event_count)
for event in events:
parsed_date = parse(event["event-time"])
event_type = event["event-type"]
Expand All @@ -100,7 +100,7 @@ def test_event_list(self):
assert result.exit_code == 0
response = json.loads(result.output)
events = response["data"]
self.assertEquals(len(events), event_count)
self.assertEqual(len(events), event_count)
for event in events:
parsed_date = parse(event["eventTime"])
event_type = event["eventType"]
Expand All @@ -117,7 +117,7 @@ def test_event_list(self):
assert result.exit_code == 0
response = json.loads(result.output)
events = response["data"]
self.assertEquals(len(events), event_count)
self.assertEqual(len(events), event_count)
for event in events:
parsed_date = parse(event["eventTime"])
event_type = event["eventType"]
Expand Down Expand Up @@ -192,7 +192,7 @@ def test_event_list_query(self):
"data[?contains(\"event-type\",'com.oraclecloud.Audit.ListEvents')].{\"event-type\":\"event-type\",\"source\":\"source\",LoginDate:\"event-time\",\"user\":\"data\".\"identity\".\"credentials\"}"])
assert result.exit_code == 0
events = json.loads(result.output)
self.assertEquals(len(events), event_count)
self.assertEqual(len(events), event_count)
for event in events:
parsed_date = parse(event["LoginDate"])
event_type = event["event-type"]
Expand All @@ -211,7 +211,7 @@ def test_event_list_query(self):
"data[?contains(\"eventType\",'com.oraclecloud.Audit.ListEvents')].{\"event-type\":\"eventTtype\",\"source\":\"source\",LoginDate:\"eventTime\",\"user\":\"data\".\"identity\".\"credentials\"}"])
assert result.exit_code == 0
events = json.loads(result.output)
self.assertEquals(len(events), event_count)
self.assertEqual(len(events), event_count)
for event in events:
parsed_date = parse(event["LoginDate"])
event_type = event["event-type"]
Expand All @@ -230,7 +230,7 @@ def test_event_list_query(self):
"data[?contains(\"eventType\",'com.oraclecloud.Audit.ListEvents')].{\"event-type\":\"eventType\",\"source\":\"source\",LoginDate:\"eventTime\",\"user\":\"data\".\"identity\".\"credentials\"}"])
assert result.exit_code == 0
events = json.loads(result.output)
self.assertEquals(len(events), event_count)
self.assertEqual(len(events), event_count)
for event in events:
parsed_date = parse(event["LoginDate"])
event_type = event["event-type"]
Expand Down
23 changes: 13 additions & 10 deletions services/cims/src/oci_cli_incident/generated/incident_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@

@cli.command(cli_util.override('support.support_root_group.command_name', 'support'), cls=CommandGroupWithAlias, help=cli_util.override('support.support_root_group.help', """Use the Support Management API to manage support requests.
For more information, see [Getting Help and Contacting Support].
**Note**: Before you can create service requests with this API,
you need to have an Oracle Single Sign On (SSO) account,
and you need to register your Customer Support Identifier (CSI) with My Oracle Support."""), short_help=cli_util.override('support.support_root_group.short_help', """Support Management API"""))
complete user registration at My Oracle Cloud Support
and then ask your tenancy administrator to provide you authorization for the related user groups."""), short_help=cli_util.override('support.support_root_group.short_help', """Support Management API"""))
@cli_util.help_option_group
def support_root_group():
pass
Expand Down Expand Up @@ -61,7 +60,8 @@ def incident_group():
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
@cli_util.option('--ticket', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--problem-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support ticket (type of support request). For information about `ACCOUNT` support tickets, see [Creating a Billing Support Request]. For information about `LIMIT` support tickets, see [Creating a Service Limit Increase Request]. For information about `TECH` support tickets, see [Creating a Technical Support Request].""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
@cli_util.option('--user-group-id', help=u"""Technical support type (`TECH`) only: The identifier of the support request's user group in My Oracle Cloud Support portal.""")
@cli_util.option('--contacts', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of contacts.
This option is a JSON list with items of type Contact. For documentation on Contact please see our API reference: https://docs.cloud.oracle.com/api/#/en/incident/20181231/datatypes/Contact.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
Expand All @@ -77,7 +77,7 @@ def incident_group():
@click.pass_context
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'CreateTicketDetails'}, 'contacts': {'module': 'cims', 'class': 'list[Contact]'}}, output_type={'module': 'cims', 'class': 'Incident'})
@cli_util.wrap_exceptions
def create_incident(ctx, from_json, compartment_id, ticket, problem_type, csi, contacts, referrer, ocid, homeregion, bearertokentype, bearertoken, idtoken, domainid):
def create_incident(ctx, from_json, compartment_id, ticket, problem_type, csi, user_group_id, contacts, referrer, ocid, homeregion, bearertokentype, bearertoken, idtoken, domainid):

kwargs = {}
if ocid is not None:
Expand All @@ -102,6 +102,9 @@ def create_incident(ctx, from_json, compartment_id, ticket, problem_type, csi, c
if csi is not None:
_details['csi'] = csi

if user_group_id is not None:
_details['userGroupId'] = user_group_id

if contacts is not None:
_details['contacts'] = cli_util.parse_json_parameter("contacts", contacts)

Expand All @@ -119,7 +122,7 @@ def create_incident(ctx, from_json, compartment_id, ticket, problem_type, csi, c
@incident_group.command(name=cli_util.override('support.get_incident.command_name', 'get'), help=u"""Gets the specified support ticket. For more information, see [Getting Details for a Support Request]. \n[Command Reference](getIncident)""")
@cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support ticket.""")
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
@cli_util.option('--problemtype', help=u"""The kind of support request.""")
Expand Down Expand Up @@ -172,7 +175,7 @@ def get_incident(ctx, from_json, incident_key, compartment_id, csi, ocid, homere
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["dateUpdated", "severity"]), help=u"""The key to use to sort the returned items.""")
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The order to sort the results in.""")
@cli_util.option('--name', help=u"""The user-friendly name of the support ticket type.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
@cli_util.option('--domainid', help=u"""The OCID of identity domain. DomainID is mandatory if the user is part of Non Default Identity domain.""")
Expand Down Expand Up @@ -239,7 +242,7 @@ def list_incident_resource_types(ctx, from_json, all_pages, page_size, problem_t

@incident_group.command(name=cli_util.override('support.list_incidents.command_name', 'list'), help=u"""Lists support tickets for the specified tenancy. For more information, see [Listing Support Requests]. \n[Command Reference](listIncidents)""")
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["dateUpdated", "severity"]), help=u"""The key to use to sort the returned items.""")
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The order to sort the results in.""")
Expand Down Expand Up @@ -323,7 +326,7 @@ def list_incidents(ctx, from_json, all_pages, page_size, compartment_id, csi, li
@cli_util.option('--ticket', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
@cli_util.option('--problem-type', type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support ticket (type of support request). For information about `ACCOUNT` support tickets, see [Creating a Billing Support Request]. For information about `LIMIT` support tickets, see [Creating a Service Limit Increase Request]. For information about `TECH` support tickets, see [Creating a Technical Support Request].""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
@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.""")
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
Expand Down Expand Up @@ -382,7 +385,7 @@ def update_incident(ctx, from_json, force, incident_key, ticket, compartment_id,


@validation_response_group.command(name=cli_util.override('support.validate_user.command_name', 'validate-user'), help=u"""Checks whether the requested user is valid. For more information, see [Validating a User]. \n[Command Reference](validateUser)""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is required for technical support tickets and optional for limits and billing tickets.""")
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
@cli_util.option('--problem-type', type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support request.""")
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
Expand Down
6 changes: 3 additions & 3 deletions services/core/tests/integ/test_blockstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def subtest_volume_backup_operations(self):
result = self.invoke(
['backup', 'list', '--compartment-id', util.COMPARTMENT_ID, '--volume-id', self.volume_id])
util.validate_response(result)
self.assertEquals(1, len(json.loads(result.output)['data']))
self.assertEqual(1, len(json.loads(result.output)['data']))

retrieve_list_and_ensure_sorted(
['bv', 'backup', 'list', '-c', util.COMPARTMENT_ID, '--sort-by', 'DISPLAYNAME', '--sort-order', 'asc'],
Expand Down Expand Up @@ -280,7 +280,7 @@ def subtest_volume_group_backup_operations(self):
['volume-group-backup', 'list', '--compartment-id', util.COMPARTMENT_ID, '--volume-group-id',
self.volume_group])
util.validate_response(result)
self.assertEquals(1, len(json.loads(result.output)['data']))
self.assertEqual(1, len(json.loads(result.output)['data']))

backup_name = backup_name + "_UPDATED"
result = self.invoke(
Expand Down Expand Up @@ -431,7 +431,7 @@ def subtest_delete(self):
util.print_latest_exception(error)
error_count = error_count + 1

self.assertEquals(0, error_count)
self.assertEqual(0, error_count)

def invoke(self, params, debug=False, **args):
commands = ['bv'] + params
Expand Down
Loading

0 comments on commit 6c782b4

Please sign in to comment.