Skip to content

Commit be87f33

Browse files
authored
Releasing version 3.2.2
Releasing version 3.2.2
2 parents 60cace7 + 19caf56 commit be87f33

File tree

31 files changed

+4991
-435
lines changed

31 files changed

+4991
-435
lines changed

CHANGELOG.rst

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,52 @@ 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.2.2 - 2021-11-02
10+
------------------
11+
Added
12+
~~~~~
13+
14+
* Support for Domains in the Identity Service
15+
16+
* ``oci iam domain``
17+
18+
* Support for redeemable user and support rewards in the Usage Service
19+
20+
* ``oci usage monthly-reward-summary list-rewards``
21+
* ``oci usage product-summary list-products``
22+
* ``oci usage redeemable-user create``
23+
* ``oci usage redeemable-user delete``
24+
* ``oci usage redeemable-user-summary list-redeemable-users``
25+
26+
* Support for the Database Tools service
27+
28+
* ``oci dbtools``
29+
30+
* Support for scan listener port TCP and TCP SSL on cloud VM clusters in the Database service
31+
32+
* ``oci db cloud-vm-cluster create --scan-listener-port-tcp --scan-listener-port-tcp-ssl``
33+
34+
* Support for user-defined functions and libraries, as well as scheduling and orchestration, in the Data Integration service
35+
36+
* ``oci data-integration user-defined-function``
37+
* ``oci data-integration user-defined-function-validation``
38+
* ``oci data-integration schedule create-custom-frequency | create-monthly-rule-frequency | create-weekly-frequency``
39+
* ``oci data-integration schedule update-custom-frequency | update-monthly-rule-frequency | update-weekly-frequency``
40+
* ``oci data-integration function-library``
41+
* ``oci data-integration data-entity create-entity-shape-from-sql``
42+
43+
* Support for calling Oracle Cloud Infrastructure services in the Singapore (``--region ap-singapore-1``) and Marseille (``--region eu-marseille-1``) regions
44+
45+
Changed
46+
~~~~~~~
47+
48+
* Endpoint for Identity service changed to include ".oci" subdomain
49+
50+
* Handle merge case when empty contexts/clusters/users is null and not empty string in the Container Engine commands
51+
52+
* Version checks in install.sh and install.py
53+
54+
955
3.2.1 - 2021-10-26
1056
------------------
1157
Added

requirements.txt

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

scripts/install/README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,10 @@ Help can be obtained via "help .\install.ps1". Here are the parameters accepted
7373

7474
The order of precedence in which this scripts applies input parameters is as follows:
7575

76-
individual params > AcceptAllDefaults > interactive inputs
76+
individual params > AcceptAllDefaults > interactive inputs
77+
78+
Checksums
79+
-----------
80+
install.sh f3a7e017b7f6bf0eed40fa2c565c45a27c8807ff6d7f52bdbf611e73578b547c
81+
install.ps1 4dd3876a0b2cbbd633c7621600992b739de86dc260ec5726ef78deba9abaedfe
82+
install.py 657935aae43c441bf150872d4b4a65686d6449f5a07c4790feb312e361a2c6e7

services/apm_traces/src/oci_cli_query/query_cli_extended.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
cli_util.rename_command(query_cli, query_cli.query_root_group, query_cli.quick_pick_summary_group, "quick-picks")
2323

2424

25-
# Remove query-old from oci apm-traces query query-result-response
26-
query_cli.query_result_response_group.commands.pop(query_cli.query_old.name)
27-
28-
2925
@cli_util.copy_params_from_generated_command(query_cli.query, params_to_exclude=['time_span_started_greater_than_or_equal_to', 'time_span_started_less_than'])
3026
@query_cli.query_result_response_group.command(name=query_cli.query.name, help=query_cli.query.help)
3127
@cli_util.option('--start-time-gte', required=True, type=custom_types.CLI_DATETIME, help=u"""Include spans that have a `spanStartTime` equal to or greater this value.

services/apm_traces/tests/unit/test_apm_traces_cli_extended.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ def test_apm_traces_trace(self):
2929
assert 'span' in result.output
3030
assert '--help' in result.output
3131

32-
def test_query_old_is_removed(self):
33-
result = util.invoke_command(['apm-traces', 'query', 'query-response', 'query-old'])
34-
assert "Error: No such command 'query-old'." in result.output # Confirming removal of query-old
35-
3632
def test_run_query_options(self):
3733
result = util.invoke_command(['apm-traces', 'query', 'query-response', 'run-query'])
3834
assert 'Error: Missing option(s) --apm-domain-id, --start-time-gte, --start-time-lt.' in result.output # Validating renaming of group query-result-response to query-response and query to run-query

services/data_integration/src/oci_cli_data_integration/dataintegration_cli_extended.py

Lines changed: 210 additions & 4 deletions
Large diffs are not rendered by default.

services/data_integration/src/oci_cli_data_integration/generated/dataintegration_cli.py

Lines changed: 1921 additions & 381 deletions
Large diffs are not rendered by default.

services/data_integration/tests/unit/test_dataintegration_cli_extended.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,3 +430,11 @@ def test_create_data_asset_from_amazon_s3_data_asset_old(self):
430430
result = util.invoke_command(
431431
['data-integration', 'data-asset', 'create-data-asset-create-data-asset-from-amazon-s3'])
432432
assert "Error: No such command 'create-data-asset-create-data-asset-from-amazon-s3'." in result.output
433+
434+
def test_create_task_create_task_from_rest_task(self):
435+
result = util.invoke_command(['data-integration', 'task', 'create_task_create_task_from_rest_task'])
436+
assert "Error: No such command 'create_task_create_task_from_rest_task'." in result.output
437+
438+
def test_update_task_update_task_from_rest_task(self):
439+
result = util.invoke_command(['data-integration', 'task', 'update_task_update_task_from_rest_task'])
440+
assert "Error: No such command 'update_task_update_task_from_rest_task'." in result.output

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3968,6 +3968,8 @@ def create_cloud_exadata_infrastructure(ctx, from_json, wait_for_state, max_wait
39683968
@cli_util.option('--is-sparse-diskgroup-enabled', type=click.BOOL, help=u"""If true, the sparse disk group is configured for the cloud VM cluster. If false, the sparse disk group is not created.""")
39693969
@cli_util.option('--is-local-backup-enabled', type=click.BOOL, help=u"""If true, database backup on local Exadata storage is configured for the cloud VM cluster. If false, database backup on local Exadata storage is not available in the cloud VM cluster.""")
39703970
@cli_util.option('--time-zone', help=u"""The time zone to use for the cloud VM cluster. For details, see [Time Zones].""")
3971+
@cli_util.option('--scan-listener-port-tcp', type=click.INT, help=u"""The TCP Single Client Access Name (SCAN) port. The default port is 1521.""")
3972+
@cli_util.option('--scan-listener-port-tcp-ssl', type=click.INT, help=u"""The TCPS Single Client Access Name (SCAN) port. The default port is 2484.""")
39713973
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of the [OCIDs] of the network security groups (NSGs) that this resource belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules]. **NsgIds restrictions:** - Autonomous Databases with private access require at least 1 Network Security Group (NSG). The nsgIds array cannot be empty.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
39723974
@cli_util.option('--backup-network-nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of the [OCIDs] of the network security groups (NSGs) that the backup network of this DB system belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see [Security Rules]. Applicable only to Exadata systems.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
39733975
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
@@ -3982,7 +3984,7 @@ def create_cloud_exadata_infrastructure(ctx, from_json, wait_for_state, max_wait
39823984
@click.pass_context
39833985
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ssh-public-keys': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'CloudVmCluster'})
39843986
@cli_util.wrap_exceptions
3985-
def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, backup_subnet_id, cpu_core_count, display_name, cloud_exadata_infrastructure_id, hostname, ssh_public_keys, gi_version, cluster_name, data_storage_percentage, domain, license_model, is_sparse_diskgroup_enabled, is_local_backup_enabled, time_zone, nsg_ids, backup_network_nsg_ids, freeform_tags, defined_tags):
3987+
def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, backup_subnet_id, cpu_core_count, display_name, cloud_exadata_infrastructure_id, hostname, ssh_public_keys, gi_version, cluster_name, data_storage_percentage, domain, license_model, is_sparse_diskgroup_enabled, is_local_backup_enabled, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, nsg_ids, backup_network_nsg_ids, freeform_tags, defined_tags):
39863988

39873989
kwargs = {}
39883990
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -4019,6 +4021,12 @@ def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wa
40194021
if time_zone is not None:
40204022
_details['timeZone'] = time_zone
40214023

4024+
if scan_listener_port_tcp is not None:
4025+
_details['scanListenerPortTcp'] = scan_listener_port_tcp
4026+
4027+
if scan_listener_port_tcp_ssl is not None:
4028+
_details['scanListenerPortTcpSsl'] = scan_listener_port_tcp_ssl
4029+
40224030
if nsg_ids is not None:
40234031
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
40244032

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# coding: utf-8
2+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

0 commit comments

Comments
 (0)