Skip to content

Commit 1f0a786

Browse files
authored
Releasing version 2.24.0
Releasing version 2.24.0
2 parents a089643 + 7a6a93a commit 1f0a786

File tree

331 files changed

+26088
-482
lines changed

Some content is hidden

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

331 files changed

+26088
-482
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,27 @@ 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.24.0 - 2022-04-19
7+
### Added
8+
- Support for the Stack Monitoring service
9+
- Support for stack monitoring on external databases in the Database service
10+
- Support for upgrading VM database systems in place in the Database service
11+
- Support for viewing supported VMWare software versions when listing host shapes in the VMWare Solution service
12+
- Support for choosing compute shapes when creating SDDCs and ESXi hosts in the VMWare Solution service
13+
- Support for work requests on delete operations in the Vulnerability Scanning service
14+
- Support for additional scan metadata in reports, including CVE descriptions, in the Vulnerability Scanning service
15+
- Support for redemption codes in the Usage service
16+
17+
### Breaking Changes
18+
- Method `public java.lang.String getEtag()` has been removed from `com.oracle.bmc.usage.responses.ListRedeemableUsersResponse` in the Usage service
19+
- The maximum wait time in SDK default retry configuration was changed from 30 milliseconds to 30 seconds
20+
621
## 2.23.0 - 2022-04-12
722
### Added
823
- Support for bringing your own IPv6 addresses in the Networking service
924
- Support for specifying database edition and maximum CPU core count when creating or updating an autonomous database in the Database service
1025
- Support for enabling and disabling data collection options when creating or updating Exadata Cloud at Customer VM clusters in the Database service
11-
26+
- Improved error messages for service errors and other miscellaneous errors
1227

1328
### Breaking Changes
1429
- Support for retries by default on operations in the Identity service

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.23.0</version>
7+
<version>2.24.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.23.0</version>
21+
<version>2.24.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.23.0</version>
8+
<version>2.24.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.23.0</version>
43+
<version>2.24.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.23.0</version>
10+
<version>2.24.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.23.0</version>
65+
<version>2.24.0</version>
6666
</dependency>
6767
</dependencies>
6868

bmc-addons/bmc-sasl/src/main/java/com/oracle/bmc/auth/sasl/OciSaslClient.java

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
import com.google.protobuf.InvalidProtocolBufferException;
1010
import com.oracle.bmc.auth.BasicAuthenticationDetailsProvider;
1111
import com.oracle.bmc.auth.ConfigurableRefreshOnNotAuthenticatedProvider;
12-
import com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider;
1312
import com.oracle.bmc.http.signing.internal.PEMFileRSAPrivateKeySupplier;
1413
import com.oracle.bmc.http.signing.internal.SignatureSigner;
1514
import com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages.Challenge;
1615
import com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages.Key;
1716
import com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages.Response;
17+
import com.oracle.bmc.util.StreamUtils;
18+
1819
import java.io.IOException;
1920
import java.io.InputStream;
2021
import java.nio.ByteBuffer;
@@ -36,7 +37,6 @@
3637
import javax.security.sasl.SaslClientFactory;
3738
import javax.security.sasl.SaslException;
3839

39-
import com.oracle.bmc.util.StreamUtils;
4040
import lombok.RequiredArgsConstructor;
4141

4242
/**
@@ -103,22 +103,21 @@ private Key generateKeyMessage() {
103103
synchronized (authProvider) {
104104
// Get a new token for each new key exchange to prevent stale keys
105105
if (authProvider instanceof ConfigurableRefreshOnNotAuthenticatedProvider) {
106-
((ConfigurableRefreshOnNotAuthenticatedProvider) authProvider)
106+
((ConfigurableRefreshOnNotAuthenticatedProvider<?>) authProvider)
107107
.refreshIfExpiringWithin(Duration.ofMinutes(5));
108108
}
109109

110-
InputStream inputStream = null;
111-
try {
112-
inputStream = authProvider.getPrivateKey();
113-
currentPrivateKey =
114-
new OciPrivateKey(
115-
authProvider.getKeyId(),
116-
inputStream,
117-
authProvider.getPassphraseCharacters());
118-
} finally {
119-
StreamUtils.closeQuietly(inputStream);
110+
if (currentPrivateKey != null) {
111+
StreamUtils.closeQuietly(currentPrivateKey.privateKey);
112+
currentPrivateKey = null;
120113
}
121114

115+
currentPrivateKey =
116+
new OciPrivateKey(
117+
authProvider.getKeyId(),
118+
authProvider.getPrivateKey(),
119+
authProvider.getPassphraseCharacters());
120+
122121
return Key.newBuilder().setKeyId(currentPrivateKey.keyId).setIntent(intent).build();
123122
}
124123
}

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.23.0</version>
8+
<version>2.24.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.23.0</version>
7+
<version>2.24.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.23.0</version>
18+
<version>2.24.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.23.0</version>
7+
<version>2.24.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.23.0</version>
18+
<version>2.24.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.23.0</version>
7+
<version>2.24.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.23.0</version>
18+
<version>2.24.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

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

0 commit comments

Comments
 (0)