Skip to content

Commit 2438815

Browse files
authored
Releasing version 1.14.0
Releasing version 1.14.0
2 parents 923a392 + 6ee7c1e commit 2438815

File tree

582 files changed

+14113
-3025
lines changed

Some content is hidden

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

582 files changed

+14113
-3025
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ 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.14.0 - 2021-02-02
7+
### Added
8+
- Support for checking if a contact for Exadata infrastructure is valid in My Oracle Support in the Database service
9+
- Support for checking if Exadata infrastructure is in a degraded state in the Database service
10+
- Support for updating the operating system on a VM cluster in the Database service
11+
- Support for external databases in the Database service
12+
- Support for uploading objects to the infrequent access storage tier in the Object Storage service
13+
- Support for changing the storage tier of existing objects in the Object Storage service
14+
- Support for private templates in the Resource Manager service
15+
- Support for multiple encryption domains on IPSec tunnels in the Networking service
16+
17+
### Breaking Changes
18+
- Update the property `vnicId` from required to optional in `Ipv6` model in the core service.
19+
- Removed the property `eTag` from `ListAppCatalogListingResourceVersionsResponse` model in the core service
20+
- Removed `exist` method from JavaScript Array prototype.
21+
622
## 1.13.0 - 2021-01-26
723
### Added
824
- Support for creating, managing, and using asymmetric keys in the Key Management service
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved.
3+
* 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.
4+
*/
5+
6+
/**
7+
* This is an example to create a simple authentication detail provider. This is for developers to
8+
* input the credentials in code as an alternative.
9+
*/
10+
11+
const common = require("oci-common");
12+
const identity = require("oci-identity");
13+
14+
// TODO: Fill in appropriate values for tenancy (str) / fingerprint (str) / passphrase(optional) (str | null) / privateKey (str) / region (common.Region)
15+
const tenancy = "";
16+
const user = "";
17+
const fingerprint = "";
18+
const passphrase = null; // optional parameter
19+
const privateKey = ``;
20+
const region = common.Region.US_PHOENIX_1; // Change to appropriate region
21+
22+
const provider = new common.SimpleAuthenticationDetailsProvider(
23+
tenancy,
24+
user,
25+
fingerprint,
26+
privateKey,
27+
passphrase,
28+
region
29+
);
30+
31+
(async () => {
32+
const client = new identity.IdentityClient({
33+
authenticationDetailsProvider: provider
34+
});
35+
36+
const listUsersRequest = {
37+
compartmentId: tenancy
38+
};
39+
try {
40+
const listUsersResponse = await client.listUsers(listUsersRequest);
41+
console.log(listUsersResponse);
42+
} catch (err) {
43+
console.log(err);
44+
}
45+
})();
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved.
3+
* 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.
4+
*/
5+
6+
/**
7+
* This is an example to create a simple authentication detail provider. This is for developers to
8+
* input the credentials in code as an alternative.
9+
*/
10+
11+
import common = require("oci-common");
12+
import * as identity from "oci-identity";
13+
14+
// TODO: Fill in appropriate values for tenancy/fingerprint/passphrase(optional)/privateKey/region
15+
const tenancy: string = "";
16+
const user: string = "";
17+
const fingerprint: string = "";
18+
const passphrase: string | null = null; // optional parameter
19+
const privateKey: string = ``;
20+
const region: common.Region = common.Region.US_PHOENIX_1; // Change to appropriate region
21+
22+
const provider = new common.SimpleAuthenticationDetailsProvider(
23+
tenancy,
24+
user,
25+
fingerprint,
26+
privateKey,
27+
passphrase,
28+
region
29+
);
30+
31+
(async () => {
32+
const client = new identity.IdentityClient({
33+
authenticationDetailsProvider: provider
34+
});
35+
36+
const listUsersRequest = {
37+
compartmentId: tenancy
38+
};
39+
try {
40+
const listUsersResponse = await client.listUsers(listUsersRequest);
41+
console.log(listUsersResponse);
42+
} catch (err) {
43+
console.log(err);
44+
}
45+
})();

lib/analytics/lib/analytics-waiter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class AnalyticsWaiter {
3838
return genericTerminalConditionWaiter(
3939
this.config,
4040
() => this.client.getAnalyticsInstance(request),
41-
response => targetStates.exists(response.analyticsInstance.lifecycleState),
41+
response => targetStates.includes(response.analyticsInstance.lifecycleState!),
4242
targetStates.includes(models.AnalyticsInstanceLifecycleState.Deleted)
4343
);
4444
}

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.13.0",
3+
"version": "1.14.0",
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.13.0",
3+
"version": "1.14.0",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/lib/apigateway-waiter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class ApiGatewayWaiter {
4040
return genericTerminalConditionWaiter(
4141
this.config,
4242
() => this.client.getApi(request),
43-
response => targetStates.exists(response.api.lifecycleState),
43+
response => targetStates.includes(response.api.lifecycleState!),
4444
targetStates.includes(models.Api.LifecycleState.Deleted)
4545
);
4646
}
@@ -59,7 +59,7 @@ export class ApiGatewayWaiter {
5959
return genericTerminalConditionWaiter(
6060
this.config,
6161
() => this.client.getCertificate(request),
62-
response => targetStates.exists(response.certificate.lifecycleState),
62+
response => targetStates.includes(response.certificate.lifecycleState!),
6363
targetStates.includes(models.Certificate.LifecycleState.Deleted)
6464
);
6565
}

lib/apigateway/lib/deployment-waiter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class DeploymentWaiter {
4040
return genericTerminalConditionWaiter(
4141
this.config,
4242
() => this.client.getDeployment(request),
43-
response => targetStates.exists(response.deployment.lifecycleState),
43+
response => targetStates.includes(response.deployment.lifecycleState!),
4444
targetStates.includes(models.Deployment.LifecycleState.Deleted)
4545
);
4646
}

lib/apigateway/lib/gateway-waiter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class GatewayWaiter {
4040
return genericTerminalConditionWaiter(
4141
this.config,
4242
() => this.client.getGateway(request),
43-
response => targetStates.exists(response.gateway.lifecycleState),
43+
response => targetStates.includes(response.gateway.lifecycleState!),
4444
targetStates.includes(models.Gateway.LifecycleState.Deleted)
4545
);
4646
}

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.13.0",
3+
"version": "1.14.0",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)