Add generation of PHP Profile Service stubs to script
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/3f404315 Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/3f404315 Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/3f404315 Branch: refs/heads/registry-refactoring Commit: 3f404315179fb61591123d6f133f4db5d157a876 Parents: 0710b1c Author: Marcus Christie <[email protected]> Authored: Thu May 4 14:43:26 2017 -0400 Committer: Marcus Christie <[email protected]> Committed: Thu May 4 14:43:26 2017 -0400 ---------------------------------------------------------------------- thrift-interface-descriptions/generate-thrift-stubs.sh | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/3f404315/thrift-interface-descriptions/generate-thrift-stubs.sh ---------------------------------------------------------------------- diff --git a/thrift-interface-descriptions/generate-thrift-stubs.sh b/thrift-interface-descriptions/generate-thrift-stubs.sh index fe968f0..d78d9d5 100755 --- a/thrift-interface-descriptions/generate-thrift-stubs.sh +++ b/thrift-interface-descriptions/generate-thrift-stubs.sh @@ -73,6 +73,7 @@ DATAMODEL_THRIFT_FILE='data-models/airavata_data_models.thrift' APP_CATALOG_THRIFT_FILE='data-models/app-catalog-models/app_catalog_models.thrift' RESOURCE_CATALOG_THRIFT_FILE='data-models/resource-catalog-models/resource_catalog_models.thrift' WORKFLOW_THRIFT_FILE='data-models/workflow-models/workflow_data_model.thrift' +PROFILE_SERVICE_THRIFT_FILE='service-cpis/profile-service/profile-service-cpi.thrift' DATAMODEL_SRC_DIR='../airavata-api/airavata-data-models/src/main/java' JAVA_API_SDK_DIR='../airavata-api/airavata-api-stubs/src/main/java' @@ -220,6 +221,7 @@ generate_php_stubs() { $THRIFT_EXEC ${THRIFT_ARGS} --gen php:autoload ${APP_CATALOG_THRIFT_FILE} || fail unable to generate PHP thrift classes $THRIFT_EXEC ${THRIFT_ARGS} --gen php:autoload ${RESOURCE_CATALOG_THRIFT_FILE} || fail unable to generate PHP thrift classes $THRIFT_EXEC ${THRIFT_ARGS} --gen php:autoload ${AIRAVATA_API_THRIFT_FILE} || fail unable to generate PHP thrift classes + $THRIFT_EXEC ${THRIFT_ARGS} --gen php:autoload ${PROFILE_SERVICE_THRIFT_FILE} || fail unable to generate PHP thrift classes # For the generated java classes add the ASF V2 License header ## TODO Write PHP license parser
