Create a folder (ex: SciGaP) in a preferable location in your local machine to clone the PHP samples from GitHub.
Open the created SciGaP folder (...../ cd SciGaP) and clone the files using GitHuB ‘HTTPS clone URL’ git clone https://git-wip-us.apache.org/repos/asf?p=airavata.git Once the cloning is completed you would get a completed message.
Open the folder which contains the PHP sample scripts. SciGaP → airavata/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples
client-samples folder contains PHP scripts to exercise currently existing Airavata API methods;
GetAPIVersion.php (a sanity check)
createProject.php
updateProject.php
getAllUserProjects.php
createExperiment.php
getExperiment.php
updateExperiment.php
cloneExperiment.php
getAllExperimentsInProject.php
getAllUserExperiments.php
search_experiments_by_name.php
search_experiments_by_description.php
search_experiments_by_application.php
launchExperiment.php
terminateExperiment.php
getExperimentStatus.php
getExperimentOutputs.php
registerComputeResource.php
getAllComputeResourceNames.php
getComputeResource.php
deleteComputeResource.php
registerApplicationModule.php
getAppModulegetApplicationModule.php
registerApplicationInterface.php
updateApplicationInterface.php
getAllApplicationInterfaceNames.php
deleteApplicationInterface.php
getAvailableAppInterfaceComputeResources.php
registerApplicationDeployment.php
getApplicationDeployedResources.php
getApplicationInputs.php
getApplicationOutputs.php
airavata-client-api-tester.php
Apart for the scripts for the API methods the folder contains;
getAiravataClient.php - This script is referred by all other scripts to obtain Airavata client. Not for stand alone execution.
README.txt - Gives an introduction to the scripts and also reference links to wiki pages with command line script execution information
Navigation to working directory; cd SciGaP/airavata/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/php-cli-samples
...
Gateway user can view a particular application module details using script;getAppModulegetApplicationModule.php