I am struggling to find a way to change the owner of a deployment (and all it's child items) using vRO.
To put this into context, I am using XaaS blueprints where the associated workflow makes a call to System.getModule("com.vmware.library.vcaccafe.request").requestCatalogItemWithProvisioningRequest to send a custom request to vRA. I am using a 'service helper' account that requests 'hidden' blueprints that only this account is entitled for.
I have tried setting the following Custom props on the request:
Cafe.Shim.VirtualMachine.AssignToUser
VirtualMachine.Admin.Owner
These fields apply as expected but the deployment and component resources are still owned by this service account and not the user that requested the XaaS blueprint.
I have used the RequestedFor field but this requires that the requestor also have an entitlement to the 'hidden' blueprints, which I do not want as users would see duplication in the service catalog.
Does anyone know if there is an API within vRO that I can use to achieve this or does it not exist for vRA 7?
Thanks,
Gavin