Skip to content

Commit 80f91ca

Browse files
Releasing version 2.88.1
Releasing version 2.88.1
2 parents e1f95cf + 7b5f2db commit 80f91ca

File tree

203 files changed

+1688
-177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

203 files changed

+1688
-177
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
## 2.88.1 - 2024-06-11
7+
### Added
8+
- Support for 23ai based databases in Globally Distributed Database service
9+
- Support for testing span enrichment groups in Application Performance Monitoring service
10+
- Support for subscription suspension and termination orders in Fusion Apps as a Service
11+
- Support for time first occurred and time last occurred for resource sightings in Cloud Guard service
12+
- Support for alarm summary, notification title, and slack duration on create and update operations in Monitoring service
13+
- Support for message creation timestamp in Queue service
14+
15+
616
## 2.88.0 - 2024-06-04
717
### Added
818
- Support for creating cross-region autonomous data guards in the Database service

lib/accessgovernancecp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-accessgovernancecp",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-adm",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Adm Service",
55
"repository": {
66
"type": "git",

lib/aianomalydetection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aidocument",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Ai Document Service",
55
"repository": {
66
"type": "git",

lib/ailanguage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-ailanguage",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/aispeech/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aispeech",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Ai Speech Service",
55
"repository": {
66
"type": "git",

lib/aivision/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aivision",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Ai Vision Service",
55
"repository": {
66
"type": "git",

lib/analytics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "2.88.0",
3+
"version": "2.88.1",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmconfig/lib/client.ts

+81
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,87 @@ export class ConfigClient {
673673
}
674674
}
675675

676+
/**
677+
* Tests a data processing operation on the provided input, returning the potentially modified
678+
* input as output. Returns 200 on success, 422 when the input can not be processed.
679+
*
680+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
681+
* @param TestRequest
682+
* @return TestResponse
683+
* @throws OciError when an error occurs
684+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/apmconfig/Test.ts.html |here} to see how to use Test API.
685+
*/
686+
public async test(testRequest: requests.TestRequest): Promise<responses.TestResponse> {
687+
if (this.logger) this.logger.debug("Calling operation ConfigClient#test.");
688+
const operationName = "test";
689+
const apiReferenceLink =
690+
"https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/TestOutput/Test";
691+
const pathParams = {};
692+
693+
const queryParams = {
694+
"apmDomainId": testRequest.apmDomainId
695+
};
696+
697+
let headerParams = {
698+
"Content-Type": common.Constants.APPLICATION_JSON,
699+
"opc-request-id": testRequest.opcRequestId
700+
};
701+
702+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
703+
const retrier = GenericRetrier.createPreferredRetrier(
704+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
705+
testRequest.retryConfiguration,
706+
specRetryConfiguration
707+
);
708+
if (this.logger) retrier.logger = this.logger;
709+
const request = await composeRequest({
710+
baseEndpoint: this._endpoint,
711+
defaultHeaders: this._defaultHeaders,
712+
path: "/actions/test",
713+
method: "POST",
714+
bodyContent: common.ObjectSerializer.serialize(
715+
testRequest.testDetails,
716+
"TestDetails",
717+
model.TestDetails.getJsonObj
718+
),
719+
pathParams: pathParams,
720+
headerParams: headerParams,
721+
queryParams: queryParams
722+
});
723+
try {
724+
const response = await retrier.makeServiceCall(
725+
this._httpClient,
726+
request,
727+
this.targetService,
728+
operationName,
729+
apiReferenceLink
730+
);
731+
const sdkResponse = composeResponse({
732+
responseObject: <responses.TestResponse>{},
733+
body: await response.json(),
734+
bodyKey: "testOutput",
735+
bodyModel: model.TestOutput,
736+
type: "model.TestOutput",
737+
responseHeaders: [
738+
{
739+
value: response.headers.get("opc-request-id"),
740+
key: "opcRequestId",
741+
dataType: "string"
742+
},
743+
{
744+
value: response.headers.get("etag"),
745+
key: "etag",
746+
dataType: "string"
747+
}
748+
]
749+
});
750+
751+
return sdkResponse;
752+
} catch (err) {
753+
throw err;
754+
}
755+
}
756+
676757
/**
677758
* Updates the details of the configuration item identified by the OCID.
678759
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/**
2+
* Application Performance Monitoring Configuration API
3+
* Use the Application Performance Monitoring Configuration API to query and set Application Performance Monitoring
4+
configuration. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
5+
6+
* OpenAPI spec version: 20210201
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
13+
* 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.
14+
*/
15+
16+
import * as model from "../model";
17+
import common = require("oci-common");
18+
19+
/**
20+
* A span filter written in text, or as the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a
21+
* SpanFilter resource. If both are given, the filterText is used.
22+
*
23+
*/
24+
export interface FilterTextOrId {
25+
/**
26+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation
27+
* of MetricGroups. A filterId is generated when a Span Filter is created.
28+
*
29+
*/
30+
"filterId"?: string;
31+
/**
32+
* The string that defines the Span Filter expression.
33+
*
34+
*/
35+
"filterText"?: string;
36+
}
37+
38+
export namespace FilterTextOrId {
39+
export function getJsonObj(obj: FilterTextOrId): object {
40+
const jsonObj = { ...obj, ...{} };
41+
42+
return jsonObj;
43+
}
44+
export function getDeserializedJsonObj(obj: FilterTextOrId): object {
45+
const jsonObj = { ...obj, ...{} };
46+
47+
return jsonObj;
48+
}
49+
}

lib/apmconfig/lib/model/index.ts

+12
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import * as CreateConfigDetails from "./create-config-details";
2727
export import CreateConfigDetails = CreateConfigDetails.CreateConfigDetails;
2828
import * as Dimension from "./dimension";
2929
export import Dimension = Dimension.Dimension;
30+
import * as FilterTextOrId from "./filter-text-or-id";
31+
export import FilterTextOrId = FilterTextOrId.FilterTextOrId;
3032
import * as Metric from "./metric";
3133
export import Metric = Metric.Metric;
3234
import * as MetricTypes from "./metric-types";
@@ -45,6 +47,12 @@ import * as SortOrders from "./sort-orders";
4547
export import SortOrders = SortOrders.SortOrders;
4648
import * as SpanFilterReference from "./span-filter-reference";
4749
export import SpanFilterReference = SpanFilterReference.SpanFilterReference;
50+
import * as TestDetails from "./test-details";
51+
export import TestDetails = TestDetails.TestDetails;
52+
import * as TestOutput from "./test-output";
53+
export import TestOutput = TestOutput.TestOutput;
54+
import * as TestTypes from "./test-types";
55+
export import TestTypes = TestTypes.TestTypes;
4856
import * as UpdateConfigDetails from "./update-config-details";
4957
export import UpdateConfigDetails = UpdateConfigDetails.UpdateConfigDetails;
5058
import * as ValidateSpanFilterPatternDetails from "./validate-span-filter-pattern-details";
@@ -74,6 +82,10 @@ import * as SpanFilter from "./span-filter";
7482
export import SpanFilter = SpanFilter.SpanFilter;
7583
import * as SpanFilterSummary from "./span-filter-summary";
7684
export import SpanFilterSummary = SpanFilterSummary.SpanFilterSummary;
85+
import * as TestSpanEnrichmentDetails from "./test-span-enrichment-details";
86+
export import TestSpanEnrichmentDetails = TestSpanEnrichmentDetails.TestSpanEnrichmentDetails;
87+
import * as TestSpanEnrichmentOutput from "./test-span-enrichment-output";
88+
export import TestSpanEnrichmentOutput = TestSpanEnrichmentOutput.TestSpanEnrichmentOutput;
7789
import * as UpdateApdexRulesDetails from "./update-apdex-rules-details";
7890
export import UpdateApdexRulesDetails = UpdateApdexRulesDetails.UpdateApdexRulesDetails;
7991
import * as UpdateMetricGroupDetails from "./update-metric-group-details";
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/**
2+
* Application Performance Monitoring Configuration API
3+
* Use the Application Performance Monitoring Configuration API to query and set Application Performance Monitoring
4+
configuration. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
5+
6+
* OpenAPI spec version: 20210201
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
13+
* 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.
14+
*/
15+
16+
import * as model from "../model";
17+
import common = require("oci-common");
18+
19+
/**
20+
* The request body used to execute a test.
21+
*/
22+
export interface TestDetails {
23+
"testType": string;
24+
}
25+
26+
export namespace TestDetails {
27+
export function getJsonObj(obj: TestDetails): object {
28+
const jsonObj = { ...obj, ...{} };
29+
30+
if (obj && "testType" in obj && obj.testType) {
31+
switch (obj.testType) {
32+
case "SPAN_ENRICHMENT":
33+
return model.TestSpanEnrichmentDetails.getJsonObj(
34+
<model.TestSpanEnrichmentDetails>(<object>jsonObj),
35+
true
36+
);
37+
default:
38+
if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.testType}`);
39+
}
40+
}
41+
return jsonObj;
42+
}
43+
export function getDeserializedJsonObj(obj: TestDetails): object {
44+
const jsonObj = { ...obj, ...{} };
45+
46+
if (obj && "testType" in obj && obj.testType) {
47+
switch (obj.testType) {
48+
case "SPAN_ENRICHMENT":
49+
return model.TestSpanEnrichmentDetails.getDeserializedJsonObj(
50+
<model.TestSpanEnrichmentDetails>(<object>jsonObj),
51+
true
52+
);
53+
default:
54+
if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.testType}`);
55+
}
56+
}
57+
return jsonObj;
58+
}
59+
}
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/**
2+
* Application Performance Monitoring Configuration API
3+
* Use the Application Performance Monitoring Configuration API to query and set Application Performance Monitoring
4+
configuration. For more information, see [Application Performance Monitoring](https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
5+
6+
* OpenAPI spec version: 20210201
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
13+
* 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.
14+
*/
15+
16+
import * as model from "../model";
17+
import common = require("oci-common");
18+
19+
/**
20+
* The result of running a test.
21+
*/
22+
export interface TestOutput {
23+
"testType": string;
24+
}
25+
26+
export namespace TestOutput {
27+
export function getJsonObj(obj: TestOutput): object {
28+
const jsonObj = { ...obj, ...{} };
29+
30+
if (obj && "testType" in obj && obj.testType) {
31+
switch (obj.testType) {
32+
case "SPAN_ENRICHMENT":
33+
return model.TestSpanEnrichmentOutput.getJsonObj(
34+
<model.TestSpanEnrichmentOutput>(<object>jsonObj),
35+
true
36+
);
37+
default:
38+
if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.testType}`);
39+
}
40+
}
41+
return jsonObj;
42+
}
43+
export function getDeserializedJsonObj(obj: TestOutput): object {
44+
const jsonObj = { ...obj, ...{} };
45+
46+
if (obj && "testType" in obj && obj.testType) {
47+
switch (obj.testType) {
48+
case "SPAN_ENRICHMENT":
49+
return model.TestSpanEnrichmentOutput.getDeserializedJsonObj(
50+
<model.TestSpanEnrichmentOutput>(<object>jsonObj),
51+
true
52+
);
53+
default:
54+
if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.testType}`);
55+
}
56+
}
57+
return jsonObj;
58+
}
59+
}

0 commit comments

Comments
 (0)