Skip to content

Commit 0439d27

Browse files
Releasing version 3.18.0
Releasing version 3.18.0
2 parents c38a4ec + a932b2c commit 0439d27

File tree

870 files changed

+181805
-1334
lines changed

Some content is hidden

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

870 files changed

+181805
-1334
lines changed

ApacheConnector-README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ An example of configuring a proxy can be found [here](https://github.com/oracle/
209209
calling close on the stream object if doing partial read or if not reading at all. If the stream is read completely, then the SDK will try to
210210
auto-close the stream to release the connection from the connection pool.
211211
To manually close the stream in case of partial read of stream/no read. Please call close on the stream.
212-
For example - `GetObjectReponse.getInputStream().close()` or
212+
For example - `GetObjectResponse.getInputStream().close()` or
213213
use try-with-resources. Otherwise, a partial read without closing will lead to the connection not being released from
214214
the pool and results in hanging for an indefinite time.
215215

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ 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.18.0 - 2023-06-27
7+
### Added
8+
- Support for calling Oracle Cloud Infrastructure services in the eu-frankfurt-2 region
9+
- Support for the OS Management Hub service
10+
- Support for changing the key store type, and rotating keys, on Exadata Cloud at Customer in the Database service
11+
- Support for launching VM database systems using Ampere A1 shapes in the Database service
12+
- Support for additional currencies and countries on paid listings in the Marketplace service
13+
- Support for ECPU integration in the License Manager service
14+
- Support for freeform and defined tags on resources in the Generic Artifacts service
15+
- Support for SQL endpoints in the Data Flow service
16+
- Support for setting replication delays on channels in the MySQL Database service
17+
- Support for setting how channels handle replicated tables with no primary key in the MySQL Database service
18+
- Support for SQL Plan Management (SPM) in Database Management service
19+
20+
### Breaking Changes
21+
- Support for retries by default on operations of the Generic Artifacts service
22+
623
## 3.17.1 - 2023-06-20
724
### Added
825
- Support for serial console access in the Database service

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ There is no HTTP client library configured by default. The OCI Java SDK offers t
4848
<artifactId>oci-java-sdk-common-httpclient-jersey</artifactId>
4949
</dependency>
5050

51+
### Serializer/Deserializer is pluggable
52+
- The serializer is now pluggable and determined by the `HttpProvider`. For the Jersey 2 and Jersey 3 HTTP clients, Jackson continues to be used as the serializer
53+
- As part of the pluggable Serializer changes, when using the Jersey and Jersey 3 HTTP clients, the underlying Jackson `ObjectMapper` can now be obtained using `com.oracle.bmc.serialization.jackson.JacksonSerializer.getDefaultObjectMapper()`. The `com.oracle.bmc.http.client.Serialization.getObjectMapper()` method does not exist anymore.
5154

5255
### Invocation callbacks
5356
Instead of using `com.oracle.bmc.util.internal.Consumer<Invocation.Builder>` to register invocation callbacks, use `com.oracle.bmc.http.client.RequestInterceptor` instead, to decouple the implementation from the choice of the HTTP client.
@@ -157,18 +160,19 @@ There were numerous changes to decouple the implementation from the choice of th
157160

158161
### Moved classes
159162
- Class `com.oracle.bmc.Options` was moved to `com.oracle.bmc.http.client.Options`
160-
- Class `com.oracle.bmc.http.Serialization` was moved to `com.oracle.bmc.http.client.Serialization`
163+
- Class `com.oracle.bmc.http.Serialization` was moved to `com.oracle.bmc.http.client.Serialization` and is available from OCI Java SDK versions `3.0.0` to `3.13.1`
161164
- Class `com.oracle.bmc.io.DuplicatableInputStream` was moved to `com.oracle.bmc.http.client.io.DuplicatableInputStream`
162165

163166
### Long deprecated code was removed
164167
- The signing strategy `OBJECT_STORAGE` was removed from `com.oracle.bmc.http.signing.SigningStrategy`; it had been deprecated for years and had been replaced by `EXCLUDE_BODY`.
165168
- The `getPublicKey()` and `getPrivateKey()` methods were removed from `com.oracle.bmc.auth.SessionKeySupplier` and implementing classes; they had been deprecated for years and had been replaced by the `getKeyPair()` method.
166169

167-
168170
### Removed code
169171
- The `setInstanceMetadataServiceClientConfig` method in `com.oracle.bmc.Region` was removed; it never had any effect.
170172
- `AbstractFederationClientAuthenticationDetailsProviderBuilder.simpleRetry` method has been removed without replacement, since it is not needed in the OCI Java SDK 3.0.0 and higher.
171-
- You can copy and paste the [previous implementation](https://github.com/oracle/oci-java-sdk/blob/v2.47.0/bmc-common/src/main/java/com/oracle/bmc/auth/AbstractFederationClientAuthenticationDetailsProviderBuilder.java#L494-L528) if you need it.
173+
- You can copy and paste the [previous implementation](https://github.com/oracle/oci-java-sdk/blob/v2.47.0/bmc-common/src/main/java/com/oracle/bmc/auth/AbstractFederationClientAuthenticationDetailsProviderBuilder.java#L494-L528) if you need it.
174+
- Starting OCI Java SDK version `3.14.0`, class `com.oracle.bmc.http.client.Serialization` has been removed.
175+
172176

173177
### Removed dependencies on the following third-party libraries
174178
- Guava: Guava types have been replaced with JDK types:

bmc-accessgovernancecp/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>3.17.1</version>
7+
<version>3.18.0</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.17.1</version>
18+
<version>3.18.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

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

Lines changed: 3 additions & 3 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>3.17.1</version>
7+
<version>3.18.0</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.17.1</version>
20+
<version>3.18.0</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.17.1</version>
27+
<version>3.18.0</version>
2828
<type>pom</type>
2929
<scope>import</scope>
3030
</dependency>

bmc-addons/bmc-apache-configurator-jersey-addon/src/main/java/com/oracle/bmc/http/client/jersey/apacheconfigurator/ApacheConfigurator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* ApacheConfigurator.NonBuffering Apache Configurator by default configures a connection pool with
3939
* default values for defaultMaxConnectionsPerRoute and maximum open connections. Please make sure
4040
* to close all InputStreams obtained from the response object by calling close on the stream
41-
* object. For example - GetObjectReponse.getInputStream().close or try-with-resources. Otherwise,
41+
* object. For example - GetObjectResponse.getInputStream().close or try-with-resources. Otherwise,
4242
* the connection is not released from the pool and results in hanging for an indefinite time.
4343
*/
4444
public class ApacheConfigurator implements ClientConfigurator {
@@ -72,7 +72,8 @@ public void customizeClient(HttpClientBuilder builder) {
7272
// defaultMaxConnectionsPerRoute and
7373
// maximum open connections. Please make sure to close all InputStreams obtained from the
7474
// response object by
75-
// calling close on the stream object. For example - GetObjectReponse.getInputStream().close
75+
// calling close on the stream object. For example -
76+
// GetObjectResponse.getInputStream().close
7677
// or
7778
// try-with-resources. Otherwise, the connection is not released from the pool and results
7879
// in hanging for

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

Lines changed: 3 additions & 3 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>3.17.1</version>
7+
<version>3.18.0</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.17.1</version>
20+
<version>3.18.0</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.17.1</version>
27+
<version>3.18.0</version>
2828
<type>pom</type>
2929
<scope>import</scope>
3030
</dependency>

bmc-addons/bmc-apache-configurator-jersey3-addon/src/main/java/com/oracle/bmc/http/client/jersey3/apacheconfigurator/ApacheConfigurator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* ApacheConfigurator.NonBuffering Apache Configurator by default configures a connection pool with
3939
* default values for defaultMaxConnectionsPerRoute and maximum open connections. Please make sure
4040
* to close all InputStreams obtained from the response object by calling close on the stream
41-
* object. For example - GetObjectReponse.getInputStream().close or try-with-resources. Otherwise,
41+
* object. For example - GetObjectResponse.getInputStream().close or try-with-resources. Otherwise,
4242
* the connection is not released from the pool and results in hanging for an indefinite time.
4343
*/
4444
public class ApacheConfigurator implements ClientConfigurator {
@@ -72,7 +72,8 @@ public void customizeClient(HttpClientBuilder builder) {
7272
// defaultMaxConnectionsPerRoute and
7373
// maximum open connections. Please make sure to close all InputStreams obtained from the
7474
// response object by
75-
// calling close on the stream object. For example - GetObjectReponse.getInputStream().close
75+
// calling close on the stream object. For example -
76+
// GetObjectResponse.getInputStream().close
7677
// or
7778
// try-with-resources. Otherwise, the connection is not released from the pool and results
7879
// in hanging for

bmc-addons/bmc-apache-connector-provider/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>3.17.1</version>
8+
<version>3.18.0</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.17.1</version>
21+
<version>3.18.0</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

bmc-addons/bmc-graalvm-addon/pom.xml

Lines changed: 7 additions & 7 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>3.17.1</version>
7+
<version>3.18.0</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010
<artifactId>oci-java-sdk-addons-graalvm</artifactId>
@@ -141,37 +141,37 @@
141141
<dependency>
142142
<groupId>com.oracle.oci.sdk</groupId>
143143
<artifactId>oci-java-sdk-common</artifactId>
144-
<version>3.17.1</version>
144+
<version>3.18.0</version>
145145
<scope>provided</scope>
146146
</dependency>
147147
<dependency>
148148
<groupId>com.oracle.oci.sdk</groupId>
149149
<artifactId>oci-java-sdk-common-httpclient</artifactId>
150-
<version>3.17.1</version>
150+
<version>3.18.0</version>
151151
<scope>provided</scope>
152152
</dependency>
153153
<dependency>
154154
<groupId>com.oracle.oci.sdk</groupId>
155155
<artifactId>oci-java-sdk-core</artifactId>
156-
<version>3.17.1</version>
156+
<version>3.18.0</version>
157157
<scope>test</scope>
158158
</dependency>
159159
<dependency>
160160
<groupId>com.oracle.oci.sdk</groupId>
161161
<artifactId>oci-java-sdk-identity</artifactId>
162-
<version>3.17.1</version>
162+
<version>3.18.0</version>
163163
<scope>test</scope>
164164
</dependency>
165165
<dependency>
166166
<groupId>com.oracle.oci.sdk</groupId>
167167
<artifactId>oci-java-sdk-objectstorage-extensions</artifactId>
168-
<version>3.17.1</version>
168+
<version>3.18.0</version>
169169
<scope>test</scope>
170170
</dependency>
171171
<dependency>
172172
<groupId>com.oracle.oci.sdk</groupId>
173173
<artifactId>oci-java-sdk-objectstorage-generated</artifactId>
174-
<version>3.17.1</version>
174+
<version>3.18.0</version>
175175
<scope>test</scope>
176176
</dependency>
177177
<dependency>

0 commit comments

Comments
 (0)