Skip to content

Commit 71f3484

Browse files
committed
Added GCN/OC17 us-dcc-phoenix-2 region
1 parent 315bcb9 commit 71f3484

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public class Region {
142142

143143
/* OC17 */
144144
public static final Region US_DCC_PHOENIX_1 = new Region("us-dcc-phoenix-1");
145+
public static final Region US_DCC_PHOENIX_2 = new Region("us-dcc-phoenix-2");
145146

146147
static {
147148
/* OC1 */
@@ -233,6 +234,7 @@ public class Region {
233234

234235
/* OC17 */
235236
OC17_REGIONS.put(US_DCC_PHOENIX_1.getRegionId(), US_DCC_PHOENIX_1);
237+
OC17_REGIONS.put(US_DCC_PHOENIX_2.getRegionId(), US_DCC_PHOENIX_2);
236238
}
237239

238240
private final static MessageFormat OC1_EP_BASE = new MessageFormat(

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class Utils {
197197

198198
/* OC17 */
199199
IAM_URI.put("ifp", OC17_EP_BASE.format(new Object[] {"us-dcc-phoenix-1"}));
200+
IAM_URI.put("gcn", OC17_EP_BASE.format(new Object[] {"us-dcc-phoenix-2"}));
200201
}
201202

202203
static String getIAMURL(String regionIdOrCode) {

0 commit comments

Comments
 (0)