Skip to content

Commit 8731f0c

Browse files
Releasing version 2.25.0
Releasing version 2.25.0
2 parents 1f0a786 + 2736745 commit 8731f0c

File tree

749 files changed

+78627
-1916
lines changed

Some content is hidden

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

749 files changed

+78627
-1916
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,32 @@ 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-04-26
7+
### Added
8+
- Support for the Service Mesh service
9+
- Support for security zones in the Cloud Guard service
10+
- Support for virtual test access points (VTAPs) in the Networking service
11+
- Support for monitoring as a source in the Service Connector Hub service
12+
- Support for creating budgets that target subscriptions and child tenancies in the Budgets service
13+
- Support for listing shapes and specifying a shape during creation of a node in the Roving Edge Infrastructure service
14+
- Support for bringing your own key in the Roving Edge Infrastructure service
15+
- Support for enabling inspection of HTTP request bodies in the Web Application Acceleration and Security
16+
- Support for cost management schedules in the Usage service
17+
- Support for TCPS on external containers as well as non-container and pluggable databases in the Database service
18+
- Support for autoscaling on Open Data Hub (ODH) clusters in the Big Data service
19+
- Support for creating Open Data Hub (ODH) 0.9 clusters in the Big Data service
20+
- Support for Open Data Hub (ODH) patch management in the Big Data service
21+
- Support for customizable Kerberos realm names in the Big Data service
22+
- Support for dedicated vantage points in the Application Performance Monitoring service
23+
- Support for reactivating child tenancies in the Organizations service
24+
- Support for punctuation and the SRT transcription format in the AI Speech service
25+
26+
### Breaking Changes
27+
- Support for default retries on some operations in the Networking service
28+
- Support for default retries on all operations in the Data Safe service
29+
- Support for default retries on some additional operations in the Application Performance Monitoring service
30+
- Method `public java.lang.Double getRiskScore()` has been removed from the model `com.oracle.bmc.cloudguard.model.Sighting` in the Cloud Guard service
31+
632
## 2.24.0 - 2022-04-19
733
### Added
834
- Support for the Stack Monitoring service

Development-README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Development Notes for Oracle Cloud Infrastructure SDK for Java
2+
3+
## Build Profiles
4+
5+
- *default profile* - Compile and generate Javadoc.
6+
- `dev` - Compile, reformat code and update licenses.
7+
- `dev` with `-Ddev.profile.skip.javadoc=false` - Compile, reformat code and update licenses, generate Javadoc.
8+
- `quick` - Only check for compilation errors, no Javadoc or tests.
9+
- `jdk-17-and-above` - This profile is automatically used when JDK 17 or higher is detected. No Jacdoc generated and tests failures should be ignored. See the [Java 17 test failures](#Java17TestFailures) section in [Known Development Issues](#KnownDevelopmentIssues).
10+
11+
### Usage
12+
To run a maven build with the `dev` profile and generate Javadoc, use
13+
```
14+
mvn install -Pdev -Ddev.profile.skip.javadoc=false
15+
```
16+
17+
## Javadoc Generation
18+
The build steps will also run delombok to create class files with appropriate documentation. The delomboked files will be placed in a separate directory in the 'target' folder that will be used as input for the javadoc generation.
19+
20+
Additionally, during javadoc generation, any javadocs with the template '*{{DOC_SERVER_URL}}*' will have that template replaced with the actual doc server URL.
21+
22+
## <a id="KnownDevelopmentIssues"></a>Known Development Issues
23+
24+
### <a id="Java17TestFailures"></a> Java 17 test failures
25+
If JDK 17 is used to build the OCI Java SDK, then there will be 5 unit tests that fail because of a test dependency that does not work well with more recent Java versions. To workaround this issue, ignore test failures with the `-Dmaven.test.failure.ignore` parameter:
26+
```
27+
mvn install -Dmaven.test.failure.ignore=true
28+
```
29+
The following tests should report errors:
30+
- ConfigFileDelegationTokenUtilsTest
31+
- X509FederationClientTest
32+
- DefaultConfiguratorTest
33+
- RequestSignerImplTest
34+
- UploadManagerTest
35+
36+
Test failures beyond these may be test failures that come from implemented changes. To run these tests sucessfully, use JDK 8 for now.

bmc-addons/bmc-apache-connector-provider/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk-addons</artifactId>
7-
<version>2.24.0</version>
7+
<version>2.25.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>com.oracle.oci.sdk</groupId>
2020
<artifactId>oci-java-sdk-common</artifactId>
21-
<version>2.24.0</version>
21+
<version>2.25.0</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

bmc-addons/bmc-resteasy-client-configurator/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.oracle.oci.sdk</groupId>
77
<artifactId>oci-java-sdk-addons</artifactId>
8-
<version>2.24.0</version>
8+
<version>2.25.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>com.oracle.oci.sdk</groupId>
4242
<artifactId>oci-java-sdk-common</artifactId>
43-
<version>2.24.0</version>
43+
<version>2.25.0</version>
4444
</dependency>
4545
</dependencies>
4646
</project>

bmc-addons/bmc-sasl/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>oci-java-sdk-addons</artifactId>
99
<groupId>com.oracle.oci.sdk</groupId>
10-
<version>2.24.0</version>
10+
<version>2.25.0</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

@@ -62,7 +62,7 @@
6262
<dependency>
6363
<groupId>com.oracle.oci.sdk</groupId>
6464
<artifactId>oci-java-sdk-common</artifactId>
65-
<version>2.24.0</version>
65+
<version>2.25.0</version>
6666
</dependency>
6767
</dependencies>
6868

bmc-addons/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.oracle.oci.sdk</groupId>
77
<artifactId>oci-java-sdk</artifactId>
8-
<version>2.24.0</version>
8+
<version>2.25.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

bmc-aianomalydetection/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk</artifactId>
7-
<version>2.24.0</version>
7+
<version>2.25.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-aianomalydetection</artifactId>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.oracle.oci.sdk</groupId>
1717
<artifactId>oci-java-sdk-common</artifactId>
18-
<version>2.24.0</version>
18+
<version>2.25.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-ailanguage/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk</artifactId>
7-
<version>2.24.0</version>
7+
<version>2.25.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-ailanguage</artifactId>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.oracle.oci.sdk</groupId>
1717
<artifactId>oci-java-sdk-common</artifactId>
18-
<version>2.24.0</version>
18+
<version>2.25.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-aispeech/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>com.oracle.oci.sdk</groupId>
66
<artifactId>oci-java-sdk</artifactId>
7-
<version>2.24.0</version>
7+
<version>2.25.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-aispeech</artifactId>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.oracle.oci.sdk</groupId>
1717
<artifactId>oci-java-sdk-common</artifactId>
18-
<version>2.24.0</version>
18+
<version>2.25.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-aispeech/src/main/java/com/oracle/bmc/aispeech/model/CreateTranscriptionJobDetails.java

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ public Builder description(String description) {
5353
return this;
5454
}
5555

56+
@com.fasterxml.jackson.annotation.JsonProperty("additionalTranscriptionFormats")
57+
private java.util.List<AdditionalTranscriptionFormats> additionalTranscriptionFormats;
58+
59+
public Builder additionalTranscriptionFormats(
60+
java.util.List<AdditionalTranscriptionFormats> additionalTranscriptionFormats) {
61+
this.additionalTranscriptionFormats = additionalTranscriptionFormats;
62+
this.__explicitlySet__.add("additionalTranscriptionFormats");
63+
return this;
64+
}
65+
5666
@com.fasterxml.jackson.annotation.JsonProperty("modelDetails")
5767
private TranscriptionModelDetails modelDetails;
5868

@@ -117,6 +127,7 @@ public CreateTranscriptionJobDetails build() {
117127
displayName,
118128
compartmentId,
119129
description,
130+
additionalTranscriptionFormats,
120131
modelDetails,
121132
normalization,
122133
inputLocation,
@@ -133,6 +144,7 @@ public Builder copy(CreateTranscriptionJobDetails o) {
133144
displayName(o.getDisplayName())
134145
.compartmentId(o.getCompartmentId())
135146
.description(o.getDescription())
147+
.additionalTranscriptionFormats(o.getAdditionalTranscriptionFormats())
136148
.modelDetails(o.getModelDetails())
137149
.normalization(o.getNormalization())
138150
.inputLocation(o.getInputLocation())
@@ -153,22 +165,60 @@ public static Builder builder() {
153165
}
154166

155167
/**
156-
* Transcription job name.
168+
* A user-friendly display name for the job.
157169
**/
158170
@com.fasterxml.jackson.annotation.JsonProperty("displayName")
159171
String displayName;
160172

161173
/**
162-
* The OCID of the compartment that contains the transcriptionJob.
174+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job.
163175
**/
164176
@com.fasterxml.jackson.annotation.JsonProperty("compartmentId")
165177
String compartmentId;
166178

167179
/**
168-
* Transcription job description.
180+
* A short description of the job.
169181
**/
170182
@com.fasterxml.jackson.annotation.JsonProperty("description")
171183
String description;
184+
/**
185+
**/
186+
public enum AdditionalTranscriptionFormats {
187+
Srt("SRT"),
188+
;
189+
190+
private final String value;
191+
private static java.util.Map<String, AdditionalTranscriptionFormats> map;
192+
193+
static {
194+
map = new java.util.HashMap<>();
195+
for (AdditionalTranscriptionFormats v : AdditionalTranscriptionFormats.values()) {
196+
map.put(v.getValue(), v);
197+
}
198+
}
199+
200+
AdditionalTranscriptionFormats(String value) {
201+
this.value = value;
202+
}
203+
204+
@com.fasterxml.jackson.annotation.JsonValue
205+
public String getValue() {
206+
return value;
207+
}
208+
209+
@com.fasterxml.jackson.annotation.JsonCreator
210+
public static AdditionalTranscriptionFormats create(String key) {
211+
if (map.containsKey(key)) {
212+
return map.get(key);
213+
}
214+
throw new IllegalArgumentException("Invalid AdditionalTranscriptionFormats: " + key);
215+
}
216+
};
217+
/**
218+
* Transcription Format. By default JSON format will be considered.
219+
**/
220+
@com.fasterxml.jackson.annotation.JsonProperty("additionalTranscriptionFormats")
221+
java.util.List<AdditionalTranscriptionFormats> additionalTranscriptionFormats;
172222

173223
@com.fasterxml.jackson.annotation.JsonProperty("modelDetails")
174224
TranscriptionModelDetails modelDetails;

0 commit comments

Comments
 (0)