Skip to content

Commit 79aba7a

Browse files
authored
Releasing version 1.19.5
Releasing version 1.19.5
2 parents c2aeee0 + a7b5fa8 commit 79aba7a

File tree

105 files changed

+472
-115
lines changed

Some content is hidden

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

105 files changed

+472
-115
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ 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.19.5 - 2021-05-18
7+
### Added
8+
- Support for spark-submit compatible options in the Data Flow service
9+
- Support for Object Storage as a configuration source in the Resource Manager service
10+
611
## 1.19.4 - 2021-05-11
712
### Added
813
- Support for creating notebook sessions with larger block volumes in the Data Science service

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

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

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

lib/apigateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/apmcontrolplane/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmcontrolplane",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Apm Control Plane Service",
55
"repository": {
66
"type": "git",

lib/apmsynthetics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmsynthetics",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Apm Synthetics Service",
55
"repository": {
66
"type": "git",

lib/apmtraces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apmtraces",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Apm Traces Service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/artifacts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-artifacts",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Artifacts Service",
55
"repository": {
66
"type": "git",

lib/audit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-audit",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Audit Service",
55
"repository": {
66
"type": "git",

lib/autoscaling/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-autoscaling",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Autoscaling Service",
55
"repository": {
66
"type": "git",

lib/bds/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-bds",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for BDS Service",
55
"repository": {
66
"type": "git",

lib/blockchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-blockchain",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Blockchain Service",
55
"repository": {
66
"type": "git",

lib/budget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-budget",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Budget Service",
55
"repository": {
66
"type": "git",

lib/cims/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cims",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Cims ",
55
"repository": {
66
"type": "git",

lib/cloudguard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-cloudguard",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Cloud Guard Service",
55
"repository": {
66
"type": "git",

lib/common/lib/auth/config-file-auth.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,12 @@ export class ConfigFileAuthenticationDetailsProvider
116116
}
117117

118118
getPvtKey(filePath: string): string {
119-
const key = readFileSync(filePath, "utf8");
120-
return key;
119+
try {
120+
const key = readFileSync(filePath, "utf8");
121+
return key;
122+
} catch (e) {
123+
throw "Failed to read private key from file path.";
124+
}
121125
}
122126

123127
/**

lib/common/lib/helper.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ export function handleErrorResponse(response: Response, body: any): OciError {
3131
if (body && body.code && body.message) {
3232
return new OciError(statusCode, body.code, body.message, requestId);
3333
} else if (typeof body == "string" && body.length > 0) {
34-
return new OciError(statusCode, "unknown code", body, requestId);
34+
return new OciError(statusCode, "None", body, requestId);
35+
} else if (response.statusText && response.statusText.length > 0) {
36+
// There is no body text but statusText exists
37+
return new OciError(statusCode, "None", response.statusText, requestId);
3538
} else {
36-
return new OciError(statusCode, "unknown code", "unknown reason.", requestId);
39+
return new OciError(statusCode, "None", "unknown reason.", requestId);
3740
}
3841
}
3942

@@ -43,7 +46,7 @@ export async function handleErrorBody(response: Response): Promise<string | obje
4346
try {
4447
data = JSON.parse(data);
4548
} catch (err) {
46-
console.log("Cannot parse data into JSON");
49+
return data;
4750
}
4851
return data;
4952
}

lib/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-common",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI Common module for NodeJS",
55
"repository": {
66
"type": "git",

lib/computeinstanceagent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-computeinstanceagent",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Compute Instance Agent Service",
55
"repository": {
66
"type": "git",

lib/containerengine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-containerengine",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Container Engine",
55
"repository": {
66
"type": "git",

lib/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-core",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Core",
55
"repository": {
66
"type": "git",

lib/database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-database",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Database",
55
"repository": {
66
"type": "git",

lib/databasemanagement/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-databasemanagement",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Database Management Service",
55
"repository": {
66
"type": "git",

lib/databasemigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-databasemigration",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Database Migration Service",
55
"repository": {
66
"type": "git",

lib/datacatalog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-datacatalog",
3-
"version": "1.19.4",
3+
"version": "1.19.5",
44
"description": "OCI NodeJS client for Data catalogue Service",
55
"repository": {
66
"type": "git",

lib/dataflow/lib/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export class DataFlowClient {
399399
}
400400

401401
/**
402-
* Creates a private endpoint to be used by an application.
402+
* Creates a private endpoint to be used by applications.
403403
*
404404
* @param CreatePrivateEndpointRequest
405405
* @return CreatePrivateEndpointResponse
@@ -1060,7 +1060,7 @@ export class DataFlowClient {
10601060
}
10611061

10621062
/**
1063-
* Lists all applications in the specified compartment.
1063+
* Lists all applications in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
10641064
*
10651065
* @param ListApplicationsRequest
10661066
* @return ListApplicationsResponse
@@ -1335,7 +1335,7 @@ export class DataFlowClient {
13351335
}
13361336

13371337
/**
1338-
* Lists all runs of an application in the specified compartment.
1338+
* Lists all runs of an application in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
13391339
*
13401340
* @param ListRunsRequest
13411341
* @return ListRunsResponse

lib/dataflow/lib/model/application.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ export interface Application {
7878
*
7979
*/
8080
"driverShape": string;
81+
/**
82+
* The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit.
83+
* Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments.
84+
* Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10``
85+
* Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit,
86+
* Data Flow service will use derived information from execute input only.
87+
*
88+
*/
89+
"execute"?: string;
8190
/**
8291
* The VM shape for the executors. Sets the executor cores and memory.
8392
*

lib/dataflow/lib/model/change-private-endpoint-compartment-details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import * as model from "../model";
1616
import common = require("oci-common");
1717

1818
/**
19-
* The change private endpoint compartment details.
19+
* The details required to change a private endpoint compartment.
2020
*
2121
*/
2222
export interface ChangePrivateEndpointCompartmentDetails {

lib/dataflow/lib/model/create-application-details.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ export interface CreateApplicationDetails {
7878
*
7979
*/
8080
"driverShape": string;
81+
/**
82+
* The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit.
83+
* Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments.
84+
* Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10``
85+
* Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit,
86+
* Data Flow service will use derived information from execute input only.
87+
*
88+
*/
89+
"execute"?: string;
8190
/**
8291
* The VM shape for the executors. Sets the executor cores and memory.
8392
*

lib/dataflow/lib/model/create-private-endpoint-details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import * as model from "../model";
1616
import common = require("oci-common");
1717

1818
/**
19-
* The create private endpoint details.
19+
* The details required to create a private endpoint.
2020
*
2121
*/
2222
export interface CreatePrivateEndpointDetails {

0 commit comments

Comments
 (0)