n1cvirtu
Contributor
Contributor

Observation of REST API communication within vRO Appliance 8.1

Hi everybody,

 

My current challenge is to link a Django Fobi form to a vRO Workflow. The Form gathers the variable input from the user and hands it over to REST API of vRO as input - which deploys virtual machines in a connected VCenter and triggers interfaces for sub-tasks, like DNS alias creation and DHCP reservations.

vRO version is 8.1 and the VC plugin is up to date.

Unfortunately, I am not able to trigger the workflow via a REST POST command through the form accordingly.

It is a freaking black box for me - didn't find any hints in the logs so far.

The developer already made the changes to the form regarding my guideline I created from the successful ARC test.

To simulate the handover of the variables - I used the Advanced Rest Client (ARC) like in screenshots. This test works and deploys the VM according to the specifications.

ARC Test POSTARC Test POSTARC Test JSONARC Test JSON

This is how the form looks like - don't have the "below the surface" knowledge this could be gathered via the responsible developer:

He hard-coded the structure like in ARC - not visible in screenshots.

n1cvirtu_0-1606897258297.png

n1cvirtu_1-1606897348307.png

 

 

 

So, my questions is, where can I see what information arrives from the form-server at vRO, error messages? This info should be useful for the developer.

Didn't find anything in the official documentation for vRO 8.X.

 

Any other suggestions are welcome as well :).

Thanks in advance.

Best regards,
Nicolas Frey
0 Kudos
0 Replies