You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Abhishek Kapoor <ab...@gmail.com> on 2015/06/20 07:45:18 UTC

registerGateWayProfile - suggestion

Hey All,
I tried to use api function
$airavataclient->getGatewayResourceProfile($gatewayId)
to get computeResource , but if there is no gateway resource profile
registered for this gateway, it will throw an error and there is not direct
method to check if gateway Resource Profile exist.
For now I am using
$client->getAllGatewayComputeResources(); to get all the compute resources
and checking if there is matching gatewayId.
---
Regards,
*Abhishek Kapoor*
*Under Graduate Student*
*Indian Institute of Technology Kharagpur.*