Skip to content

Commit 1c04e5e

Browse files
authored
Releasing version 3.43.1
Releasing version 3.43.1
2 parents fa91e83 + 2b20d2f commit 1c04e5e

File tree

15 files changed

+368
-50
lines changed

15 files changed

+368
-50
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.43.1 - 2024-06-11
10+
--------------------
11+
Added
12+
~~~~~
13+
* Globally Distributed Database Service
14+
15+
* Support for new command
16+
17+
* ``oci gdd private-endpoint reinstate-proxy-instance``
18+
19+
* Support for new optional parameter
20+
21+
* ``oci gdd private-endpoint get --if-none-match``
22+
* ``oci gdd sharded-database create-sharded-database-create-dedicated-sharded-database --replication-factor, --replication-method, --replication-unit``
23+
* ``oci gdd sharded-database generate-gsm-certificate-signing-request --ca-bundle-id``
24+
* ``oci gdd sharded-database get --if-none-match``
25+
26+
* Fusion Applications Environment Management Service
27+
28+
* Support for data dump initiation and extract in the Fusion Application Service
29+
30+
* ``oci fusion-apps fusion-environment initiate-extract``
31+
* ``oci fusion-apps fusion-environment generate-extract-details``
32+
33+
* Support for new Action end point in the Application Performance Monitoring Configuration Service
34+
35+
* ``oci apm-config test span-enrichment-group``
36+
37+
* Support for new optional parameters in the Create/Update Alarms API in OCI Monitoring Service.
38+
39+
* ``oci monitoring alarm create --alarm-summary, --evaluation-slack-duration, --notification-title``
40+
* ``oci monitoring alarm update --alarm-summary, --evaluation-slack-duration, --notification-title``
41+
42+
* Support for addition of create date timestamp in Oracle Queue Service
43+
44+
* ``oci queue messages get-messages``
45+
946
3.43.0 - 2024-06-04
1047
--------------------
1148
Changed

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.128.0
17+
oci==2.128.1
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.11.0

services/apm_config/src/oci_cli_config/config_cli_extended.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,15 @@
6464

6565
# oci apm-config span-filter validate-span-filter-pattern -> oci apm-config span-filter validate-pattern
6666
cli_util.rename_command(config_cli, config_cli.span_filter_group, config_cli.validate_span_filter_pattern, "validate-pattern")
67+
68+
69+
# oci apm-config test-output test -> oci apm-config test-output test
70+
cli_util.rename_command(config_cli, config_cli.test_output_group, config_cli.test, "test")
71+
72+
73+
# oci apm-config test-output test-test-span-enrichment-details -> oci apm-config test-output span-enrichment-group
74+
cli_util.rename_command(config_cli, config_cli.test_output_group, config_cli.test_test_span_enrichment_details, "span-enrichment-group")
75+
76+
77+
# oci apm-config test-output -> oci apm-config test
78+
cli_util.rename_command(config_cli, config_cli.apm_config_root_group, config_cli.test_output_group, "test")

services/apm_config/src/oci_cli_config/generated/config_cli.py

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,17 @@ def config_group():
4747
pass
4848

4949

50+
@click.command(cli_util.override('apm_config.test_output_group.command_name', 'test-output'), cls=CommandGroupWithAlias, help="""The result of running a test.""")
51+
@cli_util.help_option_group
52+
def test_output_group():
53+
pass
54+
55+
5056
apm_config_root_group.add_command(metric_group_group)
5157
apm_config_root_group.add_command(span_filter_group)
5258
apm_config_root_group.add_command(config_collection_group)
5359
apm_config_root_group.add_command(config_group)
60+
apm_config_root_group.add_command(test_output_group)
5461

5562

5663
@config_group.command(name=cli_util.override('apm_config.create_config.command_name', 'create'), help=u"""Creates a new configuration item. \n[Command Reference](createConfig)""")
@@ -448,6 +455,66 @@ def retrieve_namespaces(ctx, from_json, apm_domain_id):
448455
cli_util.render_response(result, ctx)
449456

450457

458+
@test_output_group.command(name=cli_util.override('apm_config.test.command_name', 'test'), help=u"""Tests a data processing operation on the provided input, returning the potentially modified input as output. Returns 200 on success, 422 when the input can not be processed. \n[Command Reference](test)""")
459+
@cli_util.option('--apm-domain-id', required=True, help=u"""The APM Domain ID the request is intended for.""")
460+
@cli_util.option('--test-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["SPAN_ENRICHMENT"]), help=u"""The kind of test to run.""")
461+
@json_skeleton_utils.get_cli_json_input_option({})
462+
@cli_util.help_option
463+
@click.pass_context
464+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'apm_config', 'class': 'TestOutput'})
465+
@cli_util.wrap_exceptions
466+
def test(ctx, from_json, apm_domain_id, test_type):
467+
468+
kwargs = {}
469+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
470+
471+
_details = {}
472+
_details['testType'] = test_type
473+
474+
client = cli_util.build_client('apm_config', 'config', ctx)
475+
result = client.test(
476+
apm_domain_id=apm_domain_id,
477+
test_details=_details,
478+
**kwargs
479+
)
480+
cli_util.render_response(result, ctx)
481+
482+
483+
@test_output_group.command(name=cli_util.override('apm_config.test_test_span_enrichment_details.command_name', 'test-test-span-enrichment-details'), help=u"""Tests a data processing operation on the provided input, returning the potentially modified input as output. Returns 200 on success, 422 when the input can not be processed. \n[Command Reference](test)""")
484+
@cli_util.option('--apm-domain-id', required=True, help=u"""The APM Domain ID the request is intended for.""")
485+
@cli_util.option('--options', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The span enrichment rules to test in the format of an Options resource.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
486+
@cli_util.option('--span', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The span to test the rules on. This should be a valid JSON object that follows one of the formats used by distributed tracing frameworks, such as OpenTelemetry, Zipkin, or Oracle Application Performance Monitoring.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
487+
@cli_util.option('--filters', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of filters to try against the given span.
488+
489+
This option is a JSON list with items of type FilterTextOrId. For documentation on FilterTextOrId please see our API reference: https://docs.cloud.oracle.com/api/#/en/config/20210201/datatypes/FilterTextOrId.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
490+
@json_skeleton_utils.get_cli_json_input_option({'options': {'module': 'apm_config', 'class': 'object'}, 'filters': {'module': 'apm_config', 'class': 'list[FilterTextOrId]'}, 'span': {'module': 'apm_config', 'class': 'object'}})
491+
@cli_util.help_option
492+
@click.pass_context
493+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'options': {'module': 'apm_config', 'class': 'object'}, 'filters': {'module': 'apm_config', 'class': 'list[FilterTextOrId]'}, 'span': {'module': 'apm_config', 'class': 'object'}}, output_type={'module': 'apm_config', 'class': 'TestOutput'})
494+
@cli_util.wrap_exceptions
495+
def test_test_span_enrichment_details(ctx, from_json, apm_domain_id, options, span, filters):
496+
497+
kwargs = {}
498+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
499+
500+
_details = {}
501+
_details['options'] = cli_util.parse_json_parameter("options", options)
502+
_details['span'] = cli_util.parse_json_parameter("span", span)
503+
504+
if filters is not None:
505+
_details['filters'] = cli_util.parse_json_parameter("filters", filters)
506+
507+
_details['testType'] = 'SPAN_ENRICHMENT'
508+
509+
client = cli_util.build_client('apm_config', 'config', ctx)
510+
result = client.test(
511+
apm_domain_id=apm_domain_id,
512+
test_details=_details,
513+
**kwargs
514+
)
515+
cli_util.render_response(result, ctx)
516+
517+
451518
@config_group.command(name=cli_util.override('apm_config.update_config.command_name', 'update'), help=u"""Updates the details of the configuration item identified by the OCID. \n[Command Reference](updateConfig)""")
452519
@cli_util.option('--apm-domain-id', required=True, help=u"""The APM Domain ID the request is intended for.""")
453520
@cli_util.option('--config-id', required=True, help=u"""The [OCID] of the configuration item.""")

0 commit comments

Comments
 (0)