Skip to content

Commit b885b25

Browse files
Releasing version 2.25.0
Releasing version 2.25.0
2 parents c6b854a + ac37153 commit b885b25

File tree

349 files changed

+7958
-969
lines changed

Some content is hidden

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

349 files changed

+7958
-969
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ 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.25.0 - 2022-05-03
7+
### Added
8+
- Support for the Application Dependency Management service
9+
- Support for platform configuration options on some bare metal shapes in the Compute service
10+
- Support for shielded instances for BM.Standard.E4.128 and BM.Standard3.64 shapes in the Compute service
11+
- Support for E4 dense VMs on launch and update instance operations in the Compute service
12+
- Support for reboot migration on DenseIO shapes in the Compute service
13+
- Support for an increased database name maximum length, from 14 to 30 characters, in the Database service
14+
- Support for provisioned concurrency in the Functions service
15+
16+
### Breaking Changes
17+
- Support for retries by default on operations in the Vault service
18+
- Support for retries by default on operations in the DNS service
19+
- Support for retries by default on operations in the Content Management service
20+
- Support for retries by default on operations in the Console Dashboard service
21+
- Support for retries by default on Web Application Firewall operations in the Web Application Acceleration and Security service
22+
- Support for retries by default on operations in the Data Science service
23+
624
## 2.24.0 - 2022-04-26
725
### Added
826
- Support for the Service Mesh service

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,4 @@ export import aispeech = require("oci-aispeech");
189189
export import dataconnectivity = require("oci-dataconnectivity");
190190
export import stackmonitoring = require("oci-stackmonitoring");
191191
export import servicemesh = require("oci-servicemesh");
192+
export import adm = require("oci-adm");

lib/adm/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# OCI NodeJS client for Adm Service
3+
4+
This module enables you to write code to manage resources for Adm Service.
5+
6+
## Requirements
7+
8+
To use this module, you must have the following:
9+
10+
- An Oracle Cloud Infrastructure account.
11+
- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm).
12+
- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure)
13+
14+
## Installing
15+
16+
Use the following command to install this module:
17+
18+
```
19+
npm install oci-adm
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/adm/index.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* ADM API
3+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/home.htm).
4+
* OpenAPI spec version: 20220421
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12+
*/
13+
14+
import * as requests from "./lib/request";
15+
import * as models from "./lib/model";
16+
import * as responses from "./lib/response";
17+
import * as client from "./lib/client";
18+
import * as applicationdependencymanagement_waiter from "./lib/applicationdependencymanagement-waiter";
19+
20+
export { models };
21+
export { requests };
22+
export { responses };
23+
export import ApplicationDependencyManagementClient = client.ApplicationDependencyManagementClient;
24+
export import ApplicationDependencyManagementWaiter = applicationdependencymanagement_waiter.ApplicationDependencyManagementWaiter;
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/**
2+
* ADM API
3+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/home.htm).
4+
* OpenAPI spec version: 20220421
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12+
*/
13+
14+
import * as serviceRequests from "./request";
15+
import * as serviceResponses from "./response";
16+
import * as models from "./model";
17+
import { ApplicationDependencyManagementClient } from "./client";
18+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
19+
20+
export class ApplicationDependencyManagementWaiter {
21+
public constructor(
22+
private client: ApplicationDependencyManagementClient,
23+
private readonly config?: WaiterConfiguration
24+
) {}
25+
26+
/**
27+
* Waits forKnowledgeBase 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 GetKnowledgeBaseResponse | null (null in case of 404 response)
32+
*/
33+
public async forKnowledgeBase(
34+
request: serviceRequests.GetKnowledgeBaseRequest,
35+
...targetStates: models.KnowledgeBase.LifecycleState[]
36+
): Promise<serviceResponses.GetKnowledgeBaseResponse | null> {
37+
return genericTerminalConditionWaiter(
38+
this.config,
39+
() => this.client.getKnowledgeBase(request),
40+
response => targetStates.includes(response.knowledgeBase.lifecycleState!),
41+
targetStates.includes(models.KnowledgeBase.LifecycleState.Deleted)
42+
);
43+
}
44+
45+
/**
46+
* Waits forVulnerabilityAudit till it reaches any of the provided states
47+
*
48+
* @param request the request to send
49+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
50+
* @return response returns GetVulnerabilityAuditResponse | null (null in case of 404 response)
51+
*/
52+
public async forVulnerabilityAudit(
53+
request: serviceRequests.GetVulnerabilityAuditRequest,
54+
...targetStates: models.VulnerabilityAudit.LifecycleState[]
55+
): Promise<serviceResponses.GetVulnerabilityAuditResponse | null> {
56+
return genericTerminalConditionWaiter(
57+
this.config,
58+
() => this.client.getVulnerabilityAudit(request),
59+
response => targetStates.includes(response.vulnerabilityAudit.lifecycleState!),
60+
targetStates.includes(models.VulnerabilityAudit.LifecycleState.Deleted)
61+
);
62+
}
63+
64+
/**
65+
* Waits forWorkRequest
66+
*
67+
* @param request the request to send
68+
* @return response returns GetWorkRequestResponse
69+
*/
70+
public async forWorkRequest(
71+
request: serviceRequests.GetWorkRequestRequest
72+
): Promise<serviceResponses.GetWorkRequestResponse> {
73+
return genericWaiter(
74+
this.config,
75+
() => this.client.getWorkRequest(request),
76+
response => (response.workRequest.timeFinished ? true : false)
77+
);
78+
}
79+
}

0 commit comments

Comments
 (0)