Skip to content

Commit ca3fc38

Browse files
committed
Added us-chicago-1 (ORD) OCI region
1 parent ecc36a5 commit ca3fc38

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public class Region {
9292
public static final Region US_ASHBURN_1 = new Region("us-ashburn-1");
9393
public static final Region US_PHOENIX_1 = new Region("us-phoenix-1");
9494
public static final Region US_SANJOSE_1 = new Region("us-sanjose-1");
95+
public static final Region US_CHICAGO_1 = new Region("us-chicago-1");
9596

9697
public static final Region CA_MONTREAL_1 = new Region("ca-montreal-1");
9798
public static final Region CA_TORONTO_1 = new Region("ca-toronto-1");
@@ -175,6 +176,7 @@ public class Region {
175176
OC1_REGIONS.put(US_ASHBURN_1.getRegionId(), US_ASHBURN_1);
176177
OC1_REGIONS.put(US_PHOENIX_1.getRegionId(), US_PHOENIX_1);
177178
OC1_REGIONS.put(US_SANJOSE_1.getRegionId(), US_SANJOSE_1);
179+
OC1_REGIONS.put(US_CHICAGO_1.getRegionId(), US_CHICAGO_1);
178180

179181
OC1_REGIONS.put(CA_MONTREAL_1.getRegionId(), CA_MONTREAL_1);
180182
OC1_REGIONS.put(CA_TORONTO_1.getRegionId(), CA_TORONTO_1);
@@ -216,7 +218,7 @@ public class Region {
216218
private final static MessageFormat OC4_EP_BASE = new MessageFormat(
217219
"https://nosql.{0}.oci.oraclegovcloud.uk");
218220
private final static MessageFormat OC5_EP_BASE = new MessageFormat(
219-
"https://nosql.{0}.oci.oraclerealm5.com");
221+
"https://nosql.{0}.oci.oraclecloud5.com");
220222
private final static MessageFormat OC8_EP_BASE = new MessageFormat(
221223
"https://nosql.{0}.oci.oraclecloud8.com");
222224
private final static MessageFormat OC9_EP_BASE = new MessageFormat(

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Utils {
9898
private final static MessageFormat OC4_EP_BASE = new MessageFormat(
9999
"https://auth.{0}.oraclegovcloud.uk");
100100
private final static MessageFormat OC5_EP_BASE = new MessageFormat(
101-
"https://auth.{0}.oraclerealm5.com");
101+
"https://auth.{0}.oraclecloud5.com");
102102
private final static MessageFormat OC8_EP_BASE = new MessageFormat(
103103
"https://auth.{0}.oraclecloud8.com");
104104
private final static MessageFormat OC9_EP_BASE = new MessageFormat(
@@ -149,6 +149,7 @@ class Utils {
149149
IAM_URI.put("phx", OC1_EP_BASE.format(new Object[] {"us-phoenix-1"}));
150150
IAM_URI.put("iad", OC1_EP_BASE.format(new Object[] {"us-ashburn-1"}));
151151
IAM_URI.put("sjc", OC1_EP_BASE.format(new Object[] {"us-sanjose-1"}));
152+
IAM_URI.put("ord", OC1_EP_BASE.format(new Object[] {"us-chicago-1"}));
152153

153154
IAM_URI.put("yyz", OC1_EP_BASE.format(new Object[] {"ca-toronto-1"}));
154155
IAM_URI.put("yul", OC1_EP_BASE.format(new Object[] {"ca-montreal-1"}));

0 commit comments

Comments
 (0)