You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2023/02/10 03:28:24 UTC

[airavata-custos] branch baremetal updated: Add total number of groups

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 f326d5e6a Add total number of groups
     new b37029ce8 Merge pull request #358 from isururanawaka/baremetal
f326d5e6a is described below

commit f326d5e6aa929c977f4ca15213ff01b99c9fc5d4
Author: Isuru Ranawaka <ir...@gmail.com>
AuthorDate: Thu Feb 9 22:27:44 2023 -0500

    Add total number of groups
---
 .../java/org/apache/custos/scim/resource/manager/ResourceManager.java    | 1 +
 1 file changed, 1 insertion(+)

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 f5a6800bb..89c76ea7e 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
@@ -722,6 +722,7 @@ public class ResourceManager implements UserManager {
             List<org.apache.custos.user.profile.service.Group> groupsList = getAllGroupsResponse.getGroupsList();
 
             List<Object> groups = new ArrayList<>();
+            groups.add(groupsList.size());
 
             for (org.apache.custos.user.profile.service.Group group : groupsList) {
                 org.apache.custos.user.profile.service.GroupRequest groupRequest =