Skip to content

Commit bc6ab63

Browse files
authored
Releasing version 1.6.1
Releasing version 1.6.1
2 parents be59a2e + e8ebfa7 commit bc6ab63

File tree

211 files changed

+7737
-114
lines changed

Some content is hidden

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

211 files changed

+7737
-114
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ 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.6.1 - 2020-10-20
7+
### Added
8+
- Support for the Operations Insights service
9+
- Support for updating autonomous databases to enable/disable Operations Insights service integration, in the Database service
10+
- Support for the NEEDS_ATTENTION lifecycle state on database systems in the Database service
11+
- Support for HCX in the VMware Solutions service
12+
613
## 1.6.0 - 2020-10-13
714
### Added
815
- Support for API definitions in the API Gateway service

index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,4 @@ export import managementagent = require("oci-managementagent");
144144
export import managementdashboard = require("oci-managementdashboard");
145145
export import sch = require("oci-sch");
146146
export import cloudguard = require("oci-cloudguard");
147+
export import opsi = require("oci-opsi");

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": "1.6.0",
3+
"version": "1.6.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": "1.6.0",
3+
"version": "1.6.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": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI NodeJS client for API gateway 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": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI NodeJS client for Application Migration 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": "1.6.0",
3+
"version": "1.6.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": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI NodeJS client for Autoscaling 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": "1.6.0",
3+
"version": "1.6.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": "1.6.0",
3+
"version": "1.6.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": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI NodeJS client for Budget 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": "1.6.0",
3+
"version": "1.6.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": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/common/package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-common",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",
@@ -24,6 +24,7 @@
2424
"isomorphic-fetch": "2.2.1",
2525
"jsonwebtoken": "8.5.1",
2626
"jssha": "2.4.1",
27+
"opossum": "5.0.1",
2728
"sshpk": "1.16.1",
2829
"uuid": "3.3.3"
2930
},
@@ -33,6 +34,7 @@
3334
"@types/jssha": "^2.0.0",
3435
"@types/mocha": "^5.2.5",
3536
"@types/node": "10.17.0",
37+
"@types/opossum": "4.1.1",
3638
"@types/sshpk": "^1.10.3",
3739
"awesome-typescript-loader": "3.1.3",
3840
"chai": "^4.2.0",

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

lib/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-core",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "OCI NodeJS client for Core",
55
"repository": {
66
"type": "git",

lib/database/lib/client.ts

+128
Original file line numberDiff line numberDiff line change
@@ -3530,6 +3530,70 @@ Oracle recommends that you use the `performFinalBackup` parameter to back up any
35303530
}
35313531
}
35323532

3533+
/**
3534+
* Disables Operations Insights for the Autonomous Database resource.
3535+
*
3536+
* @param DisableAutonomousDatabaseOperationsInsightsRequest
3537+
* @return DisableAutonomousDatabaseOperationsInsightsResponse
3538+
* @throws OciError when an error occurs
3539+
*/
3540+
public async disableAutonomousDatabaseOperationsInsights(
3541+
disableAutonomousDatabaseOperationsInsightsRequest: requests.DisableAutonomousDatabaseOperationsInsightsRequest
3542+
): Promise<responses.DisableAutonomousDatabaseOperationsInsightsResponse> {
3543+
if (this.logger)
3544+
this.logger.debug(
3545+
"Calling operation DatabaseClient#disableAutonomousDatabaseOperationsInsights."
3546+
);
3547+
const pathParams = {
3548+
"{autonomousDatabaseId}":
3549+
disableAutonomousDatabaseOperationsInsightsRequest.autonomousDatabaseId
3550+
};
3551+
3552+
const queryParams = {};
3553+
3554+
let headerParams = {
3555+
"Content-Type": common.Constants.APPLICATION_JSON,
3556+
"opc-request-id": disableAutonomousDatabaseOperationsInsightsRequest.opcRequestId
3557+
};
3558+
3559+
const request = await composeRequest({
3560+
baseEndpoint: this._endpoint,
3561+
defaultHeaders: this._defaultHeaders,
3562+
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/disableOperationsInsights",
3563+
method: "POST",
3564+
pathParams: pathParams,
3565+
headerParams: headerParams,
3566+
queryParams: queryParams
3567+
});
3568+
const retrier = GenericRetrier.createPreferredRetrier(
3569+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {},
3570+
disableAutonomousDatabaseOperationsInsightsRequest.retryConfiguration
3571+
);
3572+
if (this.logger) retrier.logger = this.logger;
3573+
try {
3574+
const response = await retrier.makeServiceCall(this._httpClient, request);
3575+
const sdkResponse = composeResponse({
3576+
responseObject: <responses.DisableAutonomousDatabaseOperationsInsightsResponse>{},
3577+
responseHeaders: [
3578+
{
3579+
value: response.headers.get("opc-work-request-id"),
3580+
key: "opcWorkRequestId",
3581+
dataType: "string"
3582+
},
3583+
{
3584+
value: response.headers.get("opc-request-id"),
3585+
key: "opcRequestId",
3586+
dataType: "string"
3587+
}
3588+
]
3589+
});
3590+
3591+
return sdkResponse;
3592+
} catch (err) {
3593+
throw err;
3594+
}
3595+
}
3596+
35333597
/**
35343598
* Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
35353599
*
@@ -3688,6 +3752,70 @@ Oracle recommends that you use the `performFinalBackup` parameter to back up any
36883752
}
36893753
}
36903754

3755+
/**
3756+
* Enables the specified Autonomous Database with Operations Insights.
3757+
*
3758+
* @param EnableAutonomousDatabaseOperationsInsightsRequest
3759+
* @return EnableAutonomousDatabaseOperationsInsightsResponse
3760+
* @throws OciError when an error occurs
3761+
*/
3762+
public async enableAutonomousDatabaseOperationsInsights(
3763+
enableAutonomousDatabaseOperationsInsightsRequest: requests.EnableAutonomousDatabaseOperationsInsightsRequest
3764+
): Promise<responses.EnableAutonomousDatabaseOperationsInsightsResponse> {
3765+
if (this.logger)
3766+
this.logger.debug(
3767+
"Calling operation DatabaseClient#enableAutonomousDatabaseOperationsInsights."
3768+
);
3769+
const pathParams = {
3770+
"{autonomousDatabaseId}":
3771+
enableAutonomousDatabaseOperationsInsightsRequest.autonomousDatabaseId
3772+
};
3773+
3774+
const queryParams = {};
3775+
3776+
let headerParams = {
3777+
"Content-Type": common.Constants.APPLICATION_JSON,
3778+
"opc-request-id": enableAutonomousDatabaseOperationsInsightsRequest.opcRequestId
3779+
};
3780+
3781+
const request = await composeRequest({
3782+
baseEndpoint: this._endpoint,
3783+
defaultHeaders: this._defaultHeaders,
3784+
path: "/autonomousDatabases/{autonomousDatabaseId}/actions/enableOperationsInsights",
3785+
method: "POST",
3786+
pathParams: pathParams,
3787+
headerParams: headerParams,
3788+
queryParams: queryParams
3789+
});
3790+
const retrier = GenericRetrier.createPreferredRetrier(
3791+
this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {},
3792+
enableAutonomousDatabaseOperationsInsightsRequest.retryConfiguration
3793+
);
3794+
if (this.logger) retrier.logger = this.logger;
3795+
try {
3796+
const response = await retrier.makeServiceCall(this._httpClient, request);
3797+
const sdkResponse = composeResponse({
3798+
responseObject: <responses.EnableAutonomousDatabaseOperationsInsightsResponse>{},
3799+
responseHeaders: [
3800+
{
3801+
value: response.headers.get("opc-work-request-id"),
3802+
key: "opcWorkRequestId",
3803+
dataType: "string"
3804+
},
3805+
{
3806+
value: response.headers.get("opc-request-id"),
3807+
key: "opcRequestId",
3808+
dataType: "string"
3809+
}
3810+
]
3811+
});
3812+
3813+
return sdkResponse;
3814+
} catch (err) {
3815+
throw err;
3816+
}
3817+
}
3818+
36913819
/**
36923820
* Initiates a failover the specified Autonomous Database to a standby.
36933821
*

lib/database/lib/model/autonomous-database-summary.ts

+18
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ To add the whitelist VCN specific subnet or IP, use a semicoln ';' as a delimina
194194
* Status of the Data Safe registration for this Autonomous Database.
195195
*/
196196
"dataSafeStatus"?: AutonomousDatabaseSummary.DataSafeStatus;
197+
/**
198+
* Status of the Operations Insights for this Autonomous Database.
199+
*/
200+
"operationsInsightsStatus"?: AutonomousDatabaseSummary.OperationsInsightsStatus;
197201
/**
198202
* The date and time when maintenance will begin.
199203
*/
@@ -337,6 +341,20 @@ export namespace AutonomousDatabaseSummary {
337341
UnknownValue = "UNKNOWN_VALUE"
338342
}
339343

344+
export enum OperationsInsightsStatus {
345+
Enabling = "ENABLING",
346+
Enabled = "ENABLED",
347+
Disabling = "DISABLING",
348+
NotEnabled = "NOT_ENABLED",
349+
FailedEnabling = "FAILED_ENABLING",
350+
FailedDisabling = "FAILED_DISABLING",
351+
/**
352+
* This value is used if a service returns a value for this enum that is not recognized by this
353+
* version of the SDK.
354+
*/
355+
UnknownValue = "UNKNOWN_VALUE"
356+
}
357+
340358
export enum OpenMode {
341359
ReadOnly = "READ_ONLY",
342360
ReadWrite = "READ_WRITE",

lib/database/lib/model/autonomous-database.ts

+18
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ To add the whitelist VCN specific subnet or IP, use a semicoln ';' as a delimina
192192
* Status of the Data Safe registration for this Autonomous Database.
193193
*/
194194
"dataSafeStatus"?: AutonomousDatabase.DataSafeStatus;
195+
/**
196+
* Status of the Operations Insights for this Autonomous Database.
197+
*/
198+
"operationsInsightsStatus"?: AutonomousDatabase.OperationsInsightsStatus;
195199
/**
196200
* The date and time when maintenance will begin.
197201
*/
@@ -335,6 +339,20 @@ export namespace AutonomousDatabase {
335339
UnknownValue = "UNKNOWN_VALUE"
336340
}
337341

342+
export enum OperationsInsightsStatus {
343+
Enabling = "ENABLING",
344+
Enabled = "ENABLED",
345+
Disabling = "DISABLING",
346+
NotEnabled = "NOT_ENABLED",
347+
FailedEnabling = "FAILED_ENABLING",
348+
FailedDisabling = "FAILED_DISABLING",
349+
/**
350+
* This value is used if a service returns a value for this enum that is not recognized by this
351+
* version of the SDK.
352+
*/
353+
UnknownValue = "UNKNOWN_VALUE"
354+
}
355+
338356
export enum OpenMode {
339357
ReadOnly = "READ_ONLY",
340358
ReadWrite = "READ_WRITE",

lib/database/lib/model/db-system-summary.ts

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ export namespace DbSystemSummary {
266266
Failed = "FAILED",
267267
Migrated = "MIGRATED",
268268
MaintenanceInProgress = "MAINTENANCE_IN_PROGRESS",
269+
NeedsAttention = "NEEDS_ATTENTION",
269270
/**
270271
* This value is used if a service returns a value for this enum that is not recognized by this
271272
* version of the SDK.

lib/database/lib/model/db-system.ts

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ export namespace DbSystem {
247247
Failed = "FAILED",
248248
Migrated = "MIGRATED",
249249
MaintenanceInProgress = "MAINTENANCE_IN_PROGRESS",
250+
NeedsAttention = "NEEDS_ATTENTION",
250251
/**
251252
* This value is used if a service returns a value for this enum that is not recognized by this
252253
* version of the SDK.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
*
3+
*
4+
* OpenAPI spec version: 20160918
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
11+
* 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.
12+
*/
13+
14+
import * as model from "../model";
15+
import common = require("oci-common");
16+
export interface DisableAutonomousDatabaseOperationsInsightsRequest extends common.BaseRequest {
17+
/**
18+
* The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
19+
*/
20+
"autonomousDatabaseId": string;
21+
/**
22+
* Unique identifier for the request.
23+
*
24+
*/
25+
"opcRequestId"?: string;
26+
}

0 commit comments

Comments
 (0)