Skip to content

Commit 6ce4ca1

Browse files
Releasing version 3.62.1
Releasing version 3.62.1
2 parents 5d09316 + a991035 commit 6ce4ca1

File tree

10 files changed

+4826
-3153
lines changed

10 files changed

+4826
-3153
lines changed

CHANGELOG.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,43 @@ 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.62.1 - 2025-07-08
10+
--------------------
11+
Added
12+
~~~~~
13+
* Support file parameter for uploading otlp logs in the Logging Analytics service
14+
15+
* ``oci log-analytics upload upload-otlp-logs --from-json <path to the file>``
16+
17+
* Support for ADB@ExaCC in the Ops Insights service
18+
19+
* ``oci opsi database-insights create-macs-managed-autonomous-database-insight``
20+
* ``oci opsi database-insights enable-macs-managed-autonomous-database-insight``
21+
* ``oci opsi database-insights update-macs-managed-autonomous-database-insight``
22+
23+
* Support for Personal to Corporate conversation check in the OSP Gateway service
24+
25+
* ``oci osp-gateway subscription-service subscription authorize-subscription-payment``
26+
* ``oci osp-gateway subscription-service subscription pay``
27+
* ``oci osp-gateway subscription-service subscription update``
28+
29+
* Document Understanding Service
30+
31+
* Support of page selection in analyze and processorJob commands
32+
33+
* ``oci ai-document processor-job create-processor-job-inline-document-content --input-location-page-range``
34+
* ``oci ai-document analyze-document-result analyze-document-inline-document-details --document-page-range``
35+
* ``oci ai-document analyze-document-result analyze-document-object-storage-document-details --document-page-range``
36+
37+
* Support for new commands
38+
39+
* ``oci ai-document processor-job create-processor-job-invoice-processor-config``
40+
* ``oci ai-document model-type-info get-model-type``
41+
42+
* Support for new optional parameter in the following commands
43+
44+
* ``oci ai-document model update --inference-units``
45+
* ``oci ai-document model create --inference-units --language --model-sub-type``
946

1047
3.62.0 - 2025-07-01
1148
--------------------

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Jinja2>=3.1.5; python_version >= '3.7'
1515
jmespath==0.10.0
1616
ndg-httpsclient==0.4.2
1717
mock==2.0.0
18-
oci==2.155.0
18+
oci==2.155.1
1919
packaging==20.2
2020
pluggy==0.13.0
2121
py==1.11.0

services/ai_document/src/oci_cli_ai_service_document/generated/aiservicedocument_cli.py

Lines changed: 142 additions & 13 deletions
Large diffs are not rendered by default.

services/ai_document/tests/util/generated/command_to_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"ai_document.delete_model": "oci.ai_document.AIServiceDocumentClient.delete_model",
1616
"ai_document.delete_project": "oci.ai_document.AIServiceDocumentClient.delete_project",
1717
"ai_document.get_model": "oci.ai_document.AIServiceDocumentClient.get_model",
18+
"ai_document.get_model_type": "oci.ai_document.AIServiceDocumentClient.get_model_type",
1819
"ai_document.get_processor_job": "oci.ai_document.AIServiceDocumentClient.get_processor_job",
1920
"ai_document.get_project": "oci.ai_document.AIServiceDocumentClient.get_project",
2021
"ai_document.get_work_request": "oci.ai_document.AIServiceDocumentClient.get_work_request",

services/log_analytics/src/oci_cli_log_analytics/log_analytics_cli_extended.py

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import click
66
import json
7+
import os
78

89
from oci_cli.cli_util import get_param
910
from services.log_analytics.src.oci_cli_log_analytics.generated import loganalytics_cli
@@ -1083,9 +1084,19 @@ def recall_archived_data_extended(ctx, **kwargs):
10831084
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
10841085
@cli_util.wrap_exceptions
10851086
def upload_otlp_logs_extended(ctx, **kwargs):
1086-
1087-
if 'file' in kwargs:
1088-
kwargs['upload_otlp_logs_details'] = kwargs['file']
1089-
kwargs.pop('file')
1090-
1091-
ctx.invoke(loganalytics_cli.upload_otlp_logs, **kwargs)
1087+
# Set "--upload_otlp_logs_details" to file's "--file" handle
1088+
upload_file = kwargs['file']
1089+
del kwargs['file']
1090+
if os.path.exists(upload_file):
1091+
if kwargs['content_type'] == 'application/json':
1092+
with open(upload_file, 'r') as ufile:
1093+
file_content = ufile.read()
1094+
kwargs['upload_otlp_logs_details'] = file_content
1095+
ctx.invoke(loganalytics_cli.upload_otlp_logs, **kwargs)
1096+
else:
1097+
with open(upload_file, 'rb') as ufile:
1098+
kwargs['upload_otlp_logs_details'] = ufile
1099+
ctx.invoke(loganalytics_cli.upload_otlp_logs, **kwargs)
1100+
else:
1101+
kwargs['upload_otlp_logs_details'] = upload_file
1102+
ctx.invoke(loganalytics_cli.upload_otlp_logs, **kwargs)

services/opsi/src/oci_cli_operations_insights/generated/operationsinsights_cli.py

Lines changed: 4541 additions & 3121 deletions
Large diffs are not rendered by default.

services/opsi/src/oci_cli_operations_insights/operationsinsights_cli_extended.py

Lines changed: 82 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -548,18 +548,13 @@ def update_operations_insights_private_endpoint_extended(ctx, **kwargs):
548548

549549
@cli_util.copy_params_from_generated_command(operationsinsights_cli.change_autonomous_database_insight_advanced_features_credential_by_vault, params_to_exclude=['credential_details_credential_source_name', 'credential_details_password_secret_id', 'credential_details_role', 'credential_details_user_name'])
550550
@operationsinsights_cli.database_insights_group.command(name=operationsinsights_cli.change_autonomous_database_insight_advanced_features_credential_by_vault.name, help=operationsinsights_cli.change_autonomous_database_insight_advanced_features_credential_by_vault.help)
551-
@cli_util.option('--credential-source-name', required=True, help=u"""Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service. [required]""")
552551
@cli_util.option('--password-secret-id', help=u"""The secret [OCID] mapping to the database credentials.""")
553552
@cli_util.option('--role', type=custom_types.CliCaseInsensitiveChoice(["NORMAL"]), help=u"""database user role.""")
554553
@cli_util.option('--user-name', help=u"""database user name.""")
555554
@click.pass_context
556555
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'connection-details': {'module': 'operationsinsights', 'class': 'ConnectionDetails'}})
557556
@cli_util.wrap_exceptions
558557
def change_autonomous_database_insight_advanced_features_credential_by_vault_extended(ctx, **kwargs):
559-
if 'credential_source_name' in kwargs:
560-
kwargs['credential_details_credential_source_name'] = kwargs['credential_source_name']
561-
kwargs.pop('credential_source_name')
562-
563558
if 'password_secret_id' in kwargs:
564559
kwargs['credential_details_password_secret_id'] = kwargs['password_secret_id']
565560
kwargs.pop('password_secret_id')
@@ -577,18 +572,13 @@ def change_autonomous_database_insight_advanced_features_credential_by_vault_ext
577572

578573
@cli_util.copy_params_from_generated_command(operationsinsights_cli.enable_autonomous_database_insight_advanced_features_credential_by_vault, params_to_exclude=['credential_details_credential_source_name', 'credential_details_password_secret_id', 'credential_details_role', 'credential_details_user_name'])
579574
@operationsinsights_cli.database_insights_group.command(name=operationsinsights_cli.enable_autonomous_database_insight_advanced_features_credential_by_vault.name, help=operationsinsights_cli.enable_autonomous_database_insight_advanced_features_credential_by_vault.help)
580-
@cli_util.option('--credential-source-name', required=True, help=u"""Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service. [required]""")
581575
@cli_util.option('--password-secret-id', help=u"""The secret [OCID] mapping to the database credentials.""")
582576
@cli_util.option('--role', type=custom_types.CliCaseInsensitiveChoice(["NORMAL"]), help=u"""database user role.""")
583577
@cli_util.option('--user-name', help=u"""database user name.""")
584578
@click.pass_context
585579
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'connection-details': {'module': 'operationsinsights', 'class': 'ConnectionDetails'}})
586580
@cli_util.wrap_exceptions
587581
def enable_autonomous_database_insight_advanced_features_credential_by_vault_extended(ctx, **kwargs):
588-
if 'credential_source_name' in kwargs:
589-
kwargs['credential_details_credential_source_name'] = kwargs['credential_source_name']
590-
kwargs.pop('credential_source_name')
591-
592582
if 'password_secret_id' in kwargs:
593583
kwargs['credential_details_password_secret_id'] = kwargs['password_secret_id']
594584
kwargs.pop('password_secret_id')
@@ -893,3 +883,85 @@ def test_macs_managed_cloud_database_insight_connection_credential_by_vault_exte
893883

894884
# oci opsi database-insights update-database-insight-update-external-mysql-database-insight-details -> oci opsi database-insights update-external-mysql-database-insight
895885
cli_util.rename_command(operationsinsights_cli, operationsinsights_cli.database_insights_group, operationsinsights_cli.update_database_insight_update_external_mysql_database_insight_details, "update-external-mysql-database-insight")
886+
887+
888+
# oci opsi database-insights create-database-insight-create-macs-managed-autonomous-database-insight-details -> oci opsi database-insights create-macs-managed-autonomous-database-insight
889+
cli_util.rename_command(operationsinsights_cli, operationsinsights_cli.database_insights_group, operationsinsights_cli.create_database_insight_create_macs_managed_autonomous_database_insight_details, "create-macs-managed-autonomous-database-insight")
890+
891+
892+
# oci opsi database-insights enable-database-insight-enable-macs-managed-autonomous-database-insight-details -> oci opsi database-insights enable-macs-managed-autonomous-database-insight
893+
cli_util.rename_command(operationsinsights_cli, operationsinsights_cli.database_insights_group, operationsinsights_cli.enable_database_insight_enable_macs_managed_autonomous_database_insight_details, "enable-macs-managed-autonomous-database-insight")
894+
895+
896+
# oci opsi database-insights update-database-insight-update-macs-managed-autonomous-database-insight-details -> oci opsi database-insights update-macs-managed-autonomous-database-insight
897+
cli_util.rename_command(operationsinsights_cli, operationsinsights_cli.database_insights_group, operationsinsights_cli.update_database_insight_update_macs_managed_autonomous_database_insight_details, "update-macs-managed-autonomous-database-insight")
898+
899+
900+
# Remove change-autonomous-database-insight-advanced-features-credential-by-named-credentials from oci opsi database-insights
901+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.change_autonomous_database_insight_advanced_features_credential_by_named_credentials.name)
902+
903+
904+
# Remove change-macs-managed-autonomous from oci opsi database-insights
905+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.change_macs_managed_autonomous_database_insight_connection.name)
906+
907+
908+
# Remove change-macs-managed-autonomous-database-insight-connection-credential-by-iam from oci opsi database-insights
909+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.change_macs_managed_autonomous_database_insight_connection_credential_by_iam.name)
910+
911+
912+
# Remove change-pe-comanaged-database-insight-credential-by-named-credentials from oci opsi database-insights
913+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.change_pe_comanaged_database_insight_credential_by_named_credentials.name)
914+
915+
916+
# Remove enable-autonomous-database-insight-advanced-features-credential-by-named-credentials from oci opsi database-insights
917+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.enable_autonomous_database_insight_advanced_features_credential_by_named_credentials.name)
918+
919+
920+
# Remove test-macs-managed-autonomous from oci opsi database-insights
921+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection.name)
922+
923+
924+
# Remove test-macs-managed-autonomous-database-insight-connection-credential-by-iam from oci opsi database-insights
925+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credential_by_iam.name)
926+
927+
928+
# Remove test-macs-managed-autonomous-database-insight-connection-credential-by-vault from oci opsi database-insights
929+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credential_by_vault.name)
930+
931+
932+
# Remove test-macs-managed-autonomous-database-insight-connection-credentials-by-source from oci opsi database-insights
933+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credentials_by_source.name)
934+
935+
936+
# Remove test-macs-managed-cloud-database-insight-connection-credential-by-named-credentials from oci opsi database-insights
937+
operationsinsights_cli.database_insights_group.commands.pop(operationsinsights_cli.test_macs_managed_cloud_database_insight_connection_credential_by_named_credentials.name)
938+
939+
940+
@cli_util.copy_params_from_generated_command(operationsinsights_cli.change_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials, params_to_exclude=['connection_credential_details_named_credential_id', 'connection_credential_details_credential_source_name'])
941+
@operationsinsights_cli.database_insights_group.command(name=operationsinsights_cli.change_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials.name, help=operationsinsights_cli.change_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials.help)
942+
@cli_util.option('--named-credential-id', help=u"""The credential [OCID] stored in management agent.""")
943+
@click.pass_context
944+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'connection-details': {'module': 'opsi', 'class': 'ConnectionDetails'}})
945+
@cli_util.wrap_exceptions
946+
def change_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials_extended(ctx, **kwargs):
947+
948+
if 'named_credential_id' in kwargs:
949+
kwargs['connection_credential_details_named_credential_id'] = kwargs['named_credential_id']
950+
kwargs.pop('named_credential_id')
951+
952+
ctx.invoke(operationsinsights_cli.change_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials, **kwargs)
953+
954+
955+
@cli_util.copy_params_from_generated_command(operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials, params_to_exclude=['connection_credential_details_named_credential_id'])
956+
@operationsinsights_cli.database_insights_group.command(name=operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials.name, help=operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials.help)
957+
@cli_util.option('--named-credential-id', help=u"""The credential [OCID] stored in management agent.""")
958+
@click.pass_context
959+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'connection-details': {'module': 'opsi', 'class': 'ConnectionDetails'}})
960+
@cli_util.wrap_exceptions
961+
def test_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials_extended(ctx, **kwargs):
962+
963+
if 'named_credential_id' in kwargs:
964+
kwargs['connection_credential_details_named_credential_id'] = kwargs['named_credential_id']
965+
kwargs.pop('named_credential_id')
966+
967+
ctx.invoke(operationsinsights_cli.test_macs_managed_autonomous_database_insight_connection_credential_by_named_credentials, **kwargs)

services/opsi/tests/util/generated/command_to_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"opsi.change_exadata_insight_compartment": "oci.opsi.OperationsInsightsClient.change_exadata_insight_compartment",
1111
"opsi.change_external_mysql_database_insight_connection": "oci.opsi.OperationsInsightsClient.change_external_mysql_database_insight_connection",
1212
"opsi.change_host_insight_compartment": "oci.opsi.OperationsInsightsClient.change_host_insight_compartment",
13+
"opsi.change_macs_managed_autonomous_database_insight_connection": "oci.opsi.OperationsInsightsClient.change_macs_managed_autonomous_database_insight_connection",
1314
"opsi.change_macs_managed_cloud_database_insight_connection": "oci.opsi.OperationsInsightsClient.change_macs_managed_cloud_database_insight_connection",
1415
"opsi.change_news_report_compartment": "oci.opsi.OperationsInsightsClient.change_news_report_compartment",
1516
"opsi.change_operations_insights_private_endpoint_compartment": "oci.opsi.OperationsInsightsClient.change_operations_insights_private_endpoint_compartment",
@@ -170,6 +171,8 @@
170171
"opsi.summarize_sql_statistics": "oci.opsi.OperationsInsightsClient.summarize_sql_statistics",
171172
"opsi.summarize_sql_statistics_time_series": "oci.opsi.OperationsInsightsClient.summarize_sql_statistics_time_series",
172173
"opsi.summarize_sql_statistics_time_series_by_plan": "oci.opsi.OperationsInsightsClient.summarize_sql_statistics_time_series_by_plan",
174+
"opsi.synchronize_autonomous_database_to_exadata": "oci.opsi.OperationsInsightsClient.synchronize_autonomous_database_to_exadata",
175+
"opsi.test_macs_managed_autonomous_database_insight_connection": "oci.opsi.OperationsInsightsClient.test_macs_managed_autonomous_database_insight_connection",
173176
"opsi.test_macs_managed_cloud_database_insight_connection": "oci.opsi.OperationsInsightsClient.test_macs_managed_cloud_database_insight_connection",
174177
"opsi.update_awr_hub": "oci.opsi.OperationsInsightsClient.update_awr_hub",
175178
"opsi.update_awr_hub_source": "oci.opsi.OperationsInsightsClient.update_awr_hub_source",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def open_relative(*path):
3030
readme = f.read()
3131

3232
requires = [
33-
'oci==2.155.0',
33+
'oci==2.155.1',
3434
'arrow>=1.0.0',
3535
'certifi>=2025.1.31',
3636
'click==8.0.4',

src/oci_cli/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
33
# 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.
44

5-
__version__ = '3.62.0'
5+
__version__ = '3.62.1'

0 commit comments

Comments
 (0)