Add command line function to orchestrations Hot

by David Berner on March 23, 2015

Orchestrations are a great way to structure logic that has to be added to SBM. From the different functions and logic available in orchestrations, what is really missing is to be able to invoke external commands via command line.

  • This could allow us to actually replace the app scripts altogether, since now, wherever you have some more complex logic, just write it in your favorite language and invoke it from the orchestration. Chances are you already have implemented it in some scripting language, so just reuse it.

    Ideas

    Status
    Target Release
    SBM 11.4
  • Please login to view any attachments.

  • Hi,
    we are using http://www.brutex.net/W/2015/01/soap-xservices/ quite a lot. It has web service methods to execute command line via orchestration. However, you _need to secure_ these services. Otherwise you are opening up your box for the world.

    Supported methods:
    - runCommandWithArgs
    - runCommand
    - runCommandWithSSHKeyAuth
    - runCommandAsyncWithArgs
    - telnet
    - runCommandWithSSH
    - rExec
    - runJavaScript
    - runCommandAsync

    It is a web application (WAR file) you can run in Tomcat or JBoss.

    Cheers
    Brian
    Brian Rosenberger Commented by Brian Rosenberger March 10, 2016
    Top 50 Reviewer  -  

    Hi,
    we are using http://www.brutex.net/W/2015/01/soap-xservices/ quite a lot. It has web service methods to execute command line via orchestration. However, you _need to secure_ these services. Otherwise you are opening up your box for the world.

    Supported methods:
    - runCommandWithArgs
    - runCommand
    - runCommandWithSSHKeyAuth
    - runCommandAsyncWithArgs
    - telnet
    - runCommandWithSSH
    - rExec
    - runJavaScript
    - runCommandAsync

    It is a web application (WAR file) you can run in Tomcat or JBoss.

    Cheers
    Brian

    We'll put this Under Consideration for the 1HCY'17 release
    David J. Easter Commented by David J. Easter February 09, 2016
    #1 Reviewer  -  

    We'll put this Under Consideration for the 1HCY'17 release

     

PrintEmail

Recent Tweets