ACS-5506 Add temporary logging

This commit is contained in:
MichalKinas
2024-02-06 20:36:42 +01:00
parent cfc0916c84
commit c537166f68
4 changed files with 5 additions and 3 deletions

View File

@@ -136,6 +136,7 @@ public class GroupsImpl implements Groups
public Group create(Group group, Parameters parameters)
{
System.out.println("Create from impl called");
validateGroup(group, false);
// Create authority with default zones.
@@ -151,7 +152,7 @@ public class GroupsImpl implements Groups
{
props.put(ContentModel.PROP_DESCRIPTION, group.getDescription());
}
System.out.println("Before authority created");
String authority = authorityService.createAuthority(AuthorityType.GROUP, group.getId(), authorityDisplayName, authorityZones, props);
// Set a given child authority to be included by the given parent

View File

@@ -1426,6 +1426,7 @@ public class GroupsTest extends AbstractSingleNetworkSiteTest
Group group = generateGroup();
group.setDescription("testDesc");
System.out.println("" + otherParams);
Group createdGroup01 = groupsProxy.createGroup(group, otherParams, HttpServletResponse.SC_CREATED);
assertNotNull(createdGroup01);

View File

@@ -112,7 +112,7 @@ public class Group extends org.alfresco.rest.api.model.Group implements Serializ
Boolean hasSubgroups = (Boolean) jsonObject.get("hasSubgroups");
List<String> parentIds = (List<String>) jsonObject.get("parentIds");
List<String> zones = (List<String>) jsonObject.get("zones");
System.out.println("Parse group: " + description + " " + displayName);
Group group = new Group();
group.setId(id);
group.setDisplayName(displayName);