kunalkhairnar
Enthusiast
Enthusiast

vRO Java REST SDK example code

Jump to solution

As mentioned in the vRO documentation - Developing a Web Services Client for VMware vRealize Orchestrator - PDF

I am trying to get hold of the vRO Java REST SDK example code

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client/

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client-examples/

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client-services/

https://orchestrator_host:port/vco-repo/com/vmware/o11n/o11n-rest-client-stubs/

On the vRO 7.2.0 appliance, there are .jar files in the o11n-rest-client-examples. unable to locate the source. Am I doing something wrong?

Also checked on the VMware Sample Exchange All Samples - Samples - VMware {code} that has a handful of vRO example codes. However, not much using vRO Java REST SDK.

1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee

Hi,

There are no source jar files shipped as part of the Maven repository hosted in vRO appliance. Perhaps we should add some, eg. for examples.

For now, you can just use some of the many available Java decompilers to disassemble .class files in the example jar to .java code.

View solution in original post

2 Replies
iiliev
VMware Employee
VMware Employee

Hi,

There are no source jar files shipped as part of the Maven repository hosted in vRO appliance. Perhaps we should add some, eg. for examples.

For now, you can just use some of the many available Java decompilers to disassemble .class files in the example jar to .java code.

View solution in original post

kunalkhairnar
Enthusiast
Enthusiast

Thanks Ilian for the clarification and confirming!

It is a bit different than the other VMware SDK such as vSphere Management SDK for vSphere 6.5 that contains a rich set of examples source code.

0 Kudos