Skip to content

Commit f9744f4

Browse files
Releasing version 2.11.1
Releasing version 2.11.1
2 parents dc61223 + b689cab commit f9744f4

File tree

331 files changed

+5962
-534
lines changed

Some content is hidden

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

331 files changed

+5962
-534
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ 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.11.1 - 2022-01-18
7+
### Added
8+
- Support for calling Oracle Cloud Infrastructure services in the me-dcc-muscat-1 region
9+
- Support for the Visual Builder service
10+
- Support for cross-region replication of volume groups in the Block Storage service
11+
- Support for boot volume encryption in the Container Engine for Kubernetes service
12+
- Support for adding metadata to records when creating and updating records in the Data Labeling service
13+
- Support for global export formats in snapshot datasets in the Data Labeling service
14+
- Support for adding labeling instructions to datasets in the Data Labeling service
15+
- Support for updating autonomous dataguard associations for autonomous container databases in the Database service
16+
- Support for setting up automatic failover when creating autonomous container databases in the Database service
17+
- Support for setting the RECO storage size when updating a database system in the Database service
18+
- Support for reconnecting refreshable clones to source for autonomous databases on shared infrastructure in the Database service
19+
- Support for checking if an autonomous database on shared infrastructure can be reconnected to source, in the Database service
20+
621
## 2.11.0 - 2022-01-11
722
### Added
823
- Support for calling Oracle Cloud Infrastructure services in the af-johannesburg-1 and eu-stockholm-1 regions

index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,4 @@ export import servicemanagerproxy = require("oci-servicemanagerproxy");
177177
export import appmgmtcontrol = require("oci-appmgmtcontrol");
178178
export import identitydataplane = require("oci-identitydataplane");
179179
export import ospgateway = require("oci-ospgateway");
180+
export import visualbuilder = require("oci-visualbuilder");

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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
44
"description": "OCI NodeJS client for Ai Language 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.11.0",
3+
"version": "2.11.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.11.0",
3+
"version": "2.11.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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
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.11.0",
3+
"version": "2.11.1",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/common/lib/realm.ts

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class Realm {
3434
public static OC3: Realm = Realm.register("oc3", "oraclegovcloud.com");
3535
public static OC4: Realm = Realm.register("oc4", "oraclegovcloud.uk");
3636
public static OC8: Realm = Realm.register("oc8", "oraclecloud8.com");
37+
public static OC9: Realm = Realm.register("oc9", "oraclecloud9.com");
3738
public static register(realmId: string, secondLevelDomain: string): Realm {
3839
if (!realmId) throw Error("Realm Id can not be empty or undefined");
3940
if (!secondLevelDomain) throw Error("secondLevelDomain can not be empty or undefined");

lib/common/lib/region.ts

+3
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ export class Region {
107107
public static AP_CHIYODA_1: Region = Region.register("ap-chiyoda-1", Realm.OC8, "nja");
108108
public static AP_IBARAKI_1: Region = Region.register("ap-ibaraki-1", Realm.OC8, "ukb");
109109

110+
// OC9
111+
public static ME_DCC_MUSCAT_1: Region = Region.register("me-dcc-muscat-1", Realm.OC9, "mct");
112+
110113
/**
111114
* Return all known Regions in this version of the SDK, except possibly the region returned by IMDS (Instance Metadata
112115
* Service, only available on OCI instances), since IMDS is not automatically contacted by this method.

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.11.0",
3+
"version": "2.11.1",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",

lib/common/tests/resources/regions.json

+6
Original file line numberDiff line numberDiff line change
@@ -232,5 +232,11 @@
232232
"realmDomainComponent": "oraclecloud.com",
233233
"regionIdentifier": "af-johannesburg-1",
234234
"realmKey": "oc1"
235+
},
236+
{
237+
"regionKey": "mct",
238+
"realmDomainComponent": "oraclecloud9.com",
239+
"regionIdentifier": "me-dcc-muscat-1",
240+
"realmKey": "oc9"
235241
}
236242
]

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.11.0",
3+
"version": "2.11.1",
44
"description": "OCI NodeJS client for Compute Instance Agent Service",
55
"repository": {
66
"type": "git",

lib/containerengine/lib/model/create-node-pool-node-config-details.ts

+8
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ export interface CreateNodePoolNodeConfigDetails {
3131
*
3232
*/
3333
"nsgIds"?: Array<string>;
34+
/**
35+
* The OCID of the Key Management Service key assigned to the boot volume.
36+
*/
37+
"kmsKeyId"?: string;
38+
/**
39+
* Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
40+
*/
41+
"isPvEncryptionInTransitEnabled"?: boolean;
3442
/**
3543
* The placement configurations for the node pool. Provide one placement
3644
* configuration for each availability domain in which you intend to launch a node.

lib/containerengine/lib/model/kubernetes-network-config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import common = require("oci-common");
2222
*/
2323
export interface KubernetesNetworkConfig {
2424
/**
25-
* The CIDR block for Kubernetes pods.
25+
* The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
2626
*/
2727
"podsCidr"?: string;
2828
/**
29-
* The CIDR block for Kubernetes services.
29+
* The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
3030
*/
3131
"servicesCidr"?: string;
3232
}

lib/containerengine/lib/model/node-pool-node-config-details.ts

+8
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ export interface NodePoolNodeConfigDetails {
3131
*
3232
*/
3333
"nsgIds"?: Array<string>;
34+
/**
35+
* The OCID of the Key Management Service key assigned to the boot volume.
36+
*/
37+
"kmsKeyId"?: string;
38+
/**
39+
* Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
40+
*/
41+
"isPvEncryptionInTransitEnabled"?: boolean;
3442
/**
3543
* The placement configurations for the node pool. Provide one placement
3644
* configuration for each availability domain in which you intend to launch a node.

lib/containerengine/lib/model/update-node-pool-node-config-details.ts

+8
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ export interface UpdateNodePoolNodeConfigDetails {
3131
*
3232
*/
3333
"nsgIds"?: Array<string>;
34+
/**
35+
* The OCID of the Key Management Service key assigned to the boot volume.
36+
*/
37+
"kmsKeyId"?: string;
38+
/**
39+
* Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
40+
*/
41+
"isPvEncryptionInTransitEnabled"?: boolean;
3442
/**
3543
* The placement configurations for the node pool. Provide one placement
3644
* configuration for each availability domain in which you intend to launch a node.

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.11.0",
3+
"version": "2.11.1",
44
"description": "OCI NodeJS client for Container Engine",
55
"repository": {
66
"type": "git",

lib/core/lib/blockstorage-waiter.ts

+19
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,23 @@ export class BlockstorageWaiter {
223223
targetStates.includes(models.VolumeGroupBackup.LifecycleState.Terminated)
224224
);
225225
}
226+
227+
/**
228+
* Waits forVolumeGroupReplica till it reaches any of the provided states
229+
*
230+
* @param request the request to send
231+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
232+
* @return response returns GetVolumeGroupReplicaResponse | null (null in case of 404 response)
233+
*/
234+
public async forVolumeGroupReplica(
235+
request: serviceRequests.GetVolumeGroupReplicaRequest,
236+
...targetStates: models.VolumeGroupReplica.LifecycleState[]
237+
): Promise<serviceResponses.GetVolumeGroupReplicaResponse | null> {
238+
return genericTerminalConditionWaiter(
239+
this.config,
240+
() => this.client.getVolumeGroupReplica(request),
241+
response => targetStates.includes(response.volumeGroupReplica.lifecycleState!),
242+
targetStates.includes(models.VolumeGroupReplica.LifecycleState.Terminated)
243+
);
244+
}
226245
}

0 commit comments

Comments
 (0)