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

isjarana pushed a commit to branch baremetal
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git


The following commit(s) were added to refs/heads/baremetal by this push:
     new 9430f278b change user location to  in groups
     new e0d7762db Merge pull request #362 from isururanawaka/baremetal
9430f278b is described below

commit 9430f278bc5508fc1a5a07f95dd04987ee6cebc7
Author: Isuru Ranawaka <[email protected]>
AuthorDate: Fri Feb 10 08:55:14 2023 -0500

    change user location to  in groups
---
 .../java/org/apache/custos/scim/resource/manager/ResourceManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
 
b/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
index d4f36d142..ce0439bdf 100644
--- 
a/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
+++ 
b/custos-services/custos-integration-services/scim-service/src/main/java/org/apache/custos/scim/resource/manager/ResourceManager.java
@@ -907,7 +907,7 @@ public class ResourceManager implements UserManager {
             user.put("value", userProfile.getUsername());
             String userLoc = 
AbstractResourceManager.getResourceEndpointURL(SCIMConstants.USER_ENDPOINT)
                     + userProfile.getUsername();
-            user.put("location", userLoc);
+            user.put("$ref", userLoc);
             user.put("display", userProfile.getFirstName());
             userArr.put(user);
         }

Reply via email to