HPE Software Products: Operations Orchestration
Share |

Rest Wizard with Swagger 2.0 JSON fileOpen in a New Window

Hi All

I've been attempting to build a set of operations for a tool (Avi Networks load balancer) that has API documentation in Swagger 2.0 format.  The load balancer itself has yaml files available for each API, and since it seems like the rest-wizard wants json format, I've converted them using the online tool at editor.swagger.io.

rest-wizard is giving an error of "Unable to locate resources" when trying to use the file.  In rest-wizard.log I'm only seeing a java.lang.NullPointerException.  I've attempted to modify the basePath in the json to include a full URL to the base api entry point, but that doens't seem to be making a difference.  I've also tried pointing rest-wizard directly to the yaml on the load balancer, but that gives the same "Unable to locate resources" message.  I've also built some calls directly in Studio to the API and don't have any problems with authentication, returning data, etc, but was hoping not to have to build all of the operations for this manually if possible.

Has anyone run in to something like this, or have an idea of what to check for? 

Thanks in advance for any help!

Thanks,
Mike

 

HPE OO 10.70 has been releasedOpen in a New Window

Hi All,

We are proud to announce that HPE OO 10.70 has been released!
HPE OO 10.70 is available for download here

What’s New

Central Enhancements
Rerun a flow from a specific step - Central provides the ability to rerun a flow from a specific step if the flow failed or was cancelled.
Network Consumption Enhancements – the number of network requests and the RAS-Central throughput have been reduced by implementing several changes
HPE OO is now compatible with CloudSlang version 1.0 - for details on the CloudSlang and how it is used to define workflows in OO, see the CloudSlang documentation here.

Data Persistence Enhancements
New functionality has been added in HPE OO to enable reducing the amount of data persisted in the database, thus decreasing the overall OO database use.
To implement this, you can define the persistence of a step in a flow to allow less data to be persisted in the OO database.

Note: both data persistence and rerun a flow from a specific step have introduced new capabilities on the Studio side.

Database Health Enhancements
Rerun Usage Information in Database Health Graph - if you have defined rerun points in a flow, you can now see the Rerun Usage information in the Database Health graph in Central.
Purge Rerun Info - the Database Health tab also displays information about how to schedule rerun data purging flows, in order to control the size of the database.

Auto-upgrade your 10.60 RASes to HPE OO 10.70
You can automatically upgrade your RASes from version 10.60 by using the Central UI and the ras-upgrade.zip file, which is available from the HPE OO installation package.

OOSH Enhancements
OOSH now uses latest Central REST API
OOSH is now able to trigger CloudSlang flows
OOSH is now available as a standalone version and no longer requires a full Central installation.
An option to trigger a flow synchronously has been added to OOSH.

OOSHA Enhancements
The OO Shell for Authoring (OOSHA) can now create content packs from CloudSlang projects.
OOSHA is now available as a standalone version and no longer requires a full Central installation.

Best regards,
Andrei Vasile Truta

 

Read from Excel File and execute DB UpdateOpen in a New Window

Hi Guys,

Wondering if I can get some assistance with creating a new job in HP OO v10?

I would like the job to read an excel file and execute an SQL based on the information from each row.

Basically, the excel file will include multiple distinct rows of First Name, Last Name, Employee Number.
I would like to convert the above into variables and run the SQL update for each row.

The SQL update will take the First Name, Last Name, Employee Number and place them into the variables assigned to them.

Currently we are manually entering First Name, Last Name, Employee Number for the DB component, but would be preferrable if we can loop through each row of the provided spreadsheet.

Hope that makes sense!

Thanks

 

REST wizard operation - problemsOpen in a New Window

Hello Practitioners!

I have been investigating how to use the REST API exposed by Redhat Cloudforms, and have not been having any luck at all in using the REST wizard provided. It seems that the CloudForms API is not Swagger nor RAML nor WADL, so is there a way to walk the API and create operations based on the APIs that are found via this wizard?


Thanks,

--Chris

 

HP OO flow working in studio but not working in centralOpen in a New Window

Hi,

 

I am beginner in HP OO.

I am using HP OO 10.60 community edition.

I am create a new flow using Eclipse (juno) and Maven (3.2.5) repository for taking a screenshot.

Now the flow is working in studio properly but in central it is not working properly. When I run the flow in central I received a black color image. If anyone came across with this issue I suggest you to provide the steps to rectify the following issue. I am waiting for your replies.

 

 Thank you.

 

HP OO copy file windows to windowsOpen in a New Window

Hi team,

 

I am not able to copy file using Remote sucre copy or FS copy between two windows servers. "I am getting connection refused error".  Using remote copy

protocol : scp,

port 22

Is thee any ports or service should be open for copying??

What is the best operation for copying file and required parameters?

How can we execute VB scripts?

 Below is the error.

==============

{exception=com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect
at com.jcraft.jsch.Util.createSocket(Util.java:349)
at com.jcraft.jsch.Session.connect(Session.java:215)
at com.jcraft.jsch.Session.connect(Session.java:183)
at com.iconclude.dharma.commons.security.ssh.DefaultSSHSessionCreator.createSession(DefaultSSHSessionCreator.java:75)
at com.iconclude.dharma.commons.security.ssh.SSHOperation.exec(SSHOperation.java:71)
at com.opsware.pas.content.commons.remoteCopy.ScpCopier.getFile(ScpCopier.java:49)
at com.opsware.pas.content.commons.remoteCopy.ScpCopier.getFile(ScpCopier.java:64)
at com.opsware.pas.content.commons.remoteCopy.SimpleCopier.copyTo(SimpleCopier.java:45)
at com.iconclude.content.actions.Remote.RemoteCopyAction.execute(RemoteCopyAction.java:193)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.hp.oo.sdk.plugins.abstracts.BaseActionPlugin.execute(BaseActionPlugin.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.hp.oo.maven.PluginAdapterImpl.executePlugin(PluginAdapterImpl.java:328)
at com.hp.oo.maven.PluginAdapterImpl.execute(PluginAdapterImpl.java:248)
at com.hp.oo.execution.control.actions.contentexecution.ContentExecutionActions.executeContentAction(ContentExecutionActions.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:326)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:167)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:120)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at com.jcraft.jsch.Util.createSocket(Util.java:343)
... 35 more
;returnCode=-1;returnResult=java.net.ConnectException: Connection refused: connect;sessionId=;Result=java.net.ConnectException: Connection refused: connect;}

 

Regards,

Uday

 

Flow to have SCCM deploy packageOpen in a New Window

Hello!  I am struggling with trying to create a flow to deploy a package in SCCM 2012.  I have OO 10.60 and the IT Operations 1.3.0 CP so I have the flow steps for SCCM.  I can create a static collection and add a server to it (Create Static Collection), create an advertisement (Create Advertisement), but what do I need to do after that to get the package to deploy?  After running the flow I have a collection with a server but it just sits there and never deploys the package.  I have an Update Advertisement step and a Request Refresh Collection, but they are not doing anything that I can see.

 

Can anyone tell me what I am missing?

 

Bob

 

Flow Variable Filters Not ApplyingOpen in a New Window

I've been working with HPOO for sometime so I have pretty good hands on knowledge of how to use filters with results. I'm having an issue where filters I have applied to operation results are not working. In studio they test correctly in the inspector, but when I run the flow in studio or Central, its like they are not even there.

 

Web Services Wizard does not create Operations from WSDLOpen in a New Window

Hello.

I am trying to create operations for use with BMC Remedy. Our Remedy team provided us with the URL for the WSDL file, which I input in the ws-wizard.bat executable. It sees the operation (it's just one), but does not generate the HP OO Operations for it, giving the error dialog:

"All the flows were already present in the repository. No new flow was created."

However, in the folder of the Project that I created with the wizard, there are no flows, even in under Library\Wizards\Web Services Wizard. In fact under that folder there is only a file named "ERI" with 0 byes.

Has anyone encountered this issue before? How did you resolve this?

 

RAS Concenpt Question 10.xOpen in a New Window

Given a remote RAS server deployed in a network segment that is firewalled from it's central, what ports must be opened to/from the RAS and Central Server? Once those basic ports are opened, assuming the remote RAS has full connectivty to everything in its network, how does the request to run a flow end up running on the correct RAS?

 

OO 10.51 & KVMOpen in a New Window

Anybody using OO to write workflows KVM? I am getting a Could not initialize class org.libvirt.Connect and I can't find any information concerning additional libraries or installation procedures. The docs for the CP say libvirt 0.87 and apt (Ubuntu 14) and yum (CentOS7) install 1.2.x

 

 

Failed to execute content action: com.hp.oo:oo-dotnet-web-actions-plugin:1.9.1 -> dotNETWebActions_LOpen in a New Window

Dears,

I am trying one of Active Directory Operations from OO Central / DCAA, that OO comes embedded with Data Center Automation Appliance "DCAA" it gives me that error. DCAA is Linux Customized appliance from HPE

Failed to execute content action: com.hp.oo:oo-dotnet-web-actions-plugin:1.9.1 -> dotNETWebActions_LDAP.ADGetComputerAccountOUReason: Action execution failed! reason: net.sf.jni4net.inj.INJException: Can't initialize jni4net Bridge

What might be causing that issue!!

 

 

email alert in HPOOOpen in a New Window

Hi all, i'm a HPOO beginner so, Please can someone help me in my flow!
I would like to create a flow that sends me an email alert if one of my servers is down;

My flow works perfectly but My mailbox is filled with the same alert (until the server is UP).  

how can i do to recieve only one alert if the sever X is down without breaking the ping process.
Thank you
RB

 

Error encountered : "The operation completed successfully. (Exception from HRESULT: 0x80070000)"Open in a New Window

Hi

In HPOO studio, i am encountering an error while using

operation :

"Restart Windows [Operation]"

located under base content path:

 /Base [1.8.0]/Library/Operations/Operating Systems/Windows/Restart Windows

Below is the raw result in the step result inspector of "Restart Windows [Operation]" step

{exception=System.Runtime.InteropServices.COMException (0x80070000): The operation completed successfully. (Exception from HRESULT: 0x80070000)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at dotNETWebActions_Windows.RestartWindows.Execute(ActionRequest req, ISession s, IActionRegistry reg);returnCode=1;returnResult=The operation completed successfully. (Exception from HRESULT: 0x80070000);sessionId=new session;isSessionOn=False;Result=The operation completed successfully. (Exception from HRESULT: 0x80070000);}

Can any one please help me in this regard?

Thanks in advance

 

 

WSDL does not work as a OO operation Invoke Method 2Open in a New Window

Note that the same WSDL run from SoapUI works fine, as well as the twister getAuditResult with the same parameters.


{getAuditResultReturn=<?xml version="1.0" encoding="UTF-8"?><Envelope>
<Body>
<Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>Found character data inside an array element while deserializing</faultstring>
<detail/>
</Fault>
</Body>
</Envelope>;responseHeaders=;document=<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>Found character data inside an array element while deserializing</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>;documentStripped=<?xml version="1.0" encoding="UTF-8"?><Envelope>
<Body>
<Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>Found character data inside an array element while deserializing</faultstring>
<detail/>
</Fault>
</Body>
</Envelope>;}

 

 

OO in cluster mode - how to configure LoadBalancerOpen in a New Window

Hello

I want to configure OO in cluster mode.

I will use a LoadBalancer to redirect users and requests from OMi  between the two central servers. 

For the loadbalancer configuration I need to define the KeepAlive URL. What is the KeepAlive URL for OO ? is it http://<server_name>/oo ?

 

thanks 

regards

Vincent

 

 

OO 10.10 DB Maintenance Scripts?Open in a New Window

Hello,

We have HP OO version 10.10 on Oracle.

Looks like the OO 10.10 DB Maintenance Scripts that where in HPE Live Network have been removed, anyone know where I can download it now?

Thanks

 

How i can genearate Flow execution log for each steps ?Open in a New Window

Actually i want to log each and avery flow step and its result to text file.

 

Create Downtime Management in OMi using OO..Open in a New Window

Hi Team,

I am trying to create downtime management in OMi using OO. I am using a REST call from OO to do that.

It works fine if I gave the CI ID parameter as static value in the REST body.

But if I pass as a variable as ${ciId}, it creates a downtime management but there is no CI associated to it.

Variables are passing properly without any issues.

Any suggestions...?

 

Thanks,

Soundarajan.

 

How to control which RAS to use in OO 10.60?Open in a New Window

In my current OO 9.07, I use to copy the step and change the RAS settings to point it to Linux or Windows... I am wondering how I can do that in OO 10.60 Thanks in advance :)

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: info@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Hewlett Packard
Enterprise User
Community through
Advocacy, Community,
and Education.