Skip to content

Commit f237c35

Browse files
Releasing version 2.62.2
Releasing version 2.62.2
2 parents b4583c2 + 387da24 commit f237c35

File tree

450 files changed

+13365
-413
lines changed

Some content is hidden

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

450 files changed

+13365
-413
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ 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+
## 2.62.2 - 2023-06-13
7+
### Added
8+
- Support for the OCI Control Center service
9+
- Support for resource quotas and limits in the Usage service
10+
- Support for allowing users to select the billing interval of deleted ESXi hosts while adding new ESXi hosts in the VMWare Solution service
11+
- Support for custom key/value pairs and custom document classification in the AI Document service
12+
- Support for namespace-prefixed domains in the Object Storage service
13+
- Support for getting the full path to a pre-authenticated request in the Object Storage service
14+
- Support for Java migration analysis, performance tuning recommendations, and JDK LCM customization in the Java Management service
15+
- Support for the TCPS protocol for cloud databases in the Operations Insights service
16+
- Support for AIX hosts that are monitored via Enterprise Manager in the Operations Insights service
17+
18+
619
## 2.62.1 - 2023-06-06
720
### Added
821
- Support for calling Oracle Cloud Infrastructure services in the eu-madrid-2 region

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,4 @@ export import recovery = require("oci-recovery");
210210
export import vbsinst = require("oci-vbsinst");
211211
export import identitydomains = require("oci-identitydomains");
212212
export import accessgovernancecp = require("oci-accessgovernancecp");
213+
export import ocicontrolcenter = require("oci-ocicontrolcenter");

lib/accessgovernancecp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-accessgovernancecp",
3-
"version": "2.62.1",
3+
"version": "2.62.2",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/package.json

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

lib/aianomalydetection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-aianomalydetection",
3-
"version": "2.62.1",
3+
"version": "2.62.2",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/lib/aiservicedocument-waiter.ts

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,25 @@ export class AIServiceDocumentWaiter {
2323
private readonly config?: WaiterConfiguration
2424
) {}
2525

26+
/**
27+
* Waits forModel till it reaches any of the provided states
28+
*
29+
* @param request the request to send
30+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
31+
* @return response returns GetModelResponse | null (null in case of 404 response)
32+
*/
33+
public async forModel(
34+
request: serviceRequests.GetModelRequest,
35+
...targetStates: models.Model.LifecycleState[]
36+
): Promise<serviceResponses.GetModelResponse | null> {
37+
return genericTerminalConditionWaiter(
38+
this.config,
39+
() => this.client.getModel(request),
40+
response => targetStates.includes(response.model.lifecycleState!),
41+
targetStates.includes(models.Model.LifecycleState.Deleted)
42+
);
43+
}
44+
2645
/**
2746
* Waits forProcessorJob till it reaches any of the provided states
2847
*
@@ -40,4 +59,39 @@ export class AIServiceDocumentWaiter {
4059
response => targetStates.includes(response.processorJob.lifecycleState!)
4160
);
4261
}
62+
63+
/**
64+
* Waits forProject till it reaches any of the provided states
65+
*
66+
* @param request the request to send
67+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
68+
* @return response returns GetProjectResponse | null (null in case of 404 response)
69+
*/
70+
public async forProject(
71+
request: serviceRequests.GetProjectRequest,
72+
...targetStates: models.Project.LifecycleState[]
73+
): Promise<serviceResponses.GetProjectResponse | null> {
74+
return genericTerminalConditionWaiter(
75+
this.config,
76+
() => this.client.getProject(request),
77+
response => targetStates.includes(response.project.lifecycleState!),
78+
targetStates.includes(models.Project.LifecycleState.Deleted)
79+
);
80+
}
81+
82+
/**
83+
* Waits forWorkRequest
84+
*
85+
* @param request the request to send
86+
* @return response returns GetWorkRequestResponse
87+
*/
88+
public async forWorkRequest(
89+
request: serviceRequests.GetWorkRequestRequest
90+
): Promise<serviceResponses.GetWorkRequestResponse> {
91+
return genericWaiter(
92+
this.config,
93+
() => this.client.getWorkRequest(request),
94+
response => (response.workRequest.timeFinished ? true : false)
95+
);
96+
}
4397
}

0 commit comments

Comments
 (0)