12 May 2022 11:19 AM
Dear All,
Is there a way to perform a bulk configuration of the IBM MQ endpoints?
The customer has to configure 1000+ endpoints with the different names of groups.
Regards,
Babar
12 May 2022 12:04 PM
Yes. As it's an extension you can write a smalls script that utilizes the Extensions API to add Endpoints.
13 May 2022 09:05 AM
Nothing I could share really, but it depends on the format the data is in anyway.
It's a pretty straight forward script and should require only a few lines of code.
13 May 2022 10:49 AM - edited 13 May 2022 10:49 AM
we can try an sh similar like below if we support curl operation on api end points
url="apiendpoint/?q="
for i in $(caturl.txt);do
content="$(curl -s "$url/$i")"
echo "$content" >> output.txt
done
Where caturl.txt will include all endpoints that needed to be updated in next lines.