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 2017/12/15 16:43:11 UTC

[airavata] 11/20: Changed path of user profile cpi classes

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch registry-refactoring
in repository https://gitbox.apache.org/repos/asf/airavata.git

commit 108dcd4538c46be323ad64cbb8011bf21c0b5744
Author: Abhiit Karanjkar <ay...@indiana.edu>
AuthorDate: Tue Nov 8 17:13:47 2016 -0500

    Changed path of user profile cpi classes
    
    Merge conflicts: discarded all changes to generate-cpi-stubs.sh
---
 .../component-cpis/user-profile-crud-cpi.thrift         | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/thrift-interface-descriptions/component-cpis/user-profile-crud-cpi.thrift b/thrift-interface-descriptions/component-cpis/user-profile-crud-cpi.thrift
index 8cd9b0c..b3951d2 100644
--- a/thrift-interface-descriptions/component-cpis/user-profile-crud-cpi.thrift
+++ b/thrift-interface-descriptions/component-cpis/user-profile-crud-cpi.thrift
@@ -24,24 +24,35 @@
 */
 
 include "../data-models/user-group-models/user_profile_model.thrift"
+include "registry_api_errors.thrift"
 
 
 namespace java org.apache.airavata.userprofile.crude.cpi
 
-const string CS_CPI_VERSION = "0.16.0"
+const string USER_PROFILE_CPI_VERSION = "0.16.0"
 
 service UserProfileCrudeService {
 
   string addUserProfile (1: required user_profile_model.UserProfile userProfile)
                         throws (1:registry_api_errors.RegistryServiceException registryException);
 
-  string updateUserProfile (1: required user_profile_model.UserProfile userProfile)
+  bool updateUserProfile (1: required user_profile_model.UserProfile userProfile)
                           throws (1:registry_api_errors.RegistryServiceException registryException);
 
-  user_profile_model.UserProfile getUserProfile(1: required string userId)
+  user_profile_model.UserProfile getUserProfileById(1: required string userId, 2: required string gatewayId)
                                                 throws (1:registry_api_errors.RegistryServiceException registryException);
 
   bool deleteUserProfile(1: required string userId)
                                                   throws (1:registry_api_errors.RegistryServiceException registryException);
 
+  list<user_profile_model.UserProfile> getAllUserProfilesInGateway (1: required string gatewayId)
+                          throws (1:registry_api_errors.RegistryServiceException registryException);
+
+ user_profile_model.UserProfile getUserProfileByName(1: required string userName, 2: required string gatewayId)
+                                                throws (1:registry_api_errors.RegistryServiceException registryException);
+
+   bool doesUserExist(1: required string userName, 2: required string gatewayId)
+                                                   throws (1:registry_api_errors.RegistryServiceException registryException);
+
+
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@airavata.apache.org" <co...@airavata.apache.org>.