oci-workrequests
Advanced tools
Comparing version 2.79.0 to 2.79.1
@@ -56,3 +56,2 @@ /** | ||
set endpoint(endpoint: string); | ||
get logger(): import("oci-common/lib/log").Logger; | ||
/** | ||
@@ -102,3 +101,3 @@ * Determines whether realm specific endpoint should be used or not. | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. | ||
*/ | ||
@@ -113,3 +112,3 @@ getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. | ||
*/ | ||
@@ -156,3 +155,3 @@ listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. | ||
*/ | ||
@@ -199,3 +198,3 @@ listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>; | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. | ||
*/ | ||
@@ -202,0 +201,0 @@ listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>; |
@@ -126,8 +126,4 @@ "use strict"; | ||
this._endpoint = this._endpoint + "/20160918"; | ||
if (this.logger) | ||
this.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`); | ||
oci_common_2.logger.info(`WorkRequestClient endpoint set to ${this._endpoint}`); | ||
} | ||
get logger() { | ||
return common.LOG.logger; | ||
} | ||
/** | ||
@@ -140,4 +136,3 @@ * Determines whether realm specific endpoint should be used or not. | ||
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; | ||
if (this.logger) | ||
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`); | ||
oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`); | ||
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { | ||
@@ -208,8 +203,7 @@ this.endpoint = common.EndpointBuilder.createEndpointFromRegion(WorkRequestClient.serviceEndpointTemplate, this._region, WorkRequestClient.endpointServiceName); | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. | ||
*/ | ||
getWorkRequest(getWorkRequestRequest) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (this.logger) | ||
this.logger.debug("Calling operation WorkRequestClient#getWorkRequest."); | ||
oci_common_2.logger.debug("Calling operation WorkRequestClient#getWorkRequest."); | ||
const operationName = "getWorkRequest"; | ||
@@ -227,4 +221,2 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequest/GetWorkRequest"; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
retrier.logger = this.logger; | ||
const request = yield oci_common_2.composeRequest({ | ||
@@ -269,8 +261,7 @@ baseEndpoint: this._endpoint, | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. | ||
*/ | ||
listWorkRequestErrors(listWorkRequestErrorsRequest) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (this.logger) | ||
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors."); | ||
oci_common_2.logger.debug("Calling operation WorkRequestClient#listWorkRequestErrors."); | ||
const operationName = "listWorkRequestErrors"; | ||
@@ -292,4 +283,2 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestError/ListWorkRequestErrors"; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
retrier.logger = this.logger; | ||
const request = yield oci_common_2.composeRequest({ | ||
@@ -379,8 +368,7 @@ baseEndpoint: this._endpoint, | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. | ||
*/ | ||
listWorkRequestLogs(listWorkRequestLogsRequest) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (this.logger) | ||
this.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs."); | ||
oci_common_2.logger.debug("Calling operation WorkRequestClient#listWorkRequestLogs."); | ||
const operationName = "listWorkRequestLogs"; | ||
@@ -402,4 +390,2 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestLogEntry/ListWorkRequestLogs"; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
retrier.logger = this.logger; | ||
const request = yield oci_common_2.composeRequest({ | ||
@@ -489,8 +475,7 @@ baseEndpoint: this._endpoint, | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. | ||
*/ | ||
listWorkRequests(listWorkRequestsRequest) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
if (this.logger) | ||
this.logger.debug("Calling operation WorkRequestClient#listWorkRequests."); | ||
oci_common_2.logger.debug("Calling operation WorkRequestClient#listWorkRequests."); | ||
const operationName = "listWorkRequests"; | ||
@@ -511,4 +496,2 @@ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/workrequests/20160918/WorkRequestSummary/ListWorkRequests"; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
retrier.logger = this.logger; | ||
const request = yield oci_common_2.composeRequest({ | ||
@@ -515,0 +498,0 @@ baseEndpoint: this._endpoint, |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface GetWorkRequestRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListWorkRequestErrorsRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListWorkRequestLogsRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.0/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/workrequests/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListWorkRequestsRequest extends common.BaseRequest { |
{ | ||
"name": "oci-workrequests", | ||
"version": "2.79.0", | ||
"version": "2.79.1", | ||
"description": "OCI NodeJS client for WorkRequests", | ||
@@ -18,4 +18,4 @@ "repository": { | ||
"dependencies": { | ||
"oci-common": "2.79.0", | ||
"oci-workrequests": "2.79.0" | ||
"oci-common": "2.79.1", | ||
"oci-workrequests": "2.79.1" | ||
}, | ||
@@ -22,0 +22,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
160817
2109
+ Addedoci-common@2.79.1(transitive)
- Removedoci-common@2.79.0(transitive)
Updatedoci-common@2.79.1
Updatedoci-workrequests@2.79.1