Skip to content

Commit c2b5edd

Browse files
authored
Merge pull request #23 from oracle/release_2020-09-22
Releasing version 1.5.5
2 parents 31faff2 + 2d26007 commit c2b5edd

File tree

187 files changed

+3501
-416
lines changed

Some content is hidden

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

187 files changed

+3501
-416
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.5.5 - 2020-09-22
7+
### Added
8+
- Support for software keys in the Key Management service
9+
- Support for customer contacts on Exadata Cloud at Customer in the Database service
10+
- Support for updating open modes and permission levels of autonomous databases in the Database service
11+
- Support for flexible memory on VM instances in the Compute and Compute Management services
12+
613
## 1.5.4 - 2020-09-15
714
### Added
815
- Support for the Cloud Guard service

examples/typescript/create-preauth-req.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ if (args.length !== 3) {
3636

3737
const filePath: string = args[0]; // for eg : "/Users/Abc/upload-manager";
3838
const bucketName = args[1];
39-
const namespaceName = args[2]
40-
const serviceName = "objectstorage"
39+
const namespaceName = args[2];
40+
const serviceName = "objectstorage";
4141

4242
const client = new ObjectStorageClient({ authenticationDetailsProvider: provider });
4343
client.region = Region.US_PHOENIX_1;
@@ -67,7 +67,7 @@ client.region = Region.US_PHOENIX_1;
6767
};
6868
// create pre authenticated request to generate the url
6969
const resp = await client.createPreauthenticatedRequest(createPreauthenticatedRequest);
70-
const baseUrl = `https://${serviceName}.${common.Region.US_PHOENIX_1.regionId}.${common.Realm.OC1.secondLevelDomain}`
70+
const baseUrl = `https://${serviceName}.${common.Region.US_PHOENIX_1.regionId}.${common.Realm.OC1.secondLevelDomain}`;
7171
const downloadUrl = resp.preauthenticatedRequest.accessUri;
7272
console.log("download url for the file " + filePath + " is " + baseUrl + downloadUrl);
7373

examples/typescript/delete.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import common = require("oci-common");
77
import { ObjectStorageClient, requests } from "oci-objectstorage";
88
import { Region } from "oci-common";
99

10-
const configurationFilePath = '~/.oci/config';
10+
const configurationFilePath = "~/.oci/config";
1111
const configProfile = "DEFAULT";
1212

1313
const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider(

examples/typescript/rename.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import common = require("oci-common");
77
import { ObjectStorageClient, requests, models } from "oci-objectstorage";
88
import { Region } from "oci-common";
99

10-
const configurationFilePath = '~/.oci/config';
10+
const configurationFilePath = "~/.oci/config";
1111
const configProfile = "DEFAULT";
1212

1313
const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider(

lib/analytics/lib/client.ts

+15
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export class AnalyticsClient {
150150
const queryParams = {};
151151

152152
let headerParams = {
153+
"Content-Type": common.Constants.APPLICATION_JSON,
153154
"if-match": changeAnalyticsInstanceCompartmentRequest.ifMatch,
154155
"opc-request-id": changeAnalyticsInstanceCompartmentRequest.opcRequestId,
155156
"opc-retry-token": changeAnalyticsInstanceCompartmentRequest.opcRetryToken
@@ -220,6 +221,7 @@ export class AnalyticsClient {
220221
const queryParams = {};
221222

222223
let headerParams = {
224+
"Content-Type": common.Constants.APPLICATION_JSON,
223225
"if-match": changeAnalyticsInstanceNetworkEndpointRequest.ifMatch,
224226
"opc-request-id": changeAnalyticsInstanceNetworkEndpointRequest.opcRequestId,
225227
"opc-retry-token": changeAnalyticsInstanceNetworkEndpointRequest.opcRetryToken
@@ -286,6 +288,7 @@ export class AnalyticsClient {
286288
const queryParams = {};
287289

288290
let headerParams = {
291+
"Content-Type": common.Constants.APPLICATION_JSON,
289292
"opc-request-id": createAnalyticsInstanceRequest.opcRequestId,
290293
"opc-retry-token": createAnalyticsInstanceRequest.opcRetryToken
291294
};
@@ -366,6 +369,7 @@ export class AnalyticsClient {
366369
const queryParams = {};
367370

368371
let headerParams = {
372+
"Content-Type": common.Constants.APPLICATION_JSON,
369373
"if-match": deleteAnalyticsInstanceRequest.ifMatch,
370374
"opc-request-id": deleteAnalyticsInstanceRequest.opcRequestId,
371375
"opc-retry-token": deleteAnalyticsInstanceRequest.opcRetryToken
@@ -427,6 +431,7 @@ export class AnalyticsClient {
427431
const queryParams = {};
428432

429433
let headerParams = {
434+
"Content-Type": common.Constants.APPLICATION_JSON,
430435
"if-match": deleteWorkRequestRequest.ifMatch,
431436
"opc-request-id": deleteWorkRequestRequest.opcRequestId
432437
};
@@ -482,6 +487,7 @@ export class AnalyticsClient {
482487
const queryParams = {};
483488

484489
let headerParams = {
490+
"Content-Type": common.Constants.APPLICATION_JSON,
485491
"opc-request-id": getAnalyticsInstanceRequest.opcRequestId
486492
};
487493

@@ -544,6 +550,7 @@ export class AnalyticsClient {
544550
const queryParams = {};
545551

546552
let headerParams = {
553+
"Content-Type": common.Constants.APPLICATION_JSON,
547554
"opc-request-id": getWorkRequestRequest.opcRequestId
548555
};
549556

@@ -619,6 +626,7 @@ export class AnalyticsClient {
619626
};
620627

621628
let headerParams = {
629+
"Content-Type": common.Constants.APPLICATION_JSON,
622630
"opc-request-id": listAnalyticsInstancesRequest.opcRequestId
623631
};
624632

@@ -709,6 +717,7 @@ export class AnalyticsClient {
709717
};
710718

711719
let headerParams = {
720+
"Content-Type": common.Constants.APPLICATION_JSON,
712721
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
713722
};
714723

@@ -799,6 +808,7 @@ export class AnalyticsClient {
799808
};
800809

801810
let headerParams = {
811+
"Content-Type": common.Constants.APPLICATION_JSON,
802812
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
803813
};
804814

@@ -893,6 +903,7 @@ export class AnalyticsClient {
893903
};
894904

895905
let headerParams = {
906+
"Content-Type": common.Constants.APPLICATION_JSON,
896907
"opc-request-id": listWorkRequestsRequest.opcRequestId
897908
};
898909

@@ -981,6 +992,7 @@ export class AnalyticsClient {
981992
const queryParams = {};
982993

983994
let headerParams = {
995+
"Content-Type": common.Constants.APPLICATION_JSON,
984996
"if-match": scaleAnalyticsInstanceRequest.ifMatch,
985997
"opc-request-id": scaleAnalyticsInstanceRequest.opcRequestId,
986998
"opc-retry-token": scaleAnalyticsInstanceRequest.opcRetryToken
@@ -1048,6 +1060,7 @@ export class AnalyticsClient {
10481060
const queryParams = {};
10491061

10501062
let headerParams = {
1063+
"Content-Type": common.Constants.APPLICATION_JSON,
10511064
"if-match": startAnalyticsInstanceRequest.ifMatch,
10521065
"opc-request-id": startAnalyticsInstanceRequest.opcRequestId,
10531066
"opc-retry-token": startAnalyticsInstanceRequest.opcRetryToken
@@ -1110,6 +1123,7 @@ export class AnalyticsClient {
11101123
const queryParams = {};
11111124

11121125
let headerParams = {
1126+
"Content-Type": common.Constants.APPLICATION_JSON,
11131127
"if-match": stopAnalyticsInstanceRequest.ifMatch,
11141128
"opc-request-id": stopAnalyticsInstanceRequest.opcRequestId,
11151129
"opc-retry-token": stopAnalyticsInstanceRequest.opcRetryToken
@@ -1173,6 +1187,7 @@ export class AnalyticsClient {
11731187
const queryParams = {};
11741188

11751189
let headerParams = {
1190+
"Content-Type": common.Constants.APPLICATION_JSON,
11761191
"if-match": updateAnalyticsInstanceRequest.ifMatch,
11771192
"opc-request-id": updateAnalyticsInstanceRequest.opcRequestId
11781193
};

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

lib/announcementsservice/lib/client.ts

+4
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export class AnnouncementClient {
121121
const queryParams = {};
122122

123123
let headerParams = {
124+
"Content-Type": common.Constants.APPLICATION_JSON,
124125
"opc-request-id": getAnnouncementRequest.opcRequestId
125126
};
126127

@@ -179,6 +180,7 @@ export class AnnouncementClient {
179180
const queryParams = {};
180181

181182
let headerParams = {
183+
"Content-Type": common.Constants.APPLICATION_JSON,
182184
"opc-request-id": getAnnouncementUserStatusRequest.opcRequestId
183185
};
184186

@@ -245,6 +247,7 @@ export class AnnouncementClient {
245247
};
246248

247249
let headerParams = {
250+
"Content-Type": common.Constants.APPLICATION_JSON,
248251
"opc-request-id": listAnnouncementsRequest.opcRequestId
249252
};
250253

@@ -308,6 +311,7 @@ export class AnnouncementClient {
308311
const queryParams = {};
309312

310313
let headerParams = {
314+
"Content-Type": common.Constants.APPLICATION_JSON,
311315
"if-match": updateAnnouncementUserStatusRequest.ifMatch,
312316
"opc-request-id": updateAnnouncementUserStatusRequest.opcRequestId
313317
};

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

lib/apigateway/lib/client.ts

+17
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export class DeploymentClient {
151151
const queryParams = {};
152152

153153
let headerParams = {
154+
"Content-Type": common.Constants.APPLICATION_JSON,
154155
"opc-retry-token": changeDeploymentCompartmentRequest.opcRetryToken,
155156
"if-match": changeDeploymentCompartmentRequest.ifMatch,
156157
"opc-request-id": changeDeploymentCompartmentRequest.opcRequestId
@@ -215,6 +216,7 @@ export class DeploymentClient {
215216
const queryParams = {};
216217

217218
let headerParams = {
219+
"Content-Type": common.Constants.APPLICATION_JSON,
218220
"opc-retry-token": createDeploymentRequest.opcRetryToken,
219221
"opc-request-id": createDeploymentRequest.opcRequestId
220222
};
@@ -292,6 +294,7 @@ export class DeploymentClient {
292294
const queryParams = {};
293295

294296
let headerParams = {
297+
"Content-Type": common.Constants.APPLICATION_JSON,
295298
"if-match": deleteDeploymentRequest.ifMatch,
296299
"opc-request-id": deleteDeploymentRequest.opcRequestId
297300
};
@@ -351,6 +354,7 @@ export class DeploymentClient {
351354
const queryParams = {};
352355

353356
let headerParams = {
357+
"Content-Type": common.Constants.APPLICATION_JSON,
354358
"opc-request-id": getDeploymentRequest.opcRequestId
355359
};
356360

@@ -420,6 +424,7 @@ export class DeploymentClient {
420424
};
421425

422426
let headerParams = {
427+
"Content-Type": common.Constants.APPLICATION_JSON,
423428
"opc-request-id": listDeploymentsRequest.opcRequestId
424429
};
425430

@@ -486,6 +491,7 @@ export class DeploymentClient {
486491
const queryParams = {};
487492

488493
let headerParams = {
494+
"Content-Type": common.Constants.APPLICATION_JSON,
489495
"if-match": updateDeploymentRequest.ifMatch,
490496
"opc-request-id": updateDeploymentRequest.opcRequestId
491497
};
@@ -656,6 +662,7 @@ export class GatewayClient {
656662
const queryParams = {};
657663

658664
let headerParams = {
665+
"Content-Type": common.Constants.APPLICATION_JSON,
659666
"opc-retry-token": changeGatewayCompartmentRequest.opcRetryToken,
660667
"if-match": changeGatewayCompartmentRequest.ifMatch,
661668
"opc-request-id": changeGatewayCompartmentRequest.opcRequestId
@@ -720,6 +727,7 @@ export class GatewayClient {
720727
const queryParams = {};
721728

722729
let headerParams = {
730+
"Content-Type": common.Constants.APPLICATION_JSON,
723731
"opc-retry-token": createGatewayRequest.opcRetryToken,
724732
"opc-request-id": createGatewayRequest.opcRequestId
725733
};
@@ -797,6 +805,7 @@ export class GatewayClient {
797805
const queryParams = {};
798806

799807
let headerParams = {
808+
"Content-Type": common.Constants.APPLICATION_JSON,
800809
"if-match": deleteGatewayRequest.ifMatch,
801810
"opc-request-id": deleteGatewayRequest.opcRequestId
802811
};
@@ -856,6 +865,7 @@ export class GatewayClient {
856865
const queryParams = {};
857866

858867
let headerParams = {
868+
"Content-Type": common.Constants.APPLICATION_JSON,
859869
"opc-request-id": getGatewayRequest.opcRequestId
860870
};
861871

@@ -924,6 +934,7 @@ export class GatewayClient {
924934
};
925935

926936
let headerParams = {
937+
"Content-Type": common.Constants.APPLICATION_JSON,
927938
"opc-request-id": listGatewaysRequest.opcRequestId
928939
};
929940

@@ -990,6 +1001,7 @@ export class GatewayClient {
9901001
const queryParams = {};
9911002

9921003
let headerParams = {
1004+
"Content-Type": common.Constants.APPLICATION_JSON,
9931005
"if-match": updateGatewayRequest.ifMatch,
9941006
"opc-request-id": updateGatewayRequest.opcRequestId
9951007
};
@@ -1160,6 +1172,7 @@ export class WorkRequestsClient {
11601172
const queryParams = {};
11611173

11621174
let headerParams = {
1175+
"Content-Type": common.Constants.APPLICATION_JSON,
11631176
"opc-retry-token": cancelWorkRequestRequest.opcRetryToken,
11641177
"if-match": cancelWorkRequestRequest.ifMatch,
11651178
"opc-request-id": cancelWorkRequestRequest.opcRequestId
@@ -1215,6 +1228,7 @@ export class WorkRequestsClient {
12151228
const queryParams = {};
12161229

12171230
let headerParams = {
1231+
"Content-Type": common.Constants.APPLICATION_JSON,
12181232
"opc-request-id": getWorkRequestRequest.opcRequestId
12191233
};
12201234

@@ -1288,6 +1302,7 @@ export class WorkRequestsClient {
12881302
};
12891303

12901304
let headerParams = {
1305+
"Content-Type": common.Constants.APPLICATION_JSON,
12911306
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
12921307
};
12931308

@@ -1360,6 +1375,7 @@ export class WorkRequestsClient {
13601375
};
13611376

13621377
let headerParams = {
1378+
"Content-Type": common.Constants.APPLICATION_JSON,
13631379
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
13641380
};
13651381

@@ -1432,6 +1448,7 @@ export class WorkRequestsClient {
14321448
};
14331449

14341450
let headerParams = {
1451+
"Content-Type": common.Constants.APPLICATION_JSON,
14351452
"opc-request-id": listWorkRequestsRequest.opcRequestId
14361453
};
14371454

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

0 commit comments

Comments
 (0)