Socket
Socket
Sign inDemoInstall

oci-apigateway

Package Overview
Dependencies
Maintainers
2
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-apigateway - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

187

lib/client.js

@@ -151,4 +151,6 @@ "use strict";

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeDeploymentCompartmentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -171,5 +173,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -206,4 +207,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -239,5 +242,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -274,4 +276,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -294,5 +298,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -328,4 +331,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -351,5 +356,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -393,4 +397,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listDeploymentsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -421,5 +427,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -457,4 +462,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateDeploymentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -477,5 +484,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -595,4 +601,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, changeGatewayCompartmentRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -615,5 +623,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -650,4 +657,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -683,5 +692,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -718,4 +726,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -738,5 +748,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -772,4 +781,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -795,5 +806,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -836,4 +846,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listGatewaysRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -864,5 +876,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -900,4 +911,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateGatewayRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -920,5 +933,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -1037,4 +1049,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, cancelWorkRequestRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -1052,5 +1066,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -1086,4 +1099,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getWorkRequestRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -1114,5 +1129,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -1154,4 +1168,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestErrorsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -1182,5 +1198,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -1222,4 +1237,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestLogsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -1250,5 +1267,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -1290,4 +1306,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listWorkRequestsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_1.composeResponse({

@@ -1318,5 +1336,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -1323,0 +1340,0 @@ });

{
"name": "oci-apigateway",
"version": "1.5.1",
"version": "1.5.2",
"description": "OCI NodeJS client for API gateway service",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "1.5.1",
"oci-workrequests": "1.5.1"
"oci-common": "1.5.2",
"oci-workrequests": "1.5.2"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc