oci-resourcesearch 2.5.1 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +9 -3
- package/lib/client.js +22 -6
- package/lib/client.js.map +1 -1
- package/lib/request/get-resource-type-request.d.ts +1 -1
- package/lib/request/list-resource-types-request.d.ts +1 -1
- package/lib/request/search-resources-request.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE.txt
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
|
|
4
|
+
|
|
5
|
+
____________________________
|
|
6
|
+
|
|
1
7
|
The Universal Permissive License (UPL), Version 1.0
|
|
2
8
|
|
|
3
9
|
Subject to the condition set forth below, permission is hereby granted to any
|
package/lib/client.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ import * as model from "./model";
|
|
|
16
16
|
import * as responses from "./response";
|
|
17
17
|
export declare enum ResourceSearchApiKeys {
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
21
|
+
*/
|
|
19
22
|
export declare class ResourceSearchClient {
|
|
20
23
|
protected static serviceEndpointTemplate: string;
|
|
21
24
|
protected "_endpoint": string;
|
|
@@ -52,19 +55,21 @@ export declare class ResourceSearchClient {
|
|
|
52
55
|
/**
|
|
53
56
|
* Gets detailed information about a resource type by using the resource type name.
|
|
54
57
|
*
|
|
58
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
55
59
|
* @param GetResourceTypeRequest
|
|
56
60
|
* @return GetResourceTypeResponse
|
|
57
61
|
* @throws OciError when an error occurs
|
|
58
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
62
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceType API.
|
|
59
63
|
*/
|
|
60
64
|
getResourceType(getResourceTypeRequest: requests.GetResourceTypeRequest): Promise<responses.GetResourceTypeResponse>;
|
|
61
65
|
/**
|
|
62
66
|
* Lists all resource types that you can search or query for.
|
|
63
67
|
*
|
|
68
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
64
69
|
* @param ListResourceTypesRequest
|
|
65
70
|
* @return ListResourceTypesResponse
|
|
66
71
|
* @throws OciError when an error occurs
|
|
67
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
72
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
68
73
|
*/
|
|
69
74
|
listResourceTypes(listResourceTypesRequest: requests.ListResourceTypesRequest): Promise<responses.ListResourceTypesResponse>;
|
|
70
75
|
/**
|
|
@@ -104,10 +109,11 @@ export declare class ResourceSearchClient {
|
|
|
104
109
|
* Results include resources that you have permission to view and can span different resource types.
|
|
105
110
|
* You can also sort results based on a specified resource attribute.
|
|
106
111
|
*
|
|
112
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
107
113
|
* @param SearchResourcesRequest
|
|
108
114
|
* @return SearchResourcesResponse
|
|
109
115
|
* @throws OciError when an error occurs
|
|
110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResources API.
|
|
111
117
|
*/
|
|
112
118
|
searchResources(searchResourcesRequest: requests.SearchResourcesRequest): Promise<responses.SearchResourcesResponse>;
|
|
113
119
|
}
|
package/lib/client.js
CHANGED
|
@@ -51,6 +51,9 @@ const oci_common_2 = require("oci-common");
|
|
|
51
51
|
var ResourceSearchApiKeys;
|
|
52
52
|
(function (ResourceSearchApiKeys) {
|
|
53
53
|
})(ResourceSearchApiKeys = exports.ResourceSearchApiKeys || (exports.ResourceSearchApiKeys = {}));
|
|
54
|
+
/**
|
|
55
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
56
|
+
*/
|
|
54
57
|
class ResourceSearchClient {
|
|
55
58
|
constructor(params, clientConfiguration) {
|
|
56
59
|
this["_endpoint"] = "";
|
|
@@ -65,6 +68,13 @@ class ResourceSearchClient {
|
|
|
65
68
|
? clientConfiguration.circuitBreaker.circuit
|
|
66
69
|
: null;
|
|
67
70
|
}
|
|
71
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
72
|
+
const specCircuitBreakerEnabled = false;
|
|
73
|
+
if (!this._circuitBreaker &&
|
|
74
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
75
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
76
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
77
|
+
}
|
|
68
78
|
this._httpClient =
|
|
69
79
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
70
80
|
if (params.authenticationDetailsProvider &&
|
|
@@ -116,10 +126,11 @@ class ResourceSearchClient {
|
|
|
116
126
|
/**
|
|
117
127
|
* Gets detailed information about a resource type by using the resource type name.
|
|
118
128
|
*
|
|
129
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
119
130
|
* @param GetResourceTypeRequest
|
|
120
131
|
* @return GetResourceTypeResponse
|
|
121
132
|
* @throws OciError when an error occurs
|
|
122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceType API.
|
|
123
134
|
*/
|
|
124
135
|
getResourceType(getResourceTypeRequest) {
|
|
125
136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -133,7 +144,8 @@ class ResourceSearchClient {
|
|
|
133
144
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
134
145
|
"opc-request-id": getResourceTypeRequest.opcRequestId
|
|
135
146
|
};
|
|
136
|
-
const
|
|
147
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
148
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
137
149
|
if (this.logger)
|
|
138
150
|
retrier.logger = this.logger;
|
|
139
151
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -171,10 +183,11 @@ class ResourceSearchClient {
|
|
|
171
183
|
/**
|
|
172
184
|
* Lists all resource types that you can search or query for.
|
|
173
185
|
*
|
|
186
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
174
187
|
* @param ListResourceTypesRequest
|
|
175
188
|
* @return ListResourceTypesResponse
|
|
176
189
|
* @throws OciError when an error occurs
|
|
177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
190
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
178
191
|
*/
|
|
179
192
|
listResourceTypes(listResourceTypesRequest) {
|
|
180
193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -189,7 +202,8 @@ class ResourceSearchClient {
|
|
|
189
202
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
190
203
|
"opc-request-id": listResourceTypesRequest.opcRequestId
|
|
191
204
|
};
|
|
192
|
-
const
|
|
205
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
206
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
193
207
|
if (this.logger)
|
|
194
208
|
retrier.logger = this.logger;
|
|
195
209
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -274,10 +288,11 @@ class ResourceSearchClient {
|
|
|
274
288
|
* Results include resources that you have permission to view and can span different resource types.
|
|
275
289
|
* You can also sort results based on a specified resource attribute.
|
|
276
290
|
*
|
|
291
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
277
292
|
* @param SearchResourcesRequest
|
|
278
293
|
* @return SearchResourcesResponse
|
|
279
294
|
* @throws OciError when an error occurs
|
|
280
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResources API.
|
|
281
296
|
*/
|
|
282
297
|
searchResources(searchResourcesRequest) {
|
|
283
298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -293,7 +308,8 @@ class ResourceSearchClient {
|
|
|
293
308
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
294
309
|
"opc-request-id": searchResourcesRequest.opcRequestId
|
|
295
310
|
};
|
|
296
|
-
const
|
|
311
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
312
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
297
313
|
if (this.logger)
|
|
298
314
|
retrier.logger = this.logger;
|
|
299
315
|
const request = yield oci_common_2.composeRequest({
|
package/lib/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/resourcesearch/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,qBAAwB;AAApC,WAAY,qBAAqB;AAAE,CAAC,EAAxB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAAG;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/resourcesearch/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,qBAAwB;AAApC,WAAY,qBAAqB;AAAE,CAAC,EAAxB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAAG;AACpC;;GAEG;AACH,MAAa,oBAAoB;IAS/B,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC,cAAc;gBACvD,CAAC,CAAC,mBAAmB,CAAC,c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BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AA7VH,oDA8VC;AA7VkB,4CAAuB,GAAG,gDAAgD,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceTypeRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetResourceTypeRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypesRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListResourceTypesRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResourcesRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface SearchResourcesRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-resourcesearch",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "OCI NodeJS client for resource research Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.7.0",
|
|
19
|
+
"oci-workrequests": "2.7.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|