Skip to content

Commit d3bcd6b

Browse files
fix: updated the DA to use region widget (#518)
1 parent 60fe4fc commit d3bcd6b

File tree

1 file changed

+20
-86
lines changed

1 file changed

+20
-86
lines changed

ibm_catalog.json

Lines changed: 20 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -156,48 +156,17 @@
156156
{
157157
"key": "region",
158158
"required": true,
159-
"options": [
160-
{
161-
"displayname": "Dallas (us-south)",
162-
"value": "us-south"
163-
},
164-
{
165-
"displayname": "Sao Paulo (br-sao)",
166-
"value": "br-sao"
167-
},
168-
{
169-
"displayname": "Toronto (ca-tor)",
170-
"value": "ca-tor"
171-
},
172-
{
173-
"displayname": "Washington DC (us-east)",
174-
"value": "us-east"
175-
},
176-
{
177-
"displayname": "Frankfurt (eu-de)",
178-
"value": "eu-de"
179-
},
180-
{
181-
"displayname": "London (eu-gb)",
182-
"value": "eu-gb"
183-
},
184-
{
185-
"displayname": "Madrid (eu-es)",
186-
"value": "eu-es"
187-
},
188-
{
189-
"displayname": "Osaka (jp-osa)",
190-
"value": "jp-osa"
191-
},
192-
{
193-
"displayname": "Sydney (au-syd)",
194-
"value": "au-syd"
195-
},
196-
{
197-
"displayname": "Tokyo (jp-tok)",
198-
"value": "jp-tok"
159+
"custom_config": {
160+
"type": "region",
161+
"grouping": "deployment",
162+
"original_grouping": "deployment",
163+
"config_constraints": {
164+
"filterString": "service:messagehub",
165+
"showKinds": [
166+
"region"
167+
]
199168
}
200-
]
169+
}
201170
},
202171
{
203172
"key": "existing_resource_group_name",
@@ -615,52 +584,17 @@
615584
{
616585
"key": "region",
617586
"required": true,
618-
"options": [
619-
{
620-
"displayname": "Dallas (us-south)",
621-
"value": "us-south"
622-
},
623-
{
624-
"displayname": "Sao Paulo (br-sao)",
625-
"value": "br-sao"
626-
},
627-
{
628-
"displayname": "Toronto (ca-tor)",
629-
"value": "ca-tor"
630-
},
631-
{
632-
"displayname": "Washington DC (us-east)",
633-
"value": "us-east"
634-
},
635-
{
636-
"displayname": "Frankfurt (eu-de)",
637-
"value": "eu-de"
638-
},
639-
{
640-
"displayname": "London (eu-gb)",
641-
"value": "eu-gb"
642-
},
643-
{
644-
"displayname": "Madrid (eu-es)",
645-
"value": "eu-es"
646-
},
647-
{
648-
"displayname": "Osaka (jp-osa)",
649-
"value": "jp-osa"
650-
},
651-
{
652-
"displayname": "Sydney (au-syd)",
653-
"value": "au-syd"
654-
},
655-
{
656-
"displayname": "Tokyo (jp-tok)",
657-
"value": "jp-tok"
658-
},
659-
{
660-
"displayname": "Chennai (che01)",
661-
"value": "che01"
587+
"custom_config": {
588+
"type": "region",
589+
"grouping": "deployment",
590+
"original_grouping": "deployment",
591+
"config_constraints": {
592+
"filterString": "service:messagehub",
593+
"showKinds": [
594+
"region"
595+
]
662596
}
663-
]
597+
}
664598
},
665599
{
666600
"key": "prefix",

0 commit comments

Comments
 (0)