Skip to content

Commit 68013fa

Browse files
authored
Merge pull request #25 from oracle/release_2020-09-29
Releasing version 1.5.6
2 parents c2b5edd + 0ec205b commit 68013fa

File tree

170 files changed

+5571
-101
lines changed

Some content is hidden

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

170 files changed

+5571
-101
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ 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.5.6 - 2020-09-29
7+
### Added
8+
- Support for specifying custom content dispositions when downloading objects in the Object Storage service
9+
- Support for the “bring your own IP address” feature in the Virtual Networking service
10+
- Support for updating the tags of instance console connections in the Compute service
11+
- Support for custom SSL certificates on gateways in the API Gateway service
12+
613
## 1.5.5 - 2020-09-22
714
### Added
815
- Support for software keys in the Key Management service

lib/analytics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-analytics",
3-
"version": "1.5.5",
3+
"version": "1.5.6",
44
"description": "OCI NodeJS client for Analytics Service",
55
"repository": {
66
"type": "git",

lib/announcementsservice/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "oci-announcementsservice",
3-
"version": "1.5.5",
3+
"version": "1.5.6",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,16 @@ import * as requests from "./lib/request";
1818
import * as models from "./lib/model";
1919
import * as responses from "./lib/response";
2020
import * as client from "./lib/client";
21+
import * as apigateway_waiter from "./lib/apigateway-waiter";
2122
import * as deployment_waiter from "./lib/deployment-waiter";
2223
import * as gateway_waiter from "./lib/gateway-waiter";
2324
import * as workrequests_waiter from "./lib/workrequests-waiter";
2425

2526
export { models };
2627
export { requests };
2728
export { responses };
29+
export import ApiGatewayClient = client.ApiGatewayClient;
30+
export import ApiGatewayWaiter = apigateway_waiter.ApiGatewayWaiter;
2831
export import DeploymentClient = client.DeploymentClient;
2932
export import DeploymentWaiter = deployment_waiter.DeploymentWaiter;
3033
export import GatewayClient = client.GatewayClient;
+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
* API Gateway API
3+
* API for the API Gateway service. Use this API to manage gateways, deployments, and related items.
4+
For more information, see
5+
[Overview of API Gateway](/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm).
6+
7+
* OpenAPI spec version: 20190501
8+
*
9+
*
10+
* NOTE: This class is auto generated by OracleSDKGenerator.
11+
* Do not edit the class manually.
12+
*
13+
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
14+
* 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.
15+
*/
16+
17+
import * as serviceRequests from "./request";
18+
import * as serviceResponses from "./response";
19+
import * as models from "./model";
20+
import { ApiGatewayClient } from "./client";
21+
import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common";
22+
23+
export class ApiGatewayWaiter {
24+
public constructor(
25+
private client: ApiGatewayClient,
26+
private readonly config?: WaiterConfiguration
27+
) {}
28+
29+
/**
30+
* Waits forCertificate till it reaches any of the provided states
31+
*
32+
* @param request the request to send
33+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
34+
* @return response returns GetCertificateResponse | null (null in case of 404 response)
35+
*/
36+
public async forCertificate(
37+
request: serviceRequests.GetCertificateRequest,
38+
...targetStates: models.Certificate.LifecycleState[]
39+
): Promise<serviceResponses.GetCertificateResponse | null> {
40+
return genericTerminalConditionWaiter(
41+
this.config,
42+
() => this.client.getCertificate(request),
43+
response => targetStates.exists(response.certificate.lifecycleState),
44+
targetStates.includes(models.Certificate.LifecycleState.Deleted)
45+
);
46+
}
47+
}

0 commit comments

Comments
 (0)