I am having trouble writing a VCL query to get all vApps in a VCD infrastructure, and am hitting a roadblock. I cant seem to return any results. My code is below, and I think it is correct....
Any help would be appreciated.
My workflow is returning vApps also, however when I output them to an Array of vCloud:vAPP, the array contains multiple elements which display "NOT FOUND" as the value. It looks to me like the href being returned doesnt match any object of type vcloud:vApp and therefore VCO cannot find it.
Below is my output I cant post the log on a public forum as it contains confidential information. however the log does return the correct name of each vapp in VCD.
And here is mine.
As you can see everything is fine.
You can log the string representation of a notFound object by using its originalStringRepresentation property. From there you can check the URL (alternatively you can log the href of the records).
What I suspect is that you may have configured differently the vCD plug-in url and the vCD public API URL. Please check.
Christophe.
My URL's were mismatched between VCD and VCO. Thank you!!!