Skip to content

Commit 00e110b

Browse files
Releasing version 2.16.0
1 parent 81f083b commit 00e110b

File tree

149 files changed

+1543
-1566
lines changed

Some content is hidden

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

149 files changed

+1543
-1566
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ 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+
## 2.16.0 - 2022-03-01
7+
### Added
8+
- Support for DRG route distribution statements to be specified with a new match type 'MATCH_ALL' for matching criteria in the Networking service
9+
- Support for VCN route types on DRG attachments for deciding whether to import VCN CIDRs or subnet CIDRs into route rules in the Networking service
10+
- Support for CPS offline reports in the Database service
11+
- Support for infrastructure patching v2 features in the Database service
12+
- Support for auto-scaling the storage of an autonomous database, as well as shrinking an autonomous database, in the Database service
13+
- Support for managed egress via a default networking option on jobs and notebooks in the Data Science service
14+
- Support for more types of saved search enums in the Management Dashboard service
15+
16+
### Breaking Changes
17+
- Support for retries enabled by default on some operations in the AI Vision service
18+
619
## 2.15.0 - 2022-02-22
720
### Added
821
- Support for the Data Connectivity Management service

THIRD_PARTY_LICENSES.txt

+467-1,412
Large diffs are not rendered by default.

examples/javascript/launch_instance.js

+16-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ const wr = require("oci-workrequests");
1616
const common = require("oci-common");
1717

1818
const provider = new common.ConfigFileAuthenticationDetailsProvider();
19+
20+
const maxTimeInSeconds = 60 * 60; // The duration for waiter configuration before failing. Currently set to 1 hour.
21+
const maxDelayInSeconds = 30; // The max delay for the waiter configuration. Currently set to 30 seconds
22+
23+
// The waiter configuration used when creating our waiters.
24+
const waiterConfiguration = {
25+
terminationStrategy: new common.MaxTimeTerminationStrategy(maxTimeInSeconds),
26+
delayStrategy: new common.ExponentialBackoffDelayStrategy(maxDelayInSeconds)
27+
};
28+
1929
const args = process.argv.slice(2);
2030
console.log(args);
2131
if (args.length !== 2) {
@@ -40,13 +50,16 @@ const workRequestClient = new wr.WorkRequestClient({
4050
authenticationDetailsProvider: provider
4151
});
4252

43-
const computeWaiter = computeClient.createWaiters(workRequestClient);
53+
const computeWaiter = computeClient.createWaiters(workRequestClient, waiterConfiguration);
4454

4555
const virtualNetworkClient = new core.VirtualNetworkClient({
4656
authenticationDetailsProvider: provider
4757
});
4858

49-
const virtualNetworkWaiter = virtualNetworkClient.createWaiters(workRequestClient);
59+
const virtualNetworkWaiter = virtualNetworkClient.createWaiters(
60+
workRequestClient,
61+
waiterConfiguration
62+
);
5063

5164
const identityClient = new identity.IdentityClient({
5265
authenticationDetailsProvider: provider
@@ -70,7 +83,7 @@ async function getShape(availabilityDomain) {
7083
const response = await computeClient.listShapes(request);
7184

7285
for (let shape of response.items) {
73-
if (shape.shape.startsWith("VM")) {
86+
if (shape.shape.startsWith("VM") && shape.shape.toLowerCase().indexOf("flex") == -1) {
7487
return shape;
7588
}
7689
}

examples/typescript/launch_instance.ts

+15-4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ import * as wr from "oci-workrequests";
1818

1919
const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider();
2020

21+
const maxTimeInSeconds = 60 * 60; // The duration for waiter configuration before failing. Currently set to 1 hour.
22+
const maxDelayInSeconds = 30; // The max delay for the waiter configuration. Currently set to 30 seconds
23+
24+
// The waiter configuration used when creating our waiters.
25+
const waiterConfiguration: common.WaiterConfiguration = {
26+
terminationStrategy: new common.MaxTimeTerminationStrategy(maxTimeInSeconds),
27+
delayStrategy: new common.ExponentialBackoffDelayStrategy(maxDelayInSeconds)
28+
};
29+
2130
const args = process.argv.slice(2);
2231
console.log(args);
2332
if (args.length !== 2) {
@@ -35,16 +44,18 @@ let vcnId: string | null = null;
3544
let instanceId: string | null = null;
3645

3746
const computeClient = new core.ComputeClient({ authenticationDetailsProvider: provider });
38-
3947
const workRequestClient = new wr.WorkRequestClient({ authenticationDetailsProvider: provider });
4048

41-
const computeWaiter = computeClient.createWaiters(workRequestClient);
49+
const computeWaiter = computeClient.createWaiters(workRequestClient, waiterConfiguration);
4250

4351
const virtualNetworkClient = new core.VirtualNetworkClient({
4452
authenticationDetailsProvider: provider
4553
});
4654

47-
const virtualNetworkWaiter = virtualNetworkClient.createWaiters(workRequestClient);
55+
const virtualNetworkWaiter = virtualNetworkClient.createWaiters(
56+
workRequestClient,
57+
waiterConfiguration
58+
);
4859

4960
const identityClient = new identity.IdentityClient({ authenticationDetailsProvider: provider });
5061

@@ -68,7 +79,7 @@ async function getShape(
6879
const response = await computeClient.listShapes(request);
6980

7081
for (let shape of response.items) {
71-
if (shape.shape.startsWith("VM")) {
82+
if (shape.shape.startsWith("VM") && shape.shape.toLowerCase().indexOf("flex") == -1) {
7283
return shape;
7384
}
7485
}

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.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection 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.15.0",
3+
"version": "2.16.0",
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.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Ai Speech Service",
55
"repository": {
66
"type": "git",

lib/aivision/lib/client.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class AIServiceVisionClient {
147147
/**
148148
* Perform different types of image analysis.
149149
*
150-
* This operation does not retry by default if the user has not defined a retry configuration.
150+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
151151
* @param AnalyzeDocumentRequest
152152
* @return AnalyzeDocumentResponse
153153
* @throws OciError when an error occurs
@@ -166,7 +166,7 @@ export class AIServiceVisionClient {
166166
"opc-request-id": analyzeDocumentRequest.opcRequestId
167167
};
168168

169-
const specRetryConfiguration = common.NoRetryConfigurationDetails;
169+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
170170
const retrier = GenericRetrier.createPreferredRetrier(
171171
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
172172
analyzeDocumentRequest.retryConfiguration,
@@ -218,7 +218,7 @@ export class AIServiceVisionClient {
218218
/**
219219
* Perform different types of image analysis.
220220
*
221-
* This operation does not retry by default if the user has not defined a retry configuration.
221+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
222222
* @param AnalyzeImageRequest
223223
* @return AnalyzeImageResponse
224224
* @throws OciError when an error occurs
@@ -237,7 +237,7 @@ export class AIServiceVisionClient {
237237
"opc-request-id": analyzeImageRequest.opcRequestId
238238
};
239239

240-
const specRetryConfiguration = common.NoRetryConfigurationDetails;
240+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
241241
const retrier = GenericRetrier.createPreferredRetrier(
242242
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
243243
analyzeImageRequest.retryConfiguration,

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

lib/apmconfig/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmconfig",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Apm Config Service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmcontrolplane",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/appmgmtcontrol/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-appmgmtcontrol",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Appmgmt Control Service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

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

lib/audit/package.json

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

lib/autoscaling/package.json

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

lib/bastion/package.json

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

lib/bds/package.json

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

lib/blockchain/package.json

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

lib/budget/package.json

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

lib/certificates/package.json

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

lib/certificatesmanagement/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-certificatesmanagement",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Certificates Management Service",
55
"repository": {
66
"type": "git",

lib/cims/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cims",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Cims ",
55
"repository": {
66
"type": "git",

lib/cloudguard/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudguard",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/common/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-common",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",

lib/computeinstanceagent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-computeinstanceagent",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Compute Instance Agent Service",
55
"repository": {
66
"type": "git",

lib/containerengine/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-containerengine",
3-
"version": "2.15.0",
3+
"version": "2.16.0",
44
"description": "OCI NodeJS client for Container Engine",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)