Skip to content

Commit 7339e69

Browse files
authored
Merge pull request #84 from oracle/release_2021-07-20
Releasing version 2.0.0
2 parents 095dec0 + 82fc6aa commit 7339e69

File tree

353 files changed

+9648
-305
lines changed

Some content is hidden

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

353 files changed

+9648
-305
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ 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.0.0 - 2021-07-20
7+
### Added
8+
- Support for schedules, schedule tasks, REST tasks, operators, S3, and Fusion Apps in the Data Integration service
9+
- Support for getting available updates and update histories for VM clusters in the Database service
10+
- Support for downloading network validation reports for Exadata network resources in the Database service
11+
- Support for patch and upgrade of Grid Infrastructure (GI), and update of DomU OS software for VM clusters in the Database service
12+
- Support for updating data guard associations in the Database service
13+
14+
### Breaking Changes
15+
- Support for retries by default in the SDK. To disable default retries, set the environment variable `OCI_SDK_DEFAULT_RETRY_ENABLED` to `false` or programmatically set the value of `common.GenericRetrier.defaultRetryConfiguration`
16+
- Support for circuit breaker by default in the SDK. To disable default circuit breaker, set the environment variable `OCI_SDK_DEFAULT_CIRCUITBREAKER_ENABLED` to `false` or programmatically set the value of `common.CircuitBreaker.defaultConfiguration`
17+
- Removed the property `isFilePattern` from `CsvFormatAttribute` model under the Data Integration service
18+
- Removed the property `bucketName` from `OracleAtpWriteAttributes` model under the Data Integration service
19+
- Removed the property `bucketName` from `OracleAdwcWriteAttributes` model under the Data Integration service
20+
- Changed the data type of  property `type` in `ShapeField` model from `string` to `any` under the Data Integration service
21+
- Changed the data type of  property `type` in `NativeShapeField` model from `string` to `any` under the Data Integration service
22+
- Changed the data type of property `lifecycleState` in `ListWorkspacesRequest` from `ListWorkspacesRequest.LifecycleState` to `string` under the Data Integration service
23+
624
## 1.23.0 - 2021-07-13
725
### Added
826
- Support for the AI Anomaly Detection service

lib/aianomalydetection/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ export class AnomalyDetectionClient {
4848
? clientConfiguration.circuitBreaker!.circuit
4949
: null;
5050
}
51+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
52+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
53+
this._circuitBreaker = new common.CircuitBreaker().circuit;
54+
}
5155
this._httpClient =
5256
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5357

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

lib/ailanguage/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export class AIServiceLanguageClient {
4646
? clientConfiguration.circuitBreaker!.circuit
4747
: null;
4848
}
49+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
50+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
51+
this._circuitBreaker = new common.CircuitBreaker().circuit;
52+
}
4953
this._httpClient =
5054
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5155

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": "1.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Ai Language Service",
55
"repository": {
66
"type": "git",

lib/analytics/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export class AnalyticsClient {
4646
? clientConfiguration.circuitBreaker!.circuit
4747
: null;
4848
}
49+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
50+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
51+
this._circuitBreaker = new common.CircuitBreaker().circuit;
52+
}
4953
this._httpClient =
5054
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5155

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

lib/announcementsservice/lib/client.ts

+8
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ export class AnnouncementClient {
4343
? clientConfiguration.circuitBreaker!.circuit
4444
: null;
4545
}
46+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
47+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
48+
this._circuitBreaker = new common.CircuitBreaker().circuit;
49+
}
4650
this._httpClient =
4751
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
4852

@@ -389,6 +393,10 @@ export class AnnouncementsPreferencesClient {
389393
? clientConfiguration.circuitBreaker!.circuit
390394
: null;
391395
}
396+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
397+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
398+
this._circuitBreaker = new common.CircuitBreaker().circuit;
399+
}
392400
this._httpClient =
393401
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
394402

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

lib/apigateway/lib/client.ts

+16
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ export class ApiGatewayClient {
5050
? clientConfiguration.circuitBreaker!.circuit
5151
: null;
5252
}
53+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
54+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
55+
this._circuitBreaker = new common.CircuitBreaker().circuit;
56+
}
5357
this._httpClient =
5458
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5559

@@ -1590,6 +1594,10 @@ export class DeploymentClient {
15901594
? clientConfiguration.circuitBreaker!.circuit
15911595
: null;
15921596
}
1597+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
1598+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
1599+
this._circuitBreaker = new common.CircuitBreaker().circuit;
1600+
}
15931601
this._httpClient =
15941602
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
15951603

@@ -2112,6 +2120,10 @@ export class GatewayClient {
21122120
? clientConfiguration.circuitBreaker!.circuit
21132121
: null;
21142122
}
2123+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2124+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
2125+
this._circuitBreaker = new common.CircuitBreaker().circuit;
2126+
}
21152127
this._httpClient =
21162128
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
21172129

@@ -2633,6 +2645,10 @@ export class WorkRequestsClient {
26332645
? clientConfiguration.circuitBreaker!.circuit
26342646
: null;
26352647
}
2648+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
2649+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
2650+
this._circuitBreaker = new common.CircuitBreaker().circuit;
2651+
}
26362652
this._httpClient =
26372653
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
26382654

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

lib/apmcontrolplane/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export class ApmDomainClient {
4747
? clientConfiguration.circuitBreaker!.circuit
4848
: null;
4949
}
50+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
51+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
52+
this._circuitBreaker = new common.CircuitBreaker().circuit;
53+
}
5054
this._httpClient =
5155
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5256

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": "1.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ export class ApmSyntheticClient {
4343
? clientConfiguration.circuitBreaker!.circuit
4444
: null;
4545
}
46+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
47+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
48+
this._circuitBreaker = new common.CircuitBreaker().circuit;
49+
}
4650
this._httpClient =
4751
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
4852

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": "1.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/lib/client.ts

+8
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export class QueryClient {
4444
? clientConfiguration.circuitBreaker!.circuit
4545
: null;
4646
}
47+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
48+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
49+
this._circuitBreaker = new common.CircuitBreaker().circuit;
50+
}
4751
this._httpClient =
4852
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
4953

@@ -389,6 +393,10 @@ export class TraceClient {
389393
? clientConfiguration.circuitBreaker!.circuit
390394
: null;
391395
}
396+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
397+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
398+
this._circuitBreaker = new common.CircuitBreaker().circuit;
399+
}
392400
this._httpClient =
393401
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
394402

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": "1.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ export class ApplicationMigrationClient {
5050
? clientConfiguration.circuitBreaker!.circuit
5151
: null;
5252
}
53+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
54+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
55+
this._circuitBreaker = new common.CircuitBreaker().circuit;
56+
}
5357
this._httpClient =
5458
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5559

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.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/artifacts/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export class ArtifactsClient {
4646
? clientConfiguration.circuitBreaker!.circuit
4747
: null;
4848
}
49+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
50+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
51+
this._circuitBreaker = new common.CircuitBreaker().circuit;
52+
}
4953
this._httpClient =
5054
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5155

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": "1.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export class AuditClient {
4747
? clientConfiguration.circuitBreaker!.circuit
4848
: null;
4949
}
50+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
51+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
52+
this._circuitBreaker = new common.CircuitBreaker().circuit;
53+
}
5054
this._httpClient =
5155
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5256

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

lib/autoscaling/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ export class AutoScalingClient {
4949
? clientConfiguration.circuitBreaker!.circuit
5050
: null;
5151
}
52+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
53+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
54+
this._circuitBreaker = new common.CircuitBreaker().circuit;
55+
}
5256
this._httpClient =
5357
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5458

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

lib/bastion/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ export class BastionClient {
4545
? clientConfiguration.circuitBreaker!.circuit
4646
: null;
4747
}
48+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
49+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
50+
this._circuitBreaker = new common.CircuitBreaker().circuit;
51+
}
4852
this._httpClient =
4953
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5054

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": "1.23.0",
3+
"version": "2.0.0",
44
"description": "OCI NodeJS client for Bastion Service",
55
"repository": {
66
"type": "git",

lib/bds/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export class BdsClient {
4747
? clientConfiguration.circuitBreaker!.circuit
4848
: null;
4949
}
50+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
51+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
52+
this._circuitBreaker = new common.CircuitBreaker().circuit;
53+
}
5054
this._httpClient =
5155
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5256

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

lib/blockchain/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ export class BlockchainPlatformClient {
4444
? clientConfiguration.circuitBreaker!.circuit
4545
: null;
4646
}
47+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
48+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
49+
this._circuitBreaker = new common.CircuitBreaker().circuit;
50+
}
4751
this._httpClient =
4852
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
4953

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

lib/budget/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ export class BudgetClient {
4545
? clientConfiguration.circuitBreaker!.circuit
4646
: null;
4747
}
48+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
49+
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
50+
this._circuitBreaker = new common.CircuitBreaker().circuit;
51+
}
4852
this._httpClient =
4953
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
5054

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

0 commit comments

Comments
 (0)