Skip to content

Commit 75ad59b

Browse files
Releasing version 3.39.2
Releasing version 3.39.2
2 parents d01789e + bc50471 commit 75ad59b

File tree

300 files changed

+23118
-628
lines changed

Some content is hidden

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

300 files changed

+23118
-628
lines changed

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@ 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+
## 3.39.2 - 2024-04-16
7+
### Added
8+
- Support for calling Oracle Cloud Infrastructure services in the me-abudhabi-3 region
9+
- Support for new Image resource for an Autonomous Database in the Database service
10+
- Support for creating Autonomous Container Database using Autonomous Database Software Image in the Database service
11+
- Support for new dedicated AI cluster unit shape in the Generative AI service
12+
- Support for Chat API for LLM models in the Generative AI service
13+
- Support for network security groups (NSGs) in the Redis service
14+
- Support for custom public egress on model deployments in the Data Science service
15+
- Support for a new data transfer parameter for AWS S3 bucket in the Database Migration service
16+
- Support for Oracle Process Automation instance start and stop operations in the Process Automation service
17+
- Support for healthcare Natural Language Processing (NLP) in the AI Language service
18+
- Support for identification and de-identification of Private Health Information (PHI) service in the AI Language service
19+
- Support for multilingual content for using machine learning models in the AI Language service
20+
- Support for usage statements in cost management in the Usage service
21+
622
## 3.39.1 - 2024-04-09
723
### Added
824
- Support for calling Oracle Cloud Infrastructure services in the ap-dcc-gazipur-1 region

bmc-accessgovernancecp/pom.xml

+2-2
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>3.39.1</version>
7+
<version>3.39.2</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-accessgovernancecp</artifactId>
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.oracle.oci.sdk</groupId>
1717
<artifactId>oci-java-sdk-common</artifactId>
18-
<version>3.39.1</version>
18+
<version>3.39.2</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-addons/bmc-apache-configurator-jersey-addon/pom.xml

+3-3
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>3.39.1</version>
7+
<version>3.39.2</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -17,14 +17,14 @@
1717
<dependency>
1818
<groupId>com.oracle.oci.sdk</groupId>
1919
<artifactId>oci-java-sdk-bom</artifactId>
20-
<version>3.39.1</version>
20+
<version>3.39.2</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>
2424
<dependency>
2525
<groupId>com.oracle.oci.sdk</groupId>
2626
<artifactId>oci-java-sdk-common-httpclient-jersey</artifactId>
27-
<version>3.39.1</version>
27+
<version>3.39.2</version>
2828
<type>pom</type>
2929
<scope>import</scope>
3030
</dependency>

bmc-addons/bmc-apache-configurator-jersey3-addon/pom.xml

+3-3
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>3.39.1</version>
7+
<version>3.39.2</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -17,14 +17,14 @@
1717
<dependency>
1818
<groupId>com.oracle.oci.sdk</groupId>
1919
<artifactId>oci-java-sdk-bom</artifactId>
20-
<version>3.39.1</version>
20+
<version>3.39.2</version>
2121
<type>pom</type>
2222
<scope>import</scope>
2323
</dependency>
2424
<dependency>
2525
<groupId>com.oracle.oci.sdk</groupId>
2626
<artifactId>oci-java-sdk-common-httpclient-jersey3</artifactId>
27-
<version>3.39.1</version>
27+
<version>3.39.2</version>
2828
<type>pom</type>
2929
<scope>import</scope>
3030
</dependency>

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

+2-2
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>3.39.1</version>
8+
<version>3.39.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

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

bmc-addons/bmc-oke-workload-identity/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>oci-java-sdk-addons</artifactId>
66
<groupId>com.oracle.oci.sdk</groupId>
7-
<version>3.39.1</version>
7+
<version>3.39.2</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

@@ -38,25 +38,25 @@
3838
<dependency>
3939
<groupId>com.oracle.oci.sdk</groupId>
4040
<artifactId>oci-java-sdk-common</artifactId>
41-
<version>3.39.1</version>
41+
<version>3.39.2</version>
4242
<scope>compile</scope>
4343
</dependency>
4444
<dependency>
4545
<groupId>com.oracle.oci.sdk</groupId>
4646
<artifactId>oci-java-sdk-core</artifactId>
47-
<version>3.39.1</version>
47+
<version>3.39.2</version>
4848
<scope>test</scope>
4949
</dependency>
5050
<dependency>
5151
<groupId>com.oracle.oci.sdk</groupId>
5252
<artifactId>oci-java-sdk-identity</artifactId>
53-
<version>3.39.1</version>
53+
<version>3.39.2</version>
5454
<scope>test</scope>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.oracle.oci.sdk</groupId>
5858
<artifactId>oci-java-sdk-keymanagement</artifactId>
59-
<version>3.39.1</version>
59+
<version>3.39.2</version>
6060
<scope>test</scope>
6161
</dependency>
6262
<dependency>

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

+2-2
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>3.39.1</version>
7+
<version>3.39.2</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>com.oracle.oci.sdk</groupId>
2525
<artifactId>oci-java-sdk-common</artifactId>
26-
<version>3.39.1</version>
26+
<version>3.39.2</version>
2727
</dependency>
2828
</dependencies>
2929
</project>

bmc-addons/bmc-sasl-oke-workload-identity/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<artifactId>oci-java-sdk-addons</artifactId>
66
<groupId>com.oracle.oci.sdk</groupId>
7-
<version>3.39.1</version>
7+
<version>3.39.2</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
@@ -39,13 +39,13 @@
3939
<dependency>
4040
<groupId>com.oracle.oci.sdk</groupId>
4141
<artifactId>oci-java-sdk-addons-sasl</artifactId>
42-
<version>3.39.1</version>
42+
<version>3.39.2</version>
4343
<scope>compile</scope>
4444
</dependency>
4545
<dependency>
4646
<groupId>com.oracle.oci.sdk</groupId>
4747
<artifactId>oci-java-sdk-addons-oke-workload-identity</artifactId>
48-
<version>3.39.1</version>
48+
<version>3.39.2</version>
4949
<scope>compile</scope>
5050
</dependency>
5151
</dependencies>

bmc-addons/bmc-sasl/pom.xml

+2-2
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>3.39.1</version>
8+
<version>3.39.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

@@ -60,7 +60,7 @@
6060
<dependency>
6161
<groupId>com.oracle.oci.sdk</groupId>
6262
<artifactId>oci-java-sdk-common</artifactId>
63-
<version>3.39.1</version>
63+
<version>3.39.2</version>
6464
</dependency>
6565
</dependencies>
6666

bmc-addons/bmc-sse-support-jersey3/pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>oci-java-sdk-addons</artifactId>
77
<groupId>com.oracle.oci.sdk</groupId>
8-
<version>3.39.1</version>
8+
<version>3.39.2</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
@@ -150,12 +150,12 @@
150150
<dependency>
151151
<groupId>com.oracle.oci.sdk</groupId>
152152
<artifactId>oci-java-sdk-common</artifactId>
153-
<version>3.39.1</version>
153+
<version>3.39.2</version>
154154
</dependency>
155155
<dependency>
156156
<groupId>com.oracle.oci.sdk</groupId>
157157
<artifactId>oci-java-sdk-generativeaiinference</artifactId>
158-
<version>3.39.1</version>
158+
<version>3.39.2</version>
159159
<scope>test</scope>
160160
</dependency>
161161
<dependency>
@@ -164,7 +164,7 @@
164164
but the code in it needs it. -->
165165
<groupId>com.oracle.oci.sdk</groupId>
166166
<artifactId>oci-java-sdk-common-httpclient-jersey3</artifactId>
167-
<version>3.39.1</version>
167+
<version>3.39.2</version>
168168
</dependency>
169169
</dependencies>
170170

Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
import com.oracle.bmc.Region;
1515
import com.oracle.bmc.auth.SessionTokenAuthenticationDetailsProvider;
1616
import com.oracle.bmc.generativeaiinference.GenerativeAiInferenceClient;
17-
import com.oracle.bmc.generativeaiinference.GenerateTextResultSseHelper;
17+
import com.oracle.bmc.generativeaiinference.GenerativeAiInferenceSseHelper;
1818
import com.oracle.bmc.generativeaiinference.model.*;
1919
import com.oracle.bmc.generativeaiinference.requests.GenerateTextRequest;
2020
import com.oracle.bmc.generativeaiinference.responses.GenerateTextResponse;
2121
import com.oracle.bmc.http.ClientConfigurator;
22-
import com.oracle.bmc.http.client.jersey3.sse.SseSupport;
2322
import com.oracle.bmc.retrier.RetryConfiguration;
2423

2524
/**
@@ -33,7 +32,7 @@
3332
* (~/.oci/config) and the CONFIG_PROFILE profile will be used.
3433
* </ul>
3534
*/
36-
public class GenerativeAiInferenceExample {
35+
public class GenerateTextExample {
3736

3837
private static final String ENDPOINT = "endpoint";
3938
private static final Region REGION = Region.US_CHICAGO_1;
@@ -71,7 +70,7 @@ public static void main(String[] args) throws Exception {
7170
// Create and add new additional client configurator for sse support by using appropriate
7271
// reader function
7372
SseSupport sseSupport =
74-
new SseSupport(GenerateTextResultSseHelper.generateTextResultReader);
73+
new SseSupport(GenerativeAiInferenceSseHelper.generateTextResultReader);
7574
ClientConfigurator clientConfigurator = sseSupport.getClientConfigurator();
7675
final GenerativeAiInferenceClient generativeAiInferenceClient =
7776
GenerativeAiInferenceClient.builder()
@@ -115,7 +114,7 @@ public static void main(String[] args) throws Exception {
115114
(CohereLlmInferenceResponse)
116115
generateTextResponse.getGenerateTextResult().getInferenceResponse();
117116
for (GeneratedText genText : res.getGeneratedTexts()) {
118-
System.out.println(genText.getText());
117+
System.out.print(genText.getText());
119118
}
120119

121120
generativeAiInferenceClient.close();

0 commit comments

Comments
 (0)