You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/01/18 16:32:41 UTC
[airavata] 01/02: AIRAVATA-2645 Add profile services to Python
thrift stubs
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 766cbd82cdb9362944778957f6f095a474605c42
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Jan 18 11:30:37 2018 -0500
AIRAVATA-2645 Add profile services to Python thrift stubs
---
thrift-interface-descriptions/generate-thrift-stubs.sh | 2 ++
.../service-cpis/profile-service/group-manager/group-manager-cpi.thrift | 1 +
.../profile-service/group-manager/group_manager_cpi_errors.thrift | 1 +
.../profile-service/iam-admin-services/iam-admin-services-cpi.thrift | 1 +
.../iam-admin-services/iam_admin_services_cpi_errors.thrift | 1 +
.../profile-service/profile-tenant/profile-tenant-cpi.thrift | 1 +
.../profile-service/profile-tenant/profile_tenant_cpi_errors.thrift | 1 +
.../service-cpis/profile-service/profile-user/profile-user-cpi.thrift | 1 +
.../profile-service/profile-user/profile_user_cpi_errors.thrift | 1 +
9 files changed, 10 insertions(+)
diff --git a/thrift-interface-descriptions/generate-thrift-stubs.sh b/thrift-interface-descriptions/generate-thrift-stubs.sh
index c3ec132..54ce13e 100755
--- a/thrift-interface-descriptions/generate-thrift-stubs.sh
+++ b/thrift-interface-descriptions/generate-thrift-stubs.sh
@@ -291,6 +291,8 @@ generate_python_stubs() {
$THRIFT_EXEC ${THRIFT_ARGS} --gen py ${SHARING_API_THRIFT_FILE} || fail unable to generate Python thrift classes
+ $THRIFT_EXEC ${THRIFT_ARGS} --gen py ${PROFILE_SERVICE_THRIFT_FILE} || fail unable to generate Python thrift classes
+
# For the generated CPP classes add the ASF V2 License header
#add_license_header #PYTHON_GEN_DIR
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group-manager-cpi.thrift b/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group-manager-cpi.thrift
index b8b304c..5455ded 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group-manager-cpi.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group-manager-cpi.thrift
@@ -30,6 +30,7 @@ include "group_manager_cpi_errors.thrift"
namespace java org.apache.airavata.service.profile.groupmanager.cpi
namespace php Airavata.Service.Profile.Groupmanager.CPI
+namespace py airavata.service.profile.groupmanager.cpi
const string GROUP_MANAGER_CPI_VERSION = "0.17"
const string GROUP_MANAGER_CPI_NAME = "GroupManagerService"
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group_manager_cpi_errors.thrift b/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group_manager_cpi_errors.thrift
index ff67622..538eca7 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group_manager_cpi_errors.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/group-manager/group_manager_cpi_errors.thrift
@@ -26,6 +26,7 @@
namespace java org.apache.airavata.service.profile.groupmanager.cpi.exception
namespace php Airavata.Service.Profile.Groupmanager.CPI.Error
+namespace py airavata.service.profile.groupmanager.cpi.error
exception GroupManagerServiceException {
1: required string message
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
index d75847a..f1659d2 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
@@ -32,6 +32,7 @@ include "iam_admin_services_cpi_errors.thrift"
namespace java org.apache.airavata.service.profile.iam.admin.services.cpi
namespace php Airavata.Service.Iam.Admin.Services.CPI
+namespace py airavata.service.profile.iam.admin.services.cpi
const string IAM_ADMIN_SERVICES_CPI_VERSION = "0.17"
const string IAM_ADMIN_SERVICES_CPI_NAME = "IamAdminServices"
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam_admin_services_cpi_errors.thrift b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam_admin_services_cpi_errors.thrift
index e64f596c..f59553c 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam_admin_services_cpi_errors.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam_admin_services_cpi_errors.thrift
@@ -26,6 +26,7 @@
namespace java org.apache.airavata.service.profile.iam.admin.services.cpi.exception
namespace php Airavata.Service.Iam.Admin.Services.CPI.Error
+namespace py airavata.service.profile.iam.admin.services.cpi.error
exception IamAdminServicesException {
1: required string message
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile-tenant-cpi.thrift b/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile-tenant-cpi.thrift
index b328e8b..c7e457d 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile-tenant-cpi.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile-tenant-cpi.thrift
@@ -30,6 +30,7 @@ include "profile_tenant_cpi_errors.thrift"
namespace java org.apache.airavata.service.profile.tenant.cpi
namespace php Airavata.Service.Profile.Tenant.CPI
+namespace py airavata.service.profile.tenant.cpi
const string TENANT_PROFILE_CPI_VERSION = "0.17"
const string TENANT_PROFILE_CPI_NAME = "TenantProfileService"
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile_tenant_cpi_errors.thrift b/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile_tenant_cpi_errors.thrift
index 5c75b69..0714962 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile_tenant_cpi_errors.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/profile-tenant/profile_tenant_cpi_errors.thrift
@@ -26,6 +26,7 @@
namespace java org.apache.airavata.service.profile.tenant.cpi.exception
namespace php Airavata.Service.Profile.Tenant.CPI.Error
+namespace py airavata.service.profile.tenant.cpi.error
exception TenantProfileServiceException {
1: required string message
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile-user-cpi.thrift b/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile-user-cpi.thrift
index e9cf94a..b5dbb49 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile-user-cpi.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile-user-cpi.thrift
@@ -31,6 +31,7 @@ include "profile_user_cpi_errors.thrift"
namespace java org.apache.airavata.service.profile.user.cpi
namespace php Airavata.Service.Profile.User.CPI
+namespace py airavata.service.profile.user.cpi
const string USER_PROFILE_CPI_VERSION = "0.17"
const string USER_PROFILE_CPI_NAME = "UserProfileService"
diff --git a/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile_user_cpi_errors.thrift b/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile_user_cpi_errors.thrift
index 049144c..317a81d 100644
--- a/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile_user_cpi_errors.thrift
+++ b/thrift-interface-descriptions/service-cpis/profile-service/profile-user/profile_user_cpi_errors.thrift
@@ -26,6 +26,7 @@
namespace java org.apache.airavata.service.profile.user.cpi.exception
namespace php Airavata.Service.Profile.User.CPI.Error
+namespace py airavata.service.profile.user.cpi.error
exception UserProfileServiceException {
1: required string message
--
To stop receiving notification emails like this one, please contact
"commits@airavata.apache.org" <co...@airavata.apache.org>.