Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/).

## 2.0.0 - 2021-07-20
### Added
- Support for schedules, schedule tasks, REST tasks, operators, S3, and Fusion Apps in the Data Integration service
- Support for getting available updates and update histories for VM clusters in the Database service
- Support for downloading network validation reports for Exadata network resources in the Database service
- Support for patch and upgrade of Grid Infrastructure (GI), and update of DomU OS software for VM clusters in the Database service
- Support for updating data guard associations in the Database service

### Breaking Changes
- 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`
- 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`
- Removed the property `isFilePattern` from `CsvFormatAttribute` model under the Data Integration service
- Removed the property `bucketName` from `OracleAtpWriteAttributes` model under the Data Integration service
- Removed the property `bucketName` from `OracleAdwcWriteAttributes` model under the Data Integration service
- Changed the data type of  property `type` in `ShapeField` model from `string` to `any` under the Data Integration service
- Changed the data type of  property `type` in `NativeShapeField` model from `string` to `any` under the Data Integration service
- Changed the data type of property `lifecycleState` in `ListWorkspacesRequest` from `ListWorkspacesRequest.LifecycleState` to `string` under the Data Integration service

## 1.23.0 - 2021-07-13
### Added
- Support for the AI Anomaly Detection service
Expand Down
4 changes: 4 additions & 0 deletions lib/aianomalydetection/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export class AnomalyDetectionClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/aianomalydetection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-aianomalydetection",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/ailanguage/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export class AIServiceLanguageClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/ailanguage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-ailanguage",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Ai Language Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/analytics/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export class AnalyticsClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-analytics",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Analytics Service",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions lib/announcementsservice/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export class AnnouncementClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down Expand Up @@ -389,6 +393,10 @@ export class AnnouncementsPreferencesClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/announcementsservice/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-announcementsservice",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Announcement Service",
"repository": {
"type": "git",
Expand Down
16 changes: 16 additions & 0 deletions lib/apigateway/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export class ApiGatewayClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down Expand Up @@ -1590,6 +1594,10 @@ export class DeploymentClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down Expand Up @@ -2112,6 +2120,10 @@ export class GatewayClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down Expand Up @@ -2633,6 +2645,10 @@ export class WorkRequestsClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/apigateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apigateway",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for API gateway service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/apmcontrolplane/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export class ApmDomainClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/apmcontrolplane/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apmcontrolplane",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Apm Control Plane Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/apmsynthetics/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export class ApmSyntheticClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/apmsynthetics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apmsynthetics",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Apm Synthetics Service",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions lib/apmtraces/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export class QueryClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down Expand Up @@ -389,6 +393,10 @@ export class TraceClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/apmtraces/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-apmtraces",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Apm Traces Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/applicationmigration/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export class ApplicationMigrationClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/applicationmigration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-applicationmigration",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Application Migration service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/artifacts/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ export class ArtifactsClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/artifacts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-artifacts",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Artifacts Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/audit/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export class AuditClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/audit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-audit",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Audit Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/autoscaling/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export class AutoScalingClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/autoscaling/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-autoscaling",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Autoscaling Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/bastion/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export class BastionClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/bastion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-bastion",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Bastion Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/bds/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export class BdsClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/bds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-bds",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for BDS Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/blockchain/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ export class BlockchainPlatformClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/blockchain/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-blockchain",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Blockchain Service",
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions lib/budget/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export class BudgetClient {
? clientConfiguration.circuitBreaker!.circuit
: null;
}
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
if (!this._circuitBreaker && common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!)) {
this._circuitBreaker = new common.CircuitBreaker().circuit;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);

Expand Down
2 changes: 1 addition & 1 deletion lib/budget/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oci-budget",
"version": "1.23.0",
"version": "2.0.0",
"description": "OCI NodeJS client for Budget Service",
"repository": {
"type": "git",
Expand Down
Loading