Absent Member.. Absent Member..
Absent Member..

HP OO 10 / switch from RSFlowInvoke, jrsflowinvoke?



I was talking with a peer regarding how to kick off a flow from a command line and didn't think it would have changed in 10.  Then when I was looking for the files and didn't find them, I found a comment in a guide and it showed oosh.bat.


Anyone know why the change?  I was a fan of the old options, so curious why the new?  Also, what's the option for UNIX?  





1 Reply
Honored Contributor.. Honored Contributor..
Honored Contributor..



So it looks like OOSH would be the similar tool. One problem I have is that it is not documented whether it can be used outside of Central.


The Shell Guide PDF States this:

Note: If you used to work with RSFlowInvoke and JRSFlowInvoke with HP OO 9.x, note that
this is the alternative for HP OO 10.00.


I have been able to get it running standalone, but had to basically copy most of the central directory structure along with OOSH to satisfy the Java classpath it requires. WOuld be nice for HP to release a standalone OOSH package.





I think moving forward, HP is trying to advertise the REST API for interfacing with OO.


For example, in Ruby, this is how I would script calling a flow.


require 'httparty'
require 'nokogiri'
require 'json'
require 'pp'

class HPOO
  include HTTParty
  base_uri 'https://oo:8443/oo/rest/'
  basic_auth 'username', 'password'
  debug_output $stderr

    "uuid": "df3e8cb2-93a5-43aa-a9ec-6f1c00c8432b",
    "runName": "DS Test Run - From API",
    "inputs": {
        "host": "targethost",
        "getFilter": "",
        "overrideNRAS": "RAS_OPERATORS_MGMT"
output = HPOO.post('/executions', :body => json_string, :headers => {"Content-Type" => "application/json"})
puts output


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.