Skip to content

Commit 7248d33

Browse files
Releasing version 2.100.0
Releasing version 2.100.0
2 parents 324995b + 8f55da6 commit 7248d33

File tree

433 files changed

+7318
-432
lines changed

Some content is hidden

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

433 files changed

+7318
-432
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@
33
All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/).
6+
## 2.100.0 - 2024-12-10
7+
### Added
8+
- Support for Bring Your Own Key (BYOK) in the Database service
9+
- Support for refreshing disaster recovery plans in the Disaster Recovery service
10+
- Support for private access to service instances in the Visual Builder service
11+
- Support for exadata fleet update and rollback maintenance cycle in the Fleet Application Management service
12+
- Support for Bring Your Own License (BYOL) for windows virtual machines in the Compute service
13+
- Support for cascading deletion of applications and runs in the Data Flow service
14+
- Support for on-demand translation and auto language detection during file translation in the AI Language service
15+
- Support for alias for endpoints in custom model flow and custom anonymization in the AI Language service
16+
17+
### Breaking Changes
18+
- The properties `idcsInfo` and `attachments` were removed from the model `VbInstance` in the Visual Builder service
19+
- The models `AttachmentDetails` and `IdcsInfoDetails` were deleted from the Visual Builder service
20+
- Change in default circuit breaker and retry configuration for `X509FederationClient`
21+
- The method `makeServiceCall` in `GenericRetrier` does not retry if the errorObject's `shouldBeRetried` field is set to `false`
22+
623
## 2.99.0 - 2024-11-19
724
### Added
825
- Support for optional parameters for unified auditing in the Database service

lib/accessgovernancecp/lib/client.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ export class AccessGovernanceCPClient {
5050
protected _lastSetRegionOrRegionId: string = "";
5151

5252
protected _httpClient: common.HttpClient;
53+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
5354

5455
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
5556
const requestSigner = params.authenticationDetailsProvider
5657
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
5758
: null;
59+
this._authProvider = params.authenticationDetailsProvider;
5860
if (clientConfiguration) {
5961
this._clientConfiguration = clientConfiguration;
6062
this._circuitBreaker = clientConfiguration.circuitBreaker
@@ -215,11 +217,24 @@ export class AccessGovernanceCPClient {
215217
}
216218
}
217219

220+
/**
221+
* Close the provider if possible which in turn shuts down any associated circuit breaker
222+
*/
223+
public closeProvider() {
224+
if (this._authProvider) {
225+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
226+
(<common.AbstractRequestingAuthenticationDetailsProvider>(
227+
this._authProvider
228+
)).closeProvider();
229+
}
230+
}
231+
218232
/**
219233
* Close the client once it is no longer needed
220234
*/
221235
public close() {
222236
this.shutdownCircuitBreaker();
237+
this.closeProvider();
223238
}
224239

225240
/**

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.99.0",
3+
"version": "2.100.0",
44
"description": "OCI NodeJS client for Access Governance Cp Service",
55
"repository": {
66
"type": "git",

lib/adm/lib/client.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ export class ApplicationDependencyManagementClient {
4949
protected _lastSetRegionOrRegionId: string = "";
5050

5151
protected _httpClient: common.HttpClient;
52+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
5253

5354
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
5455
const requestSigner = params.authenticationDetailsProvider
5556
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
5657
: null;
58+
this._authProvider = params.authenticationDetailsProvider;
5759
if (clientConfiguration) {
5860
this._clientConfiguration = clientConfiguration;
5961
this._circuitBreaker = clientConfiguration.circuitBreaker
@@ -215,11 +217,24 @@ export class ApplicationDependencyManagementClient {
215217
}
216218
}
217219

220+
/**
221+
* Close the provider if possible which in turn shuts down any associated circuit breaker
222+
*/
223+
public closeProvider() {
224+
if (this._authProvider) {
225+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
226+
(<common.AbstractRequestingAuthenticationDetailsProvider>(
227+
this._authProvider
228+
)).closeProvider();
229+
}
230+
}
231+
218232
/**
219233
* Close the client once it is no longer needed
220234
*/
221235
public close() {
222236
this.shutdownCircuitBreaker();
237+
this.closeProvider();
223238
}
224239

225240
/**

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

lib/aianomalydetection/lib/client.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ export class AnomalyDetectionClient {
5353
protected _lastSetRegionOrRegionId: string = "";
5454

5555
protected _httpClient: common.HttpClient;
56+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
5657

5758
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
5859
const requestSigner = params.authenticationDetailsProvider
5960
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
6061
: null;
62+
this._authProvider = params.authenticationDetailsProvider;
6163
if (clientConfiguration) {
6264
this._clientConfiguration = clientConfiguration;
6365
this._circuitBreaker = clientConfiguration.circuitBreaker
@@ -218,11 +220,24 @@ export class AnomalyDetectionClient {
218220
}
219221
}
220222

223+
/**
224+
* Close the provider if possible which in turn shuts down any associated circuit breaker
225+
*/
226+
public closeProvider() {
227+
if (this._authProvider) {
228+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
229+
(<common.AbstractRequestingAuthenticationDetailsProvider>(
230+
this._authProvider
231+
)).closeProvider();
232+
}
233+
}
234+
221235
/**
222236
* Close the client once it is no longer needed
223237
*/
224238
public close() {
225239
this.shutdownCircuitBreaker();
240+
this.closeProvider();
226241
}
227242

228243
/**

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.99.0",
3+
"version": "2.100.0",
44
"description": "OCI NodeJS client for Ai Anomaly Detection Service",
55
"repository": {
66
"type": "git",

lib/aidocument/lib/client.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ export class AIServiceDocumentClient {
5050
protected _lastSetRegionOrRegionId: string = "";
5151

5252
protected _httpClient: common.HttpClient;
53+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
5354

5455
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
5556
const requestSigner = params.authenticationDetailsProvider
5657
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
5758
: null;
59+
this._authProvider = params.authenticationDetailsProvider;
5860
if (clientConfiguration) {
5961
this._clientConfiguration = clientConfiguration;
6062
this._circuitBreaker = clientConfiguration.circuitBreaker
@@ -215,11 +217,24 @@ export class AIServiceDocumentClient {
215217
}
216218
}
217219

220+
/**
221+
* Close the provider if possible which in turn shuts down any associated circuit breaker
222+
*/
223+
public closeProvider() {
224+
if (this._authProvider) {
225+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
226+
(<common.AbstractRequestingAuthenticationDetailsProvider>(
227+
this._authProvider
228+
)).closeProvider();
229+
}
230+
}
231+
218232
/**
219233
* Close the client once it is no longer needed
220234
*/
221235
public close() {
222236
this.shutdownCircuitBreaker();
237+
this.closeProvider();
223238
}
224239

225240
/**

lib/aidocument/package.json

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

lib/ailanguage/lib/client.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ export class AIServiceLanguageClient {
5353
protected _lastSetRegionOrRegionId: string = "";
5454

5555
protected _httpClient: common.HttpClient;
56+
protected _authProvider: common.AuthenticationDetailsProvider | undefined;
5657

5758
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) {
5859
const requestSigner = params.authenticationDetailsProvider
5960
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
6061
: null;
62+
this._authProvider = params.authenticationDetailsProvider;
6163
if (clientConfiguration) {
6264
this._clientConfiguration = clientConfiguration;
6365
this._circuitBreaker = clientConfiguration.circuitBreaker
@@ -218,11 +220,24 @@ export class AIServiceLanguageClient {
218220
}
219221
}
220222

223+
/**
224+
* Close the provider if possible which in turn shuts down any associated circuit breaker
225+
*/
226+
public closeProvider() {
227+
if (this._authProvider) {
228+
if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider)
229+
(<common.AbstractRequestingAuthenticationDetailsProvider>(
230+
this._authProvider
231+
)).closeProvider();
232+
}
233+
}
234+
221235
/**
222236
* Close the client once it is no longer needed
223237
*/
224238
public close() {
225239
this.shutdownCircuitBreaker();
240+
this.closeProvider();
226241
}
227242

228243
/**

lib/ailanguage/lib/model/batch-detect-dominant-language-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details for language detect call.
2222
*/
2323
export interface BatchDetectDominantLanguageDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* Specifies whether to consider or ignore transliteration. For example \"hi, aap kaise ho? sab kuch teek hai? I will call you tomorrow.\" would be detected as English when ignore transliteration=true, Hindi when ignoreTransliteration=false.
2630
*/

lib/ailanguage/lib/model/batch-detect-health-entity-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details for health entities detect call.
2222
*/
2323
export interface BatchDetectHealthEntityDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* The endpoint which have to be used for inferencing.
2630
*/

lib/ailanguage/lib/model/batch-detect-language-entities-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details for entities detect call.
2222
*/
2323
export interface BatchDetectLanguageEntitiesDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
2630
*/

lib/ailanguage/lib/model/batch-detect-language-key-phrases-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details for keyPhrases call.
2222
*/
2323
export interface BatchDetectLanguageKeyPhrasesDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
2630
*/

lib/ailanguage/lib/model/batch-detect-language-pii-entities-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details to detect personal identification information.
2222
*/
2323
export interface BatchDetectLanguagePiiEntitiesDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
2630
*/

lib/ailanguage/lib/model/batch-detect-language-sentiments-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details for sentiment call.
2222
*/
2323
export interface BatchDetectLanguageSentimentsDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
2630
*/

lib/ailanguage/lib/model/batch-detect-language-text-classification-details.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import common = require("oci-common");
2121
* The documents details for text classification call.
2222
*/
2323
export interface BatchDetectLanguageTextClassificationDetails {
24+
/**
25+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
26+
*/
27+
"alias"?: string;
2428
/**
2529
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
2630
*/

lib/ailanguage/lib/model/batch-language-translation-details.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ import common = require("oci-common");
2121
* The documents details for translation call.
2222
*/
2323
export interface BatchLanguageTranslationDetails {
24+
/**
25+
* Unique name to identify an endpoint to be used for inferencing
26+
*/
27+
"alias"?: string;
28+
/**
29+
* The endpoint that has to be used for inferencing.
30+
*/
31+
"endpointId"?: string;
32+
/**
33+
* List of words not to be translated
34+
*/
35+
"noTranslate"?: Array<string>;
2436
/**
2537
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that calls the API, inference will be served from pre trained model
2638
*/

lib/ailanguage/lib/model/create-endpoint-details.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ export interface CreateEndpointDetails {
2525
* A user-friendly display name for the resource. It should be unique and can be modified. Avoid entering confidential information.
2626
*/
2727
"displayName"?: string;
28+
/**
29+
* Compute infra type for endpoint.
30+
*/
31+
"computeType"?: CreateEndpointDetails.ComputeType;
32+
/**
33+
* Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
34+
*/
35+
"alias"?: string;
2836
/**
2937
* A short description of the an endpoint.
3038
*/
@@ -56,6 +64,11 @@ export interface CreateEndpointDetails {
5664
}
5765

5866
export namespace CreateEndpointDetails {
67+
export enum ComputeType {
68+
Cpu = "CPU",
69+
Gpu = "GPU"
70+
}
71+
5972
export function getJsonObj(obj: CreateEndpointDetails): object {
6073
const jsonObj = { ...obj, ...{} };
6174

lib/ailanguage/lib/model/create-model-details.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,18 @@ export interface CreateModelDetails {
3939
"projectId": string;
4040
"modelDetails":
4141
| model.PreTrainedKeyPhraseExtractionModelDetails
42+
| model.PreTrainedTranslationModelDetails
4243
| model.PreTrainedHealthNluModelDetails
4344
| model.PreTrainedUniversalModel
44-
| model.NamedEntityRecognitionModelDetails
45-
| model.PiiModelDetails
4645
| model.PreTrainedLanguageDetectionModelDetails
47-
| model.PreTrainedNamedEntityRecognitionModelDetails
4846
| model.PreTrainedSentimentAnalysisModelDetails
49-
| model.PreTrainedTextClassificationModelDetails
5047
| model.TextClassificationModelDetails
48+
| model.HealthNluModelDetails
5149
| model.PreTrainedSummarization
50+
| model.NamedEntityRecognitionModelDetails
51+
| model.PiiModelDetails
52+
| model.PreTrainedNamedEntityRecognitionModelDetails
53+
| model.PreTrainedTextClassificationModelDetails
5254
| model.PreTrainedPiiModelDetails;
5355
"trainingDataset"?: model.DataScienceLabelingDataset | model.ObjectStorageDataset;
5456
"testStrategy"?: model.TestAndValidationDatasetStrategy;

0 commit comments

Comments
 (0)