IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Integration server performing management actions from CLI

    Posted 05/16/22 10:30 AM

    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 !!!


    #webMethods


  • 2.  RE: Integration server performing management actions from CLI

    Posted 05/16/22 10:54 AM

    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


    #webMethods


  • 3.  RE: Integration server performing management actions from CLI



  • 4.  RE: Integration server performing management actions from CLI

    Posted 05/17/22 05:14 AM

    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’


    #webMethods