Skip to content

Commit b6c9af1

Browse files
fix(ATracker): add new region eu-fr2 (#296)
Signed-off-by: Divi-Tiru-Sai-Gopala-Pavana-Phaneendra <divi.tiru.sai.gopala.pavana.phaneendra@ibm.com>
1 parent d923306 commit b6c9af1

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

atrackerv2/atracker_v2.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2023.
2+
* (C) Copyright IBM Corp. 2024.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
*/
1616

1717
/*
18-
* IBM OpenAPI SDK Code Generator Version: 3.80.0-29334a73-20230925-151553
18+
* IBM OpenAPI SDK Code Generator Version: 3.84.1-55f6d880-20240110-194020
1919
*/
2020

2121
// Package atrackerv2 : Operations and models for the AtrackerV2 service
@@ -123,14 +123,14 @@ func GetServiceURLForRegion(region string) (string, error) {
123123
"private.eu-gb": "https://private.eu-gb.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the eu-gb region.
124124
"eu-es": "https://eu-es.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the eu-es region.
125125
"private.eu-es": "https://private.eu-es.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the eu-es region.
126+
"eu-fr2": "https://eu-fr2.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the eu-fr2 region.
127+
"private.eu-fr2": "https://private.eu-fr2.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the eu-fr2 region.
126128
"au-syd": "https://au-syd.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the au-syd region.
127129
"private.au-syd": "https://private.au-syd.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service in the au-syd region.
128130
"ca-tor": "https://us-east.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for ca-tor points to the us-east region.
129131
"private.ca-tor": "https://private.us-east.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for ca-tor points to the us-east region.
130132
"br-sao": "https://us-south.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for br-sao points to the us-south region.
131133
"private.br-sao": "https://private.us-south.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for br-sao points to the us-south region.
132-
"eu-fr2": "https://eu-de.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for eu-fr2 points to the eu-de region.
133-
"private.eu-fr2": "https://private.eu-de.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for eu-fr2 points to the eu-de region.
134134
"jp-tok": "https://eu-de.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for jp-tok points to the eu-de region.
135135
"private.jp-tok": "https://private.eu-de.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for jp-tok points to the eu-de region.
136136
"jp-osa": "https://eu-de.atracker.cloud.ibm.com", // The server for IBM Cloud Activity Tracker Service for jp-osa points to the eu-de region.

atrackerv2/atracker_v2_suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2023.
2+
* (C) Copyright IBM Corp. 2024.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

atrackerv2/atracker_v2_test.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* (C) Copyright IBM Corp. 2023.
2+
* (C) Copyright IBM Corp. 2024.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -194,6 +194,14 @@ var _ = Describe(`AtrackerV2`, func() {
194194
Expect(url).To(Equal("https://private.eu-es.atracker.cloud.ibm.com"))
195195
Expect(err).To(BeNil())
196196

197+
url, err = atrackerv2.GetServiceURLForRegion("eu-fr2")
198+
Expect(url).To(Equal("https://eu-fr2.atracker.cloud.ibm.com"))
199+
Expect(err).To(BeNil())
200+
201+
url, err = atrackerv2.GetServiceURLForRegion("private.eu-fr2")
202+
Expect(url).To(Equal("https://private.eu-fr2.atracker.cloud.ibm.com"))
203+
Expect(err).To(BeNil())
204+
197205
url, err = atrackerv2.GetServiceURLForRegion("au-syd")
198206
Expect(url).To(Equal("https://au-syd.atracker.cloud.ibm.com"))
199207
Expect(err).To(BeNil())
@@ -218,14 +226,6 @@ var _ = Describe(`AtrackerV2`, func() {
218226
Expect(url).To(Equal("https://private.us-south.atracker.cloud.ibm.com"))
219227
Expect(err).To(BeNil())
220228

221-
url, err = atrackerv2.GetServiceURLForRegion("eu-fr2")
222-
Expect(url).To(Equal("https://eu-de.atracker.cloud.ibm.com"))
223-
Expect(err).To(BeNil())
224-
225-
url, err = atrackerv2.GetServiceURLForRegion("private.eu-fr2")
226-
Expect(url).To(Equal("https://private.eu-de.atracker.cloud.ibm.com"))
227-
Expect(err).To(BeNil())
228-
229229
url, err = atrackerv2.GetServiceURLForRegion("jp-tok")
230230
Expect(url).To(Equal("https://eu-de.atracker.cloud.ibm.com"))
231231
Expect(err).To(BeNil())

0 commit comments

Comments
 (0)