Skip to content

Commit e493605

Browse files
committed
Updated OCI regions: CDG (Paris), MAD (Madrid), QRO (Queretaro)
1 parent 0f7d182 commit e493605

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
88
### Added
99
- Support for session persistence. If a Set-Cookie HTTP header is present the SDK will now set a Cookie header using the requested session value.
1010
- Support for PKCS8 format private keys.
11+
- Added latest Oracle Cloud Infrastructure regions and region codes: CDG, MAD, QRO.
1112

1213
## 1.3.0 - 2022-02-24
1314

nosqldb/common/region.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,12 @@ const (
3535
RegionUKCardiff1 Region = "uk-cardiff-1"
3636
// RegionEUAmsterdam1 represents the region for Netherlands Northwest (Amsterdam).
3737
RegionEUAmsterdam1 Region = "eu-amsterdam-1"
38+
// RegionEUMadrid1 represents the region for Spain (Madrid).
39+
RegionEUMadrid1 Region = "eu-madrid-1"
3840
// RegionEUMilan1 represents the region for Italy (Milan).
3941
RegionEUMilan1 Region = "eu-milan-1"
42+
// RegionEUParis1 represents the region for France (Paris).
43+
RegionEUParis1 Region = "eu-paris-1"
4044
// RegionFRA represents the region for Germany Central (Frankfurt).
4145
RegionFRA Region = "eu-frankfurt-1"
4246
// RegionEUZurich1 represents the region for Switzerland North (Zurich).
@@ -67,6 +71,8 @@ const (
6771
RegionMEJeddah1 Region = "me-jeddah-1"
6872
// RegionMEDubai1 represents the region for Saudi Arabia East (Dubai).
6973
RegionMEDubai1 Region = "me-dubai-1"
74+
// RegionMXQueretaro represents the region for Mexico (Queretaro).
75+
RegionMXQueretaro1 Region = "mx-queretaro-1"
7076
// RegionILJerusalem1 represents the region for Israel (Jerusalem).
7177
RegionILJerusalem1 Region = "il-jerusalem-1"
7278
// RegionAFJohannesburg represents the region for Johannesburg
@@ -150,10 +156,13 @@ var regionRealm = map[Region]string{
150156
RegionAPMelbourne1: "oc1",
151157
RegionMEJeddah1: "oc1",
152158
RegionMEDubai1: "oc1",
159+
RegionMXQueretaro1: "oc1",
153160
RegionILJerusalem1: "oc1",
154161
RegionEUZurich1: "oc1",
155162
RegionEUAmsterdam1: "oc1",
163+
RegionEUMadrid1: "oc1",
156164
RegionEUMilan1: "oc1",
165+
RegionEUParis1: "oc1",
157166
RegionSASaopaulo1: "oc1",
158167
RegionSASantiago1: "oc1",
159168
RegionSAVinhedo1: "oc1",
@@ -190,6 +199,8 @@ var shortNameRegion = map[string]Region{
190199
"cwl": RegionUKCardiff1,
191200
"ams": RegionEUAmsterdam1,
192201
"lin": RegionEUMilan1,
202+
"cdg": RegionEUParis1,
203+
"mad": RegionEUMadrid1,
193204
"zrh": RegionEUZurich1,
194205
"mel": RegionAPMelbourne1,
195206
"bom": RegionAPMumbai1,
@@ -209,6 +220,7 @@ var shortNameRegion = map[string]Region{
209220
"yyz": RegionCAToronto1,
210221
"jed": RegionMEJeddah1,
211222
"dxb": RegionMEDubai1,
223+
"qro": RegionMXQueretaro1,
212224
"mtz": RegionILJerusalem1,
213225
"syd": RegionAPSydney1,
214226
"jnb": RegionAFJohannesburg,

0 commit comments

Comments
 (0)