Skip to content

Commit 620dbae

Browse files
Releasing version
Releasing version
2 parents b64d430 + 565822d commit 620dbae

File tree

553 files changed

+84932
-746
lines changed

Some content is hidden

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

553 files changed

+84932
-746
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ 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.68.0 - 2025-06-30
7+
### Added
8+
- Support for the Database MultiCloud service
9+
- Support for System Tags in the Database service
10+
- Support for PKCS11 Library Integration for Azure Key Store in the Database service
11+
- Support for changing subscription ID and the opc-dry-run parameter in the Database service
12+
- Support for listing all members of an Elastic Resource Pool for a provided Elastic Resource Pool leader in the Database service
13+
- Support for managing scheduled queries in the Application Performance Monitoring service
14+
- Support for Bring Your Own Key (BYOK) in the MySQL Heatwave service
15+
- Support for customer-initiated collection of diagnostic information in the Database Migration service
16+
17+
### Breaking Changes
18+
- The type of field `state` has been changed from String to `State` enum in the models `AutoActivateToggleStatus` and `AutoActivateStatus` in the Application Performance Monitoring service
19+
620
## 3.67.3 - 2025-06-24
721
### Added
822
- Support for database backups to Amazon S3 as default option for all databases running on Exa@AWS in the Database service

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.67.3</version>
7+
<version>3.68.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.67.3</version>
18+
<version>3.68.0</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

bmc-addons/bmc-adk/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.oracle.oci.sdk</groupId>
88
<artifactId>oci-java-sdk-addons</artifactId>
9-
<version>3.67.3</version>
9+
<version>3.68.0</version>
1010
</parent>
1111

1212
<artifactId>oci-java-sdk-addons-adk</artifactId>

bmc-addons/bmc-aispeech-realtime/pom.xml

Lines changed: 3 additions & 3 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.67.3</version>
8+
<version>3.68.0</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>
@@ -53,12 +53,12 @@
5353
<dependency>
5454
<groupId>com.oracle.oci.sdk</groupId>
5555
<artifactId>oci-java-sdk-aispeech</artifactId>
56-
<version>3.67.3</version>
56+
<version>3.68.0</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>com.oracle.oci.sdk</groupId>
6060
<artifactId>oci-java-sdk-common-httpclient-jersey</artifactId>
61-
<version>3.67.3</version>
61+
<version>3.68.0</version>
6262
<scope>compile</scope>
6363
</dependency>
6464
<dependency>

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.67.3</version>
7+
<version>3.68.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.67.3</version>
20+
<version>3.68.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.67.3</version>
27+
<version>3.68.0</version>
2828
<type>pom</type>
2929
<scope>import</scope>
3030
</dependency>

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.67.3</version>
7+
<version>3.68.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.67.3</version>
20+
<version>3.68.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.67.3</version>
27+
<version>3.68.0</version>
2828
<type>pom</type>
2929
<scope>import</scope>
3030
</dependency>

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.67.3</version>
8+
<version>3.68.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.67.3</version>
21+
<version>3.68.0</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

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

Lines changed: 10 additions & 5 deletions
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.67.3</version>
7+
<version>3.68.0</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.67.3</version>
41+
<version>3.68.0</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.67.3</version>
47+
<version>3.68.0</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.67.3</version>
53+
<version>3.68.0</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.67.3</version>
59+
<version>3.68.0</version>
6060
<scope>test</scope>
6161
</dependency>
6262
<dependency>
@@ -65,6 +65,11 @@
6565
<version>0.11.1</version>
6666
<scope>test</scope>
6767
</dependency>
68+
<dependency>
69+
<groupId>com.fasterxml.jackson.core</groupId>
70+
<artifactId>jackson-databind</artifactId>
71+
<version>${jackson.databind.version}</version>
72+
</dependency>
6873
</dependencies>
6974

7075
</project>

bmc-addons/bmc-oke-workload-identity/src/main/java/com/oracle/bmc/auth/okeworkloadidentity/internal/OkeWorkloadIdentityResourcePrincipalsFederationClient.java

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
import com.oracle.bmc.requests.BmcRequest;
4040
import com.oracle.bmc.util.internal.StringUtils;
4141
import org.slf4j.Logger;
42+
import com.oracle.bmc.util.internal.StringUtils;
43+
import java.nio.charset.StandardCharsets;
44+
import java.util.HashMap;
45+
import java.util.Map;
4246

4347
/**
4448
* This class gets a security token from the auth service by signing the request with the provided
@@ -107,13 +111,42 @@ public String getSecurityToken() {
107111
time = securityTokenAdapter.getTokenValidDuration().dividedBy(2);
108112
}
109113
}
110-
return refreshAndGetSecurityTokenIfExpiringWithin(time);
114+
String token = refreshAndGetSecurityTokenIfExpiringWithin(time);
115+
logTokenInfo(token);
116+
return token;
111117
} catch (Exception e) {
112118
LOG.info("Refresh RPST token failed, use cached RPST token.", e);
113119
return securityTokenAdapter.getSecurityToken();
114120
}
115121
}
116122

123+
private void logTokenInfo(String token) {
124+
try {
125+
if (StringUtils.isBlank(token) || token.split("\\.").length < 3) {
126+
LOG.warn("Invalid token: null, empty, or incorrect format");
127+
return;
128+
}
129+
String[] parts = token.split("\\.");
130+
String payloadJson =
131+
new String(
132+
java.util.Base64.getUrlDecoder().decode(parts[1]),
133+
StandardCharsets.UTF_8);
134+
Map<String, Object> payload = new ObjectMapper().readValue(payloadJson, Map.class);
135+
Map<String, Object> logData = new HashMap<>();
136+
logData.put("sub", payload.getOrDefault("sub", ""));
137+
logData.put("res_id", payload.getOrDefault("res_id", ""));
138+
logData.put("res_type", payload.getOrDefault("res_type", ""));
139+
logData.put("ttype", payload.getOrDefault("ttype", ""));
140+
logData.put("var_service_account", payload.getOrDefault("var_service_account", ""));
141+
logData.put("var_namespace", payload.getOrDefault("var_namespace", ""));
142+
logData.put("iat", payload.getOrDefault("iat", ""));
143+
logData.put("exp", payload.getOrDefault("exp", ""));
144+
LOG.info("RPST token details: {}", logData);
145+
} catch (Exception e) {
146+
LOG.warn("Failed to parse and log token", e);
147+
}
148+
}
149+
117150
private static String getRptEndpoint() {
118151
// Read proxymux ip address from environment variable.
119152
String host = System.getenv().get(KUBERNETES_SERVICE_HOST);

bmc-addons/bmc-resteasy-client-configurator/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>3.67.3</version>
7+
<version>3.68.0</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.67.3</version>
26+
<version>3.68.0</version>
2727
</dependency>
2828
</dependencies>
2929
</project>

0 commit comments

Comments
 (0)