Skip to content

Commit 8632b18

Browse files
Merge pull request #634 from oracle/release_2023-02-07
Releasing version 3.22.5
2 parents 1195c7f + 2c58449 commit 8632b18

File tree

23 files changed

+2141
-197
lines changed

23 files changed

+2141
-197
lines changed

CHANGELOG.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,58 @@ 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.22.5 - 2023-02-07
10+
--------------------
11+
Added
12+
~~~~~
13+
* Support for Autonomous Container Database role in the Database service
14+
15+
* Support for new command
16+
17+
* ``oci db autonomous-container-database change-dataguard-role``
18+
* ``oci db autonomous-container-database-version list``
19+
20+
* Support for new optional parameter
21+
22+
* ``oci db autonomous-container-database create --fast-start-fail-over-lag-limit-in-seconds --version-preference --db-version``
23+
* ``oci db autonomous-container-database-dataguard update --fast-start-fail-over-lag-limit-in-seconds --protection-mode``
24+
* ``oci db autonomous-container-database update --version-preference``
25+
26+
* Devops Deploy service
27+
28+
* Support for new optional parameters
29+
30+
* ``oci devops deploy-stage create-oke-helm-chart-stage --cleanup-on-fail --debug-helm --force-helm --history-max --no-hooks --render-subchart-notes --reset-values --reuse-values --set-string --set-values --skip-crds --wait-helm``
31+
* ``oci devops deploy-stage update-oke-helm-chart-stage --cleanup-on-fail --debug-helm --force-helm --history-max --no-hooks --render-subchart-notes --reset-values --reuse-values --set-string --set-values --skip-crds --wait-helm``
32+
33+
* Support for new optional helm-verification-key-source parameter
34+
35+
* ``oci devops deploy-artifact --create-helm-repository-artifact --helm-verification-key-source``
36+
* ``oci devops deploy-artifact --update-helm-repository-artifact --helm-verification-key-source``
37+
38+
* Support for new optional dry-run parameter
39+
40+
* ``oci devops deployment create-pipeline-deployment --dry-run``
41+
* ``oci devops deployment create-single-stage-deployment --dry-run``
42+
43+
* Support for new Uploading MasterKey Wallets commands in the OCI GoldenGate Deployments service
44+
45+
* ``oci goldengate deployment wallet-exists``
46+
* ``oci goldengate deployment export-wallet``
47+
* ``oci goldengate deployment import-wallet``
48+
* ``oci goldengate deployment-wallets list-wallet-operations``
49+
50+
* Support for new Custom configuration commands in the OPSI service
51+
52+
* ``oci opsi opsi-configurations create-opsi-ux-configuration-details``
53+
* ``oci opsi opsi-configurations list``
54+
* ``oci opsi opsi-configurations get``
55+
* ``oci opsi opsi-configurations delete``
56+
* ``oci opsi opsi-configurations update-opsi-ux-configuration-details``
57+
* ``oci opsi opsi-configurations change``
58+
* ``oci opsi opsi-configurations summarize-configuration-items``
59+
60+
961
3.22.4 - 2023-01-31
1062
--------------------
1163
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.90.4
17+
oci==2.91.0
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.10.0

services/core/src/oci_cli_compute/generated/compute_cli.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ def app_catalog_subscription_group():
155155
pass
156156

157157

158+
@click.command(cli_util.override('compute.compute_capacity_report_group.command_name', 'compute-capacity-report'), cls=CommandGroupWithAlias, help="""The availability domain for which the report was generated.""")
159+
@cli_util.help_option_group
160+
def compute_capacity_report_group():
161+
pass
162+
163+
158164
@click.command(cli_util.override('compute.boot_volume_attachment_group.command_name', 'boot-volume-attachment'), cls=CommandGroupWithAlias, help="""Represents an attachment between a boot volume and an instance.
159165

160166
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.""")
@@ -237,6 +243,7 @@ def console_history_group():
237243
compute_root_group.add_command(image_shape_compatibility_entry_group)
238244
compute_root_group.add_command(app_catalog_listing_group)
239245
compute_root_group.add_command(app_catalog_subscription_group)
246+
compute_root_group.add_command(compute_capacity_report_group)
240247
compute_root_group.add_command(boot_volume_attachment_group)
241248
compute_root_group.add_command(measured_boot_report_group)
242249
compute_root_group.add_command(compute_global_image_capability_schema_version_group)
@@ -1151,6 +1158,35 @@ def create_app_catalog_subscription(ctx, from_json, compartment_id, listing_id,
11511158
cli_util.render_response(result, ctx)
11521159

11531160

1161+
@compute_capacity_report_group.command(name=cli_util.override('compute.create_compute_capacity_report.command_name', 'create'), help=u"""Generates a new compute capacity availability report for the availability domain. A compute capacity report lets you review capacity availability for the provided shapes. \n[Command Reference](createComputeCapacityReport)""")
1162+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] for the compartment. This should always be the root compartment.""")
1163+
@cli_util.option('--availability-domain', required=True, help=u"""The availability domain of this compute capacity report.
1164+
1165+
Example: `Uocm:PHX-AD-1`""")
1166+
@cli_util.option('--shape-availabilities', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The capacity configurations for the capacity report.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
1167+
@json_skeleton_utils.get_cli_json_input_option({'shape-availabilities': {'module': 'core', 'class': 'list[CreateCapacityReportShapeAvailabilityDetails]'}})
1168+
@cli_util.help_option
1169+
@click.pass_context
1170+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'shape-availabilities': {'module': 'core', 'class': 'list[CreateCapacityReportShapeAvailabilityDetails]'}}, output_type={'module': 'core', 'class': 'ComputeCapacityReport'})
1171+
@cli_util.wrap_exceptions
1172+
def create_compute_capacity_report(ctx, from_json, compartment_id, availability_domain, shape_availabilities):
1173+
1174+
kwargs = {}
1175+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
1176+
1177+
_details = {}
1178+
_details['compartmentId'] = compartment_id
1179+
_details['availabilityDomain'] = availability_domain
1180+
_details['shapeAvailabilities'] = cli_util.parse_json_parameter("shape_availabilities", shape_availabilities)
1181+
1182+
client = cli_util.build_client('core', 'compute', ctx)
1183+
result = client.create_compute_capacity_report(
1184+
create_compute_capacity_report_details=_details,
1185+
**kwargs
1186+
)
1187+
cli_util.render_response(result, ctx)
1188+
1189+
11541190
@compute_capacity_reservation_group.command(name=cli_util.override('compute.create_compute_capacity_reservation.command_name', 'create'), help=u"""Creates a new compute capacity reservation in the specified compartment and availability domain. Compute capacity reservations let you reserve instances in a compartment. When you launch an instance using this reservation, you are assured that you have enough space for your instance, and you won't get out of capacity errors. For more information, see [Reserved Capacity]. \n[Command Reference](createComputeCapacityReservation)""")
11551191
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment containing the capacity reservation.""")
11561192
@cli_util.option('--availability-domain', required=True, help=u"""The availability domain of this compute capacity reservation.

0 commit comments

Comments
 (0)