Skip to content

Commit 638f4f3

Browse files
authored
Added region codes: UKY, XSP
1 parent 4f2ca9a commit 638f4f3

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
55
## Unreleased
66

77
### Added
8-
- Cloud only: added new OCI regions (TYO, AHU, DAC, DOH, IZQ)
8+
- Cloud only: added new OCI regions (TYO, AHU, DAC, DOH, IZQ, UKY, XSP)
99
- Cloud only: added use of ETag in AddReplicaRequest and DropReplicaRequest
1010
- Cloud only: added OKE workload identity authentication support
1111
- SignatureProvider.createWithOkeWorkloadIdentity()

driver/src/main/java/oracle/nosql/driver/Region.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public class Region {
8383
public static final Region AP_OSAKA_1 = new Region("ap-osaka-1");
8484
/** ICN */
8585
public static final Region AP_SINGAPORE_1 = new Region("ap-singapore-1");
86+
/** XSP */
87+
public static final Region AP_SINGAPORE_2 = new Region("ap-singapore-2");
8688
/** SIN */
8789
public static final Region AP_SEOUL_1 = new Region("ap-seoul-1");
8890
/** SYD */
@@ -247,6 +249,8 @@ public class Region {
247249
/* OC25 */
248250
/** TYO */
249251
public static final Region AP_DCC_TOKYO_1 = new Region("ap-dcc-tokyo-1");
252+
/** UKY */
253+
public static final Region AP_DCC_OSAKA_1 = new Region("ap-dcc-osaka-1");
250254

251255
/* OC26 */
252256
/** AHU */
@@ -276,6 +280,7 @@ public class Region {
276280
OC1_REGIONS.put(AP_MUMBAI_1.getRegionId(), AP_MUMBAI_1);
277281
OC1_REGIONS.put(AP_OSAKA_1.getRegionId(), AP_OSAKA_1);
278282
OC1_REGIONS.put(AP_SINGAPORE_1.getRegionId(), AP_SINGAPORE_1);
283+
OC1_REGIONS.put(AP_SINGAPORE_2.getRegionId(), AP_SINGAPORE_2);
279284
OC1_REGIONS.put(AP_SEOUL_1.getRegionId(), AP_SEOUL_1);
280285
OC1_REGIONS.put(AP_SYDNEY_1.getRegionId(), AP_SYDNEY_1);
281286
OC1_REGIONS.put(AP_TOKYO_1.getRegionId(), AP_TOKYO_1);
@@ -382,6 +387,7 @@ public class Region {
382387

383388
/* OC25 */
384389
OC25_REGIONS.put(AP_DCC_TOKYO_1.getRegionId(), AP_DCC_TOKYO_1);
390+
OC25_REGIONS.put(AP_DCC_OSAKA_1.getRegionId(), AP_DCC_OSAKA_1);
385391

386392
/* OC26 */
387393
OC26_REGIONS.put(ME_ABUDHABI_3.getRegionId(), ME_ABUDHABI_3);

driver/src/main/java/oracle/nosql/driver/iam/Utils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ class Utils {
152152
IAM_URI.put("kix", OC1_EP_BASE.format(new Object[] {"ap-osaka-1"}));
153153
IAM_URI.put("icn", OC1_EP_BASE.format(new Object[] {"ap-seoul-1"}));
154154
IAM_URI.put("sin", OC1_EP_BASE.format(new Object[] {"ap-singapore-1"}));
155+
IAM_URI.put("xsp", OC1_EP_BASE.format(new Object[] {"ap-singapore-2"}));
155156
IAM_URI.put("syd", OC1_EP_BASE.format(new Object[] {"ap-sydney-1"}));
156157
IAM_URI.put("nrt", OC1_EP_BASE.format(new Object[] {"ap-tokyo-1"}));
157158

@@ -254,6 +255,7 @@ class Utils {
254255

255256
/* OC25 */
256257
IAM_URI.put("tyo", OC25_EP_BASE.format(new Object[] {"ap-dcc-tokyo-1"}));
258+
IAM_URI.put("uky", OC25_EP_BASE.format(new Object[] {"ap-dcc-osaka-1"}));
257259

258260
/* OC26 */
259261
IAM_URI.put("ahu", OC26_EP_BASE.format(new Object[] {"me-abudhabi-3"}));

0 commit comments

Comments
 (0)