Skip to content

Commit 62fc4d5

Browse files
committed
feat(project): Add eu-fr2 endpoint
Signed-off-by: Bracken Dawson <[email protected]>
1 parent d220ea2 commit 62fc4d5

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.secrets.baseline

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
"files": "package-lock.json|build/signing.key.enc|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2021-04-16T08:29:04Z",
6+
"generated_at": "2023-07-21T13:25:21Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
1010
},
1111
{
1212
"name": "ArtifactoryDetector"
1313
},
14+
{
15+
"name": "AzureStorageKeyDetector"
16+
},
1417
{
1518
"base64_limit": 4.5,
1619
"name": "Base64HighEntropyString"
@@ -25,8 +28,12 @@
2528
"name": "CloudantDetector"
2629
},
2730
{
31+
"ghe_instance": "github.ibm.com",
2832
"name": "GheDetector"
2933
},
34+
{
35+
"name": "GitHubTokenDetector"
36+
},
3037
{
3138
"hex_limit": 3,
3239
"name": "HexHighEntropyString"
@@ -47,6 +54,9 @@
4754
{
4855
"name": "MailchimpDetector"
4956
},
57+
{
58+
"name": "NpmDetector"
59+
},
5060
{
5161
"name": "PrivateKeyDetector"
5262
},
@@ -56,6 +66,9 @@
5666
{
5767
"name": "SoftlayerDetector"
5868
},
69+
{
70+
"name": "SquareOAuthDetector"
71+
},
5972
{
6073
"name": "StripeDetector"
6174
},
@@ -64,7 +77,7 @@
6477
}
6578
],
6679
"results": {},
67-
"version": "0.13.1+ibm.34.dss",
80+
"version": "0.13.1+ibm.61.dss",
6881
"word_list": {
6982
"file": null,
7083
"hash": null

modules/container-registry/src/main/java/com/ibm/cloud/container_registry/container_registry/v1/ContainerRegistry.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
/*
15-
* IBM OpenAPI SDK Code Generator Version: 3.73.0-eeee85a9-20230607-165104
15+
* IBM OpenAPI SDK Code Generator Version: 3.75.0-726bc7e3-20230713-221716
1616
*/
1717

1818
package com.ibm.cloud.container_registry.container_registry.v1;
@@ -120,6 +120,8 @@ public class ContainerRegistry extends BaseService {
120120
m.put("ca-tor", "https://ca.icr.io"); // ca-tor
121121

122122
m.put("br-sao", "https://br.icr.io"); // br-sao
123+
124+
m.put("eu-fr2", "https://fr2.icr.io"); // eu-fr2
123125
_regionalEndpoints = Collections.unmodifiableMap(m);
124126
}
125127

modules/container-registry/src/test/java/com/ibm/cloud/container_registry/container_registry/v1/ContainerRegistryTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public void testGetServiceUrlForRegion() throws Throwable {
117117
assertEquals(ContainerRegistry.getServiceUrlForRegion("jp-osa"), "https://jp2.icr.io");
118118
assertEquals(ContainerRegistry.getServiceUrlForRegion("ca-tor"), "https://ca.icr.io");
119119
assertEquals(ContainerRegistry.getServiceUrlForRegion("br-sao"), "https://br.icr.io");
120+
assertEquals(ContainerRegistry.getServiceUrlForRegion("eu-fr2"), "https://fr2.icr.io");
120121
}
121122

122123

0 commit comments

Comments
 (0)