Skip to content

Commit 4c91dab

Browse files
authored
Releasing version 1.16.1
Releasing version 1.16.1
2 parents a60609b + cf9eb6a commit 4c91dab

File tree

376 files changed

+17824
-124
lines changed

Some content is hidden

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

376 files changed

+17824
-124
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 1.16.1 - 2021-03-09
7+
### Added
8+
- Support for the Application Performance Monitoring service
9+
- Support for the Golden Gate service
10+
- Support for SMS subscriptions in the Notifications service
11+
- Support for friendly-formatted messages in the Service Connector Hub service
12+
- Support for attaching and detaching instances to instance pools in the Autoscaling service
13+
614
## 1.16.0 - 2021-03-02
715
### Added
816
- Support for pipelines, pipeline tasks, and favorites in the Data Integration service

index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,7 @@ export import tenantmanagercontrolplane = require("oci-tenantmanagercontrolplane
151151
export import rover = require("oci-rover");
152152
export import databasemanagement = require("oci-databasemanagement");
153153
export import artifacts = require("oci-artifacts");
154+
export import apmcontrolplane = require("oci-apmcontrolplane");
155+
export import apmsynthetics = require("oci-apmsynthetics");
156+
export import apmtraces = require("oci-apmtraces");
157+
export import goldengate = require("oci-goldengate");

lib/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# OCI NodeJS client for Apm Control Plane Service
3+
4+
This module enables you to write code to manage resources for Apm Control Plane Service.
5+
6+
## Requirements
7+
8+
To use this module, you must have the following:
9+
10+
- An Oracle Cloud Infrastructure account.
11+
- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm).
12+
- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure)
13+
14+
## Installing
15+
16+
Use the following command to install this module:
17+
18+
```
19+
npm install oci-apmcontrolplane
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/apmcontrolplane/index.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* Application Performance Monitoring (APM) Control Plane API
3+
* Provide a set of APIs for tenant to perform operations like create, update, delete and list APM domains, and also
4+
work request APIs to monitor progress of these operations.
5+
6+
* OpenAPI spec version: 20200630
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2021, 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 requests from "./lib/request";
17+
import * as models from "./lib/model";
18+
import * as responses from "./lib/response";
19+
import * as client from "./lib/client";
20+
import * as apmdomain_waiter from "./lib/apmdomain-waiter";
21+
22+
export { models };
23+
export { requests };
24+
export { responses };
25+
export import ApmDomainClient = client.ApmDomainClient;
26+
export import ApmDomainWaiter = apmdomain_waiter.ApmDomainWaiter;
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Application Performance Monitoring (APM) Control Plane API
3+
* Provide a set of APIs for tenant to perform operations like create, update, delete and list APM domains, and also
4+
work request APIs to monitor progress of these operations.
5+
6+
* OpenAPI spec version: 20200630
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2021, 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 serviceRequests from "./request";
17+
import * as serviceResponses from "./response";
18+
import * as models from "./model";
19+
import { ApmDomainClient } from "./client";
20+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
21+
22+
export class ApmDomainWaiter {
23+
public constructor(
24+
private client: ApmDomainClient,
25+
private readonly config?: WaiterConfiguration
26+
) {}
27+
28+
/**
29+
* Waits forApmDomain till it reaches any of the provided states
30+
*
31+
* @param request the request to send
32+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
33+
* @return response returns GetApmDomainResponse
34+
*/
35+
public async forApmDomain(
36+
request: serviceRequests.GetApmDomainRequest,
37+
...targetStates: models.LifecycleStates[]
38+
): Promise<serviceResponses.GetApmDomainResponse> {
39+
return genericWaiter(
40+
this.config,
41+
() => this.client.getApmDomain(request),
42+
response => targetStates.includes(response.apmDomain.lifecycleState!)
43+
);
44+
}
45+
46+
/**
47+
* Waits forWorkRequest
48+
*
49+
* @param request the request to send
50+
* @return response returns GetWorkRequestResponse
51+
*/
52+
public async forWorkRequest(
53+
request: serviceRequests.GetWorkRequestRequest
54+
): Promise<serviceResponses.GetWorkRequestResponse> {
55+
return genericWaiter(
56+
this.config,
57+
() => this.client.getWorkRequest(request),
58+
response => (response.workRequest.timeFinished ? true : false)
59+
);
60+
}
61+
}

0 commit comments

Comments
 (0)