A very waited functionality, the VMware vRealize Orchestrator Plug-in for vRealize Automation has finally become available, with this new plug-in, you can create and execute vRealize Orchestrator workflows towards your vRealize Automation instance, furthermore you could use the Out-of-the-Box workflows that are provided with the Plug-in to start interacting with vRealize Automation resources.
The vRealize Automation plug-in will be preinstalled on the embedded vRealize Orchestrator bundled with your vRealize Automation 8.4 environment, however you will be able to easily install it in any vRealize Orchestrator version 8.3, Embedded or Stand-Alone, as well as with the vRealize Orchestrator shipped within the Cloud Extensibility Proxy.
You can Download the vRealize Automation Plug-in from the Market Place.
From this point you could manage vRealize Automation hosts by running the default workflows that come with the vRealize Automation plug-in and that are available under Library > Workflows then filtering with the vRealize_Automation_8.x_and_Cloud_Services tag in the workflow search box.
Now, if you look closely to the workflows presented above, you will notice that in this first delivery, the vRealize Automation plug-in provides the necessary workflows to manage your vRealize Automation hosts, e.g. Add vRA Cloud Host Workflow will allow me to add my vRealize Automation Cloud Org by selecting my vRAC Host URL (based on your local region) and providing the following input and my API Token:
Something very similar is accomplished with Add vRA Host with the main difference being that you need to provide your vRealize Automation URL and a service account credentials, if Shared Session mode is selected (By default whenever the plug-in is installed in an embedded vRealize Orchestrator/vRealize Automation, the vRealize Automation 8.X Endpoint is added automatically, you can then use the “vRA Update Host” workflow for any changes).
This new plug-in also provides support for generic REST operations on dynamically created hosts (such as the ones above), which makes it simple to invoke any vRealize Automation 8.3 API (Programming Guide).
The supported REST operations are:
|Get operation||Generic rest client support for HTTP GET operation.|
|Put operation||Generic rest client support for HTTP PUT operation.|
|Post operation||Generic rest client support for HTTP POST operation.|
|Patch operation||Generic rest client support for HTTP PATCH operation.|
|Delete operation||Generic rest client support for HTTP DELETE operation.|
Please note that I don’t need to provide the Authorization Header, in the REST call, this is because the authentication will be handled by the plug-in itself, since we have already ingested the endpoint in Realize Orchestrator‘s inventory, and whenever a new brand new request is initiated towards that vRealize Automation end point (as in this example), an Access Token will be fetched from the target endpoint. For any subsequent request, Access Token will be fetched from vRO caching support.
when finally process our deployment request, we could see the vRealize Automation Cloud response to it at the logs.
and the actual deployment complete
I could also query one of my vRealize Automation 8.3 Endpoints to discover current deployments with a REST Get operation:
which returns a couple of deployments discovered:
that we can confirm inspecting the vRealize Automation UI:
Of course, these are basic examples but this point you could build more complex workflows and logic out of these basic ones.
In fact, be aware that the updated Extensibility Migration Package Samples bundle with vRealize Automation 8.4 and referenced at the latest vRealize Automation 8.x Extensibility Migration Guide will rely on this new plug-in.
The vRealize Orchestrator Plug-in for vRealize Automation deepens the integration between vRealize Orchestrator and vRealize Automation, enabling Cloud admins to easily automate tasks in both vRealize Automation and vRealize Automation Cloud. By leveraging out-of-the-box workflows or creating custom workflows, Cloud and DevOps admins can simply execute tasks in vRealize Automation on a larger scale and in a faster manner. Moreover, the plug-in can help connect vRealize Automation to a rich third-party ecosystem, integrating vRealize Automation with external systems.