Skip to content

Commit 46a9d6b

Browse files
authored
Merge pull request #54 from oracle/release_2021-02-16
Releasing version 1.15.1
2 parents e93cf2c + 0f95831 commit 46a9d6b

File tree

828 files changed

+2163
-1495
lines changed

Some content is hidden

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

828 files changed

+2163
-1495
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
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.15.1 - 2021-02-16
7+
### Added
8+
- Support for scan DNS names and zone ids on database system, cloud VM cluster, and autonomous Exadata infrastructure responses in the Database service
9+
- Support for specifying ACL rules to limit ingress into public load balancers in the Integration service
10+
- Support for Cloud at Customer as a source type in the Application Migration service
11+
- Support for selective migration of specific resources in the Application Migration service
12+
613
## 1.15.0 - 2021-02-09
714
### Added
815
- Support for the Database Management service

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,5 @@ See [CHANGELOG](https://github.com/oracle/oci-typescript-sdk/tree/master/CHANGEL
7979

8080
## Known Issues
8181

82-
You can find information on any known issues with the SDK at [Oracle Cloud Infrastructure Known Issues](https://docs.cloud.oracle.com/en-us/iaas/Content/knownissues.htm) and under the [Issues](https://github.com/oracle/oci-typescript-sdk/issues) tab of this project's GitHub repository.
82+
- You can find information on any known issues with the SDK at [Oracle Cloud Infrastructure Known Issues](https://docs.cloud.oracle.com/en-us/iaas/Content/knownissues.htm) and under the [Issues](https://github.com/oracle/oci-typescript-sdk/issues) tab of this project's GitHub repository.
83+
- JavaScript numbers have rounding issues for number greater than Number.MAX_SAFE_INTEGER, APIs with responses that contain number greater than Number.MAX_SAFE_INTEGER may result in rounding issues.

lib/analytics/lib/model/capacity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface Capacity {
2828
/**
2929
* The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the
3030
* number of CPUs, amount of memory or other resources allocated to the instance.
31-
*
31+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
3232
*/
3333
"capacityValue": number;
3434
}

lib/analytics/lib/model/work-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface WorkRequest {
4747
"resources": Array<model.WorkRequestResource>;
4848
/**
4949
* Percentage of the request completed.
50-
*
50+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
5151
*/
5252
"percentComplete": number;
5353
/**

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.0",
3+
"version": "1.15.1",
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.0",
3+
"version": "1.15.1",
44
"description": "OCI NodeJS client for Announcement Service",
55
"repository": {
66
"type": "git",

lib/apigateway/lib/model/cors-policy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface CorsPolicy {
5656
/**
5757
* The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age
5858
* if greater than 0.
59-
*
59+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
6060
*/
6161
"maxAgeInSeconds"?: number;
6262
}

lib/apigateway/lib/model/h-tt-pbackend.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ export interface HTTPBackend extends model.ApiSpecificationRouteBackend {
2525
"url": string;
2626
/**
2727
* Defines a timeout for establishing a connection with a proxied server.
28-
*
28+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
2929
*/
3030
"connectTimeoutInSeconds"?: number;
3131
/**
3232
* Defines a timeout for reading a response from the proxied server.
33-
*
33+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
3434
*/
3535
"readTimeoutInSeconds"?: number;
3636
/**
3737
* Defines a timeout for transmitting a request to the proxied server.
38-
*
38+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
3939
*/
4040
"sendTimeoutInSeconds"?: number;
4141
/**

lib/apigateway/lib/model/jwt-authentication-policy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface JwtAuthenticationPolicy extends model.AuthenticationPolicy {
5252
/**
5353
* The maximum expected time difference between the system clocks
5454
* of the token issuer and the API Gateway.
55-
*
55+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
5656
*/
5757
"maxClockSkewInSeconds"?: number;
5858
"publicKeys": model.StaticPublicKeySet | model.RemoteJsonWebKeySet;

lib/apigateway/lib/model/rate-limiting-policy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import common = require("oci-common");
2222
*/
2323
export interface RateLimitingPolicy {
2424
/**
25-
* The maximum number of requests per second to allow.
25+
* The maximum number of requests per second to allow. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
2626
*/
2727
"rateInRequestsPerSecond": number;
2828
/**

lib/apigateway/lib/model/remote-json-web-key-set.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface RemoteJsonWebKeySet extends model.PublicKeySet {
3838
/**
3939
* The duration for which the JWKS should be cached before it is
4040
* fetched again.
41-
*
41+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
4242
*/
4343
"maxCacheDurationInHours"?: number;
4444

lib/apigateway/lib/model/stock-response-backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface StockResponseBackend extends model.ApiSpecificationRouteBackend
2727
*/
2828
"body"?: string;
2929
/**
30-
* The status code of the stock response from the mock backend.
30+
* The status code of the stock response from the mock backend. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
3131
*/
3232
"status": number;
3333
/**

lib/apigateway/lib/model/work-request-summary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface WorkRequestSummary {
4141
*/
4242
"compartmentId": string;
4343
/**
44-
* Percentage of the request completed.
44+
* Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
4545
*/
4646
"percentComplete": number;
4747
/**

lib/apigateway/lib/model/work-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface WorkRequest {
4545
*/
4646
"resources": Array<model.WorkRequestResource>;
4747
/**
48-
* Percentage of the request completed.
48+
* Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
4949
*/
5050
"percentComplete": number;
5151
/**

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.0",
3+
"version": "1.15.1",
44
"description": "OCI NodeJS client for API gateway service",
55
"repository": {
66
"type": "git",

lib/applicationmigration/lib/model/authorization-details.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ export namespace AuthorizationDetails {
3333

3434
if ("type" in obj && obj.type) {
3535
switch (obj.type) {
36+
case "OCC":
37+
return model.OccAuthorizationDetails.getJsonObj(
38+
<model.OccAuthorizationDetails>(<object>jsonObj),
39+
true
40+
);
3641
case "INTERNAL_COMPUTE":
3742
return model.InternalAuthorizationDetails.getJsonObj(
3843
<model.InternalAuthorizationDetails>(<object>jsonObj),

lib/applicationmigration/lib/model/configuration-field.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ export interface ConfigurationField {
4545
* Help text to guide the user in setting the configuration value.
4646
*/
4747
"description"?: string;
48+
/**
49+
* A list of resources associated with a specific configuration object.
50+
*
51+
*/
52+
"resourceList"?: Array<model.ResourceField>;
4853
/**
4954
* Indicates whether or not the field is required (defaults to `true`).
5055
*
@@ -59,7 +64,16 @@ export interface ConfigurationField {
5964

6065
export namespace ConfigurationField {
6166
export function getJsonObj(obj: ConfigurationField): object {
62-
const jsonObj = { ...obj, ...{} };
67+
const jsonObj = {
68+
...obj,
69+
...{
70+
"resourceList": obj.resourceList
71+
? obj.resourceList.map(item => {
72+
return model.ResourceField.getJsonObj(item);
73+
})
74+
: undefined
75+
}
76+
};
6377

6478
return jsonObj;
6579
}

lib/applicationmigration/lib/model/create-migration-details.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ export interface CreateMigrationDetails {
6666
*
6767
*/
6868
"preCreatedTargetDatabaseType"?: model.TargetDatabaseTypes;
69+
/**
70+
* If set to `true`, Application Migration migrates the application resources selectively depending on the source.
71+
*
72+
*/
73+
"isSelectiveMigration"?: boolean;
6974
/**
7075
* Configuration required to migrate the application. In addition to the key and value, additional fields are provided
7176
* to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the

lib/applicationmigration/lib/model/create-source-details.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,11 @@ export interface CreateSourceDetails {
4242
* Description of the source. This helps you to identify the appropriate source environment when you have multiple sources defined.
4343
*/
4444
"description"?: string;
45-
"sourceDetails": model.InternalSourceDetails | model.OcicSourceDetails;
46-
"authorizationDetails"?: model.InternalAuthorizationDetails | model.OcicAuthorizationDetails;
45+
"sourceDetails": model.OccSourceDetails | model.InternalSourceDetails | model.OcicSourceDetails;
46+
"authorizationDetails"?:
47+
| model.OccAuthorizationDetails
48+
| model.InternalAuthorizationDetails
49+
| model.OcicAuthorizationDetails;
4750
/**
4851
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
4952
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}`

lib/applicationmigration/lib/model/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ import * as OperationStatus from "./operation-status";
4141
export import OperationStatus = OperationStatus.OperationStatus;
4242
import * as OperationTypes from "./operation-types";
4343
export import OperationTypes = OperationTypes.OperationTypes;
44+
import * as ResourceField from "./resource-field";
45+
export import ResourceField = ResourceField.ResourceField;
4446
import * as SortOrders from "./sort-orders";
4547
export import SortOrders = SortOrders.SortOrders;
4648
import * as Source from "./source";
@@ -84,6 +86,10 @@ import * as JcsDiscoveryDetails from "./jcs-discovery-details";
8486
export import JcsDiscoveryDetails = JcsDiscoveryDetails.JcsDiscoveryDetails;
8587
import * as OacDiscoveryDetails from "./oac-discovery-details";
8688
export import OacDiscoveryDetails = OacDiscoveryDetails.OacDiscoveryDetails;
89+
import * as OccAuthorizationDetails from "./occ-authorization-details";
90+
export import OccAuthorizationDetails = OccAuthorizationDetails.OccAuthorizationDetails;
91+
import * as OccSourceDetails from "./occ-source-details";
92+
export import OccSourceDetails = OccSourceDetails.OccSourceDetails;
8793
import * as OcicAuthorizationDetails from "./ocic-authorization-details";
8894
export import OcicAuthorizationDetails = OcicAuthorizationDetails.OcicAuthorizationDetails;
8995
import * as OcicSourceDetails from "./ocic-source-details";

lib/applicationmigration/lib/model/migration.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ export interface Migration {
6868
*
6969
*/
7070
"preCreatedTargetDatabaseType"?: model.TargetDatabaseTypes;
71+
/**
72+
* If set to `true`, Application Migration migrates the application resources selectively depending on the source.
73+
*
74+
*/
75+
"isSelectiveMigration"?: boolean;
7176
/**
7277
* Configuration required to migrate the application. In addition to the key and value, additional fields are provided
7378
* to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/**
2+
* Application Migration API
3+
* Application Migration simplifies the migration of applications from Oracle Cloud Infrastructure Classic to Oracle Cloud Infrastructure.
4+
You can use Application Migration API to migrate applications, such as Oracle Java Cloud Service, SOA Cloud Service, and Integration Classic
5+
instances, to Oracle Cloud Infrastructure. For more information, see
6+
[Overview of Application Migration](/iaas/application-migration/appmigrationoverview.htm).
7+
8+
* OpenAPI spec version: 20191031
9+
*
10+
*
11+
* NOTE: This class is auto generated by OracleSDKGenerator.
12+
* Do not edit the class manually.
13+
*
14+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
15+
* 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.
16+
*/
17+
18+
import * as model from "../model";
19+
import common = require("oci-common");
20+
21+
/**
22+
* Credentials to access Oracle Cloud @ Customer, which is the source environment from which you want to migrate the application.
23+
*
24+
*/
25+
export interface OccAuthorizationDetails extends model.AuthorizationDetails {
26+
/**
27+
* User with Compute Operations role in Oracle Cloud @ Customer.
28+
*/
29+
"username": string;
30+
/**
31+
* Password for this user.
32+
*/
33+
"password": string;
34+
35+
"type": string;
36+
}
37+
38+
export namespace OccAuthorizationDetails {
39+
export function getJsonObj(obj: OccAuthorizationDetails, isParentJsonObj?: boolean): object {
40+
const jsonObj = {
41+
...(isParentJsonObj
42+
? obj
43+
: (model.AuthorizationDetails.getJsonObj(obj) as OccAuthorizationDetails)),
44+
...{}
45+
};
46+
47+
return jsonObj;
48+
}
49+
export const type = "OCC";
50+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
* Application Migration API
3+
* Application Migration simplifies the migration of applications from Oracle Cloud Infrastructure Classic to Oracle Cloud Infrastructure.
4+
You can use Application Migration API to migrate applications, such as Oracle Java Cloud Service, SOA Cloud Service, and Integration Classic
5+
instances, to Oracle Cloud Infrastructure. For more information, see
6+
[Overview of Application Migration](/iaas/application-migration/appmigrationoverview.htm).
7+
8+
* OpenAPI spec version: 20191031
9+
*
10+
*
11+
* NOTE: This class is auto generated by OracleSDKGenerator.
12+
* Do not edit the class manually.
13+
*
14+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
15+
* 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.
16+
*/
17+
18+
import * as model from "../model";
19+
import common = require("oci-common");
20+
21+
/**
22+
* Details about the Oracle Cloud @ Customer account, the source environment from which you want to migrate the application.
23+
*
24+
*/
25+
export interface OccSourceDetails extends model.SourceDetails {
26+
/**
27+
* If you are using a Oracle Cloud @ Customer account with Identity Cloud Service (IDCS), enter the service instance ID.
28+
* For example, if Compute-567890123 is the account name of your Oracle Cloud @ Customer Compute service entitlement,
29+
* then enter 567890123.
30+
*
31+
*/
32+
"computeAccount": string;
33+
34+
"type": string;
35+
}
36+
37+
export namespace OccSourceDetails {
38+
export function getJsonObj(obj: OccSourceDetails, isParentJsonObj?: boolean): object {
39+
const jsonObj = {
40+
...(isParentJsonObj ? obj : (model.SourceDetails.getJsonObj(obj) as OccSourceDetails)),
41+
...{}
42+
};
43+
44+
return jsonObj;
45+
}
46+
export const type = "OCC";
47+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/**
2+
* Application Migration API
3+
* Application Migration simplifies the migration of applications from Oracle Cloud Infrastructure Classic to Oracle Cloud Infrastructure.
4+
You can use Application Migration API to migrate applications, such as Oracle Java Cloud Service, SOA Cloud Service, and Integration Classic
5+
instances, to Oracle Cloud Infrastructure. For more information, see
6+
[Overview of Application Migration](/iaas/application-migration/appmigrationoverview.htm).
7+
8+
* OpenAPI spec version: 20191031
9+
*
10+
*
11+
* NOTE: This class is auto generated by OracleSDKGenerator.
12+
* Do not edit the class manually.
13+
*
14+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
15+
* 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.
16+
*/
17+
18+
import * as model from "../model";
19+
import common = require("oci-common");
20+
21+
/**
22+
* Resource object that can be used to pass details about any list of resources associated with Migrations. The List of resources are added to ConfigurationField to add the capability to pass lists of resources of any type and group.
23+
*/
24+
export interface ResourceField {
25+
/**
26+
* The display name of the resource field.
27+
*/
28+
"name"?: string;
29+
/**
30+
* The name of the group to which this field belongs to.
31+
*/
32+
"group"?: string;
33+
/**
34+
* The type of the resource field.
35+
*/
36+
"type": string;
37+
/**
38+
* The value of the field.
39+
*/
40+
"value": string;
41+
}
42+
43+
export namespace ResourceField {
44+
export function getJsonObj(obj: ResourceField): object {
45+
const jsonObj = { ...obj, ...{} };
46+
47+
return jsonObj;
48+
}
49+
}

0 commit comments

Comments
 (0)