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

Lines changed: 18 additions & 0 deletions
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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 0 deletions
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

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.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

Lines changed: 8 additions & 0 deletions
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

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.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

Lines changed: 16 additions & 0 deletions
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

0 commit comments

Comments
 (0)