Skip to content

Commit 345de20

Browse files
authored
Preparing for 1.4.2 release
- Added capability to use Session Token based authentication: * NewSessionTokenSignatureProvider * NewSessionTokenSignatureProviderFromFile - Cloud only: added support to read region from system environment variable OCI_REGION if using user principal or session token authentication - On premise only: Added support for default namespaces in requests - Latest Oracle Cloud Infrastructure regions and region codes: OZZ, DRS - Updated realm domain for OC22/NAP
1 parent 31340d5 commit 345de20

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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-
## Unreleased
6+
## 1.4.2 - 2023-09-25
77

88
### Added
99

@@ -12,6 +12,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
1212
* NewSessionTokenSignatureProviderFromFile
1313
- Cloud only: added support to read region from system environment variable
1414
OCI_REGION if using user principal or session token authentication
15+
- On premise only: Added support for default namespaces in requests
16+
- Latest Oracle Cloud Infrastructure regions and region codes: OZZ, DRS
17+
- Updated realm domain for OC22/NAP
1518

1619
## 1.4.1 - 2023-08-21
1720

nosqldb/common/region.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,16 @@ const (
191191

192192
// RegionEUDCCZurich1 represents the dedicated region for Zurich
193193
RegionEUDCCZurich1 Region = "eu-dcc-zurich-1"
194+
195+
// OC27 REGIONS
196+
197+
// RegionUSDCCSWJordan1 represents the dedicated region for SWJordan1
198+
RegionUSDCCSWJordan1 Region = "us-dcc-swjordan-1"
199+
200+
// OC28 REGIONS
201+
202+
// RegionUSDCCSWJordan1 represents the dedicated region for SWJordan2
203+
RegionUSDCCSWJordan2 Region = "us-dcc-swjordan-2"
194204
)
195205

196206
var realm = map[string]string{
@@ -207,8 +217,10 @@ var realm = map[string]string{
207217
"oc17": "oraclecloud17.com",
208218
"oc19": "oraclecloud.eu",
209219
"oc20": "oraclecloud20.com",
210-
"oc22": "oraclecloud22.com",
220+
"oc22": "psn-pco.it",
211221
"oc24": "oraclecloud24.com",
222+
"oc27": "oraclecloud27.com",
223+
"oc28": "oraclecloud28.com",
212224
}
213225

214226
var regionRealm = map[Region]string{
@@ -291,6 +303,10 @@ var regionRealm = map[Region]string{
291303
RegionEUDCCRome1: "oc22",
292304

293305
RegionEUDCCZurich1: "oc24",
306+
307+
RegionUSDCCSWJordan1: "oc27",
308+
309+
RegionUSDCCSWJordan2: "oc28",
294310
}
295311

296312
var shortNameRegion = map[string]Region{
@@ -361,6 +377,8 @@ var shortNameRegion = map[string]Region{
361377
"beg": RegionEUJovanovac1,
362378
"nap": RegionEUDCCRome1,
363379
"avz": RegionEUDCCZurich1,
380+
"ozz": RegionUSDCCSWJordan1,
381+
"drs": RegionUSDCCSWJordan2,
364382
}
365383

366384
func (region Region) secondLevelDomain() string {

0 commit comments

Comments
 (0)