Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Problem with 6.0 versus 5.5 data response

$
0
0


I have encountered an issue with a response that we are receiving from a 6.0 system versus a 5.5 system and I haven't been able to get to the bottom of it.  The data being returned by our data adapter looks correct and contains all the fields.   With the 5.5 system the json response contains the correct key/value properties.  In the 6.0 response they are missing.


I isolated the rest calls to our data adapter and used the Advanced Rest Client to transmit them:


https://localhost:9443/vsphere-client/vcenterWebClient-ui/rest/data/properties/urn:vmomi:Datastore:datastore-50:FD6D989C-D170-4DC0-819F-86AF2259A767?properties=eseries.StorageSystem.fullInfo

 


The 5.5 response is:

 


{


eseries.StorageSystem.dsName: "81.23_DS01"


eseries.StorageSystem.hostGroup.0: "VMware_HG1"


eseries.StorageSystem.volumeStatus.0: "Optimal"


eseries.StorageSystem.currentController.0: "A"


eseries.StorageSystem.volumeName.0: "Demo_DS01"


eseries.StorageSystem.extentId.0: "60080E50001F63F000003FDA547C5C6F"


eseries.StorageSystem.hostName.0: "ESX_104"


eseries.StorageSystem.pathCount.0: "4/4/0"


eseries.StorageSystem.raidLevel.0: "Disk Pool"


eseries.StorageSystem.preferredController.0: "A"


eseries.StorageSystem.volumeType.0: "Volume"


id: "urn:vmomi:Datastore:datastore-50:FD6D989C-D170-4DC0-819F-86AF2259A767"


eseries.StorageSystem.volumeCapacity.0: "50GB"


eseries.StorageSystem.arrayName.0: "ictm-vasa5468-1"


eseries.StorageSystem.extentCount: "1"


eseries.StorageSystem.volumeLun.0: "1"


eseries.StorageSystem.volumeGroup.0: "Disk_Pool_1"


}


The 6.0 response is (the system is different thus a different datastore that our adapter was returning the data for).  


{


id: "urn:vmomi:Datastore:datastore-12:bcfd5614-c4f9-4e5c-9d15-ac754e33c2f8"


}


At the end of the getData() routine in our adapter it returns the com.vmware.vise.data.query.Response data structure.  There are two result items in the structure.


 


 


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>