Skip to content

Commit 6899d86

Browse files
Merge pull request #36 from IBM/saikumar1607-202403161916
add support for eu-de region
2 parents 4bf2a8b + c137e20 commit 6899d86

File tree

6 files changed

+9
-5
lines changed

6 files changed

+9
-5
lines changed

.secrets.baseline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$|go.sum|vendor|.cra/.cveignore",
44
"lines": null
55
},
6-
"generated_at": "2024-02-22T06:55:34Z",
6+
"generated_at": "2024-03-16T19:17:48Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IBM Cloud App Configuration Go server SDK 0.5.2
1+
# IBM Cloud App Configuration Go server SDK 0.5.3
22

33
IBM Cloud App Configuration SDK is used to perform feature flag and property evaluation based on the configuration on
44
IBM Cloud App Configuration service.
@@ -78,6 +78,7 @@ using **`AppConfiguration.GetInstance()`**. [See this example below](#fetching-t
7878
- `AppConfiguration.REGION_EU_GB` for London
7979
- `AppConfiguration.REGION_AU_SYD` for Sydney
8080
- `AppConfiguration.REGION_US_EAST` for Washington DC
81+
- `AppConfiguration.REGION_EU_DE` for Frankfurt
8182
- guid : Instance Id of the App Configuration service. Obtain it from the service credentials section of the App
8283
Configuration dashboard.
8384
- apikey : ApiKey of the App Configuration service. Obtain it from the service credentials section of the App

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- In the [IBM Cloud catalog](https://cloud.ibm.com/catalog#services), search **App Configuration** and
99
select [App Configuration](https://cloud.ibm.com/catalog/services/app-configuration). The service configuration screen
1010
opens.
11-
- **Select a region** - Currently, Dallas (us-south), London (eu-gb), Sydney (au-syd) and Washington DC (us-east) regions are supported.
11+
- **Select a region** - Currently, Dallas (us-south), London (eu-gb), Sydney (au-syd), Washington DC (us-east) and Frankfurt (eu-de) regions are supported.
1212
- Select a pricing plan, resource group and configure your resource with a service name, or use the preset name.
1313
- Click **Create**. A new service instance is created and the App Configuration console displayed.
1414

examples/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module examples
33
go 1.16
44

55
require (
6-
github.com/IBM/appconfiguration-go-sdk v0.5.2
6+
github.com/IBM/appconfiguration-go-sdk v0.5.3
77
github.com/gorilla/mux v1.8.0
88
github.com/joho/godotenv v1.5.1
99
)

lib/AppConfiguration.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ const REGION_AU_SYD = "au-syd"
5959
// REGION_US_EAST : Washington DC Region
6060
const REGION_US_EAST = "us-east"
6161

62+
// REGION_EU_DE : Frankfurt Region
63+
const REGION_EU_DE = "eu-de"
64+
6265
// GetInstance : Get App Configuration Instance
6366
func GetInstance() *AppConfiguration {
6467
log.Debug(messages.RetrieveingAppConfig)

lib/internal/constants/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const DefaultEntityID = "$$null$$"
2626
const DefaultUsageLimit = 10
2727

2828
// UserAgent specifies the user agent name
29-
const UserAgent = "appconfiguration-go-sdk/0.5.2"
29+
const UserAgent = "appconfiguration-go-sdk/0.5.3"
3030

3131
// ConfigurationFile : Name of file to which configurations will be written
3232
const ConfigurationFile = "appconfiguration.json"

0 commit comments

Comments
 (0)