airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anujb...@apache.org
Subject [09/23] airavata git commit: generating thrift classes for is-admin-services
Date Tue, 02 May 2017 16:49:24 GMT
http://git-wip-us.apache.org/repos/asf/airavata/blob/21900911/thrift-interface-descriptions/service-cpis/profile-service/iam-admin-services/iam-admin-services-cpi.thrift
----------------------------------------------------------------------
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 ee00165..e369ab1 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
@@ -26,6 +26,7 @@
 include "../../../airavata-apis/airavata_errors.thrift"
 include "../../../airavata-apis/security_model.thrift"
 include "../../../data-models/experiment-catalog-models/workspace_model.thrift"
+include "../../../data-models/user-group-models/user_profile_model.thrift"
 include "iam_admin_services_cpi_errors.thrift"
 
 namespace java org.apache.airavata.service.profile.iam.admin.services.cpi
@@ -44,4 +45,14 @@ service IamAdminServices {
                     throws (1: iam_admin_services_cpi_errors.IamAdminServicesException Idse,
                             2: airavata_errors.AuthorizationException ae)
 
+    bool registerUser(1: required security_model.AuthzToken authzToken,
+                        2: required user_profile_model.UserProfile userDetails)
+                        throws (1: iam_admin_services_cpi_errors.IamAdminServicesException
Idse,
+                                                    2: airavata_errors.AuthorizationException
ae)
+
+    bool enableUser(1: required security_model.AuthzToken authzToken,
+                            2: required user_profile_model.UserProfile userDetails)
+                            throws (1: iam_admin_services_cpi_errors.IamAdminServicesException
Idse,
+                                                        2: airavata_errors.AuthorizationException
ae)
+
 }
\ No newline at end of file


Mime
View raw message