Integration server performing management actions from CLI

Hello,
With IS 9.8 or 10.5 running on Linux - i want to script some actions like package reload and some more.
Is it possible to do from operating system’s cli?
Perhaps i could imitate the action that clicking on package reload at the web UI does - but UI it pop ups dialog box with confirmation…
Doing it from CLI would be the best…

Many thanks !!!

You have an API to allow you to do this.

The admin API swagger for Integration Server can be downloaded from you server directly, if running on your local machine, click on the following link.

http://localhost:5555/admin/swagger/integrationServer/

for instance to reload a package you could do this from command line with curl e.g.

curl -X "POST" "http://localhost:5555/admin/package/JcPublicTools?action=reload" \
     -u 'Administrator:manage'

for info the above API was added with 10.5, so you are in luck for your servers that are at 10.5 or better

1 Like

Please note that Admin API was introduced as part of 10.5. Postman collection for the Integration Server Admin API - Knowledge base - webMethods - Software AG Tech Community & Forums & Administer Integration Server from the command line - Knowledge base - webMethods - Software AG Tech Community & Forums provides more details on this.

Integration Server Administrator API (softwareag.com) provides more details on Admin API in 10.5.

3 Likes

Thank you guys for the info !
At the is 10.7 the swagger indeed comes up.

Just small correction to the command:
curl -X “POST” “http://localhost:5555/admin/package/JcPublicTools?action=reload
-u ‘Administrator:manage’

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.