VMware Cloud Community
HariRajan
Hot Shot
Hot Shot
Jump to solution

Publishing XaaS workflow in VRA 7

Hello Team ,

I have created a VRO workflow and this workflow create a file-share in the file-server , user will get option to enter the desired name of the file-share and VRO validate that and create it.

This all working fine but my problem is related to publishing this in to VRA as a XaaS item and getting this Folder as an "Item" in the  "ITEMS" tab. ,  just keep in mind that one user may have created multiple shares as such.

Creating a  custom resource from VRA is not allowing as there is no related object reference to publish a folder ,  can you please let me know how i can map this folder to a custom resource , then i can map my workflow to the said custom resource and create resource actions.

In order to fix the above said issue , i just created  this file-server  VM as an output for the workflow and it return this VM as VC:Virtualmachine  type and using this property I'm able to do the resource mapping , the thought process for this decision is , file share is a guest operation  which runs on top of the host vm  , so I am ok to show the host VM as an item in the ITEM tab ,  I also need to do several actions such as delete file share / remove access  ,  I have triggered the first request from VRA and the file share server registered in ITEM tab but , the second request is not getting registered in the ITEM tab as the VM name (file server name ) is same.(duplicate entry)

can you please suggest a different logic or solution for this issue.

Thanks & Regards in Plenteous . Hari Rajan
0 Kudos
1 Solution

Accepted Solutions
Burke-
VMware Employee
VMware Employee
Jump to solution

If you want to have vRA provisioned XaaS stuff show up in the Items tab, you must have a vRO inventory object that gets produced. There are a couple of ways to do this:

  • Build a Java based plug-in that using the vRO Plug-in SDK
  • Create a DynamicTypes plug-in

The easier of the two would be using the Dynamic Types plug-in. There are a couple examples of this in the Orchestrator Community, under the Documents tab. Typically, people build plug-ins that access an API, but as shown in my Dynamic Types DB Plug-in Generator Package , Dynamic Types inventories can be built for anything as long as you have some method of providing creating, listing, and deleting a unique object - whether that is a database record, DNS name, file path, etc...

In short, the Dynamic Types plug-in allows you to build plug-in inventory using workflows and actions instead of needing to know Java to build a native plug-in.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter

View solution in original post

0 Kudos
1 Reply
Burke-
VMware Employee
VMware Employee
Jump to solution

If you want to have vRA provisioned XaaS stuff show up in the Items tab, you must have a vRO inventory object that gets produced. There are a couple of ways to do this:

  • Build a Java based plug-in that using the vRO Plug-in SDK
  • Create a DynamicTypes plug-in

The easier of the two would be using the Dynamic Types plug-in. There are a couple examples of this in the Orchestrator Community, under the Documents tab. Typically, people build plug-ins that access an API, but as shown in my Dynamic Types DB Plug-in Generator Package , Dynamic Types inventories can be built for anything as long as you have some method of providing creating, listing, and deleting a unique object - whether that is a database record, DNS name, file path, etc...

In short, the Dynamic Types plug-in allows you to build plug-in inventory using workflows and actions instead of needing to know Java to build a native plug-in.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you!

Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator
for vRealize Orchestrator tips and tutorials - @TechnicalValues on Twitter
0 Kudos