Skip to content

Commit d8eb356

Browse files
authored
Releasing version 1.15.2
Releasing version 1.15.2
2 parents 46a9d6b + 90a90cc commit d8eb356

File tree

328 files changed

+4819
-455
lines changed

Some content is hidden

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

328 files changed

+4819
-455
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ 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+
## 1.15.2 - 2021-02-23
7+
### Added
8+
- Support for the OCI Registry service
9+
- Support for exporting an existing running VM, or a copy of VM, into a VMDK, QCOW2, VDI, VHD, or OCI formatted image in the Compute service
10+
- Support for platform configurations on instances in the Compute service
11+
- Support for providing target tags and target compartments on profiles in the Optimizer service
12+
- Support for the 'Fix it' feature in the Optimizer service
13+
614
## 1.15.1 - 2021-02-16
715
### Added
816
- Support for scan DNS names and zone ids on database system, cloud VM cluster, and autonomous Exadata infrastructure responses in the Database service

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,4 @@ export import optimizer = require("oci-optimizer");
150150
export import tenantmanagercontrolplane = require("oci-tenantmanagercontrolplane");
151151
export import rover = require("oci-rover");
152152
export import databasemanagement = require("oci-databasemanagement");
153+
export import artifacts = require("oci-artifacts");

lib/analytics/package.json

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

lib/announcementsservice/package.json

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

lib/apigateway/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-apigateway",
3-
"version": "1.15.1",
3+
"version": "1.15.2",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-applicationmigration",
3-
"version": "1.15.1",
3+
"version": "1.15.2",
44
"description": "OCI NodeJS client for Application Migration service",
55
"repository": {
66
"type": "git",

lib/artifacts/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 Artifacts Service
3+
4+
This module enables you to write code to manage resources for Artifacts 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-artifacts
20+
```
21+
22+
Alternatively you can git clone this repo.

lib/artifacts/index.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* Container Images API
3+
* API covering the [Registry](/iaas/Content/Registry/Concepts/registryoverview.htm) services.
4+
Use this API to manage resources such as container images and repositories.
5+
6+
* OpenAPI spec version: 20160918
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
13+
* 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.
14+
*/
15+
16+
import * as requests from "./lib/request";
17+
import * as models from "./lib/model";
18+
import * as responses from "./lib/response";
19+
import * as client from "./lib/client";
20+
import * as artifacts_waiter from "./lib/artifacts-waiter";
21+
22+
export { models };
23+
export { requests };
24+
export { responses };
25+
export import ArtifactsClient = client.ArtifactsClient;
26+
export import ArtifactsWaiter = artifacts_waiter.ArtifactsWaiter;

lib/artifacts/lib/artifacts-waiter.ts

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
/**
2+
* Container Images API
3+
* API covering the [Registry](/iaas/Content/Registry/Concepts/registryoverview.htm) services.
4+
Use this API to manage resources such as container images and repositories.
5+
6+
* OpenAPI spec version: 20160918
7+
*
8+
*
9+
* NOTE: This class is auto generated by OracleSDKGenerator.
10+
* Do not edit the class manually.
11+
*
12+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
13+
* 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.
14+
*/
15+
16+
import * as serviceRequests from "./request";
17+
import * as serviceResponses from "./response";
18+
import * as models from "./model";
19+
import { ArtifactsClient } from "./client";
20+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
21+
22+
export class ArtifactsWaiter {
23+
public constructor(
24+
private client: ArtifactsClient,
25+
private readonly config?: WaiterConfiguration
26+
) {}
27+
28+
/**
29+
* Waits forContainerImage till it reaches any of the provided states
30+
*
31+
* @param request the request to send
32+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
33+
* @return response returns GetContainerImageResponse | null (null in case of 404 response)
34+
*/
35+
public async forContainerImage(
36+
request: serviceRequests.GetContainerImageRequest,
37+
...targetStates: models.ContainerImage.LifecycleState[]
38+
): Promise<serviceResponses.GetContainerImageResponse | null> {
39+
return genericTerminalConditionWaiter(
40+
this.config,
41+
() => this.client.getContainerImage(request),
42+
response => targetStates.includes(response.containerImage.lifecycleState!),
43+
targetStates.includes(models.ContainerImage.LifecycleState.Deleted)
44+
);
45+
}
46+
47+
/**
48+
* Waits forContainerRepository till it reaches any of the provided states
49+
*
50+
* @param request the request to send
51+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
52+
* @return response returns GetContainerRepositoryResponse | null (null in case of 404 response)
53+
*/
54+
public async forContainerRepository(
55+
request: serviceRequests.GetContainerRepositoryRequest,
56+
...targetStates: models.ContainerRepository.LifecycleState[]
57+
): Promise<serviceResponses.GetContainerRepositoryResponse | null> {
58+
return genericTerminalConditionWaiter(
59+
this.config,
60+
() => this.client.getContainerRepository(request),
61+
response => targetStates.includes(response.containerRepository.lifecycleState!),
62+
targetStates.includes(models.ContainerRepository.LifecycleState.Deleted)
63+
);
64+
}
65+
}

0 commit comments

Comments
 (0)