mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-5506 Add temporary logging
This commit is contained in:
@@ -136,6 +136,7 @@ public class GroupsImpl implements Groups
|
|||||||
|
|
||||||
public Group create(Group group, Parameters parameters)
|
public Group create(Group group, Parameters parameters)
|
||||||
{
|
{
|
||||||
|
System.out.println("Create from impl called");
|
||||||
validateGroup(group, false);
|
validateGroup(group, false);
|
||||||
|
|
||||||
// Create authority with default zones.
|
// Create authority with default zones.
|
||||||
@@ -151,7 +152,7 @@ public class GroupsImpl implements Groups
|
|||||||
{
|
{
|
||||||
props.put(ContentModel.PROP_DESCRIPTION, group.getDescription());
|
props.put(ContentModel.PROP_DESCRIPTION, group.getDescription());
|
||||||
}
|
}
|
||||||
|
System.out.println("Before authority created");
|
||||||
String authority = authorityService.createAuthority(AuthorityType.GROUP, group.getId(), authorityDisplayName, authorityZones, props);
|
String authority = authorityService.createAuthority(AuthorityType.GROUP, group.getId(), authorityDisplayName, authorityZones, props);
|
||||||
|
|
||||||
// Set a given child authority to be included by the given parent
|
// Set a given child authority to be included by the given parent
|
||||||
|
@@ -1426,6 +1426,7 @@ public class GroupsTest extends AbstractSingleNetworkSiteTest
|
|||||||
Group group = generateGroup();
|
Group group = generateGroup();
|
||||||
group.setDescription("testDesc");
|
group.setDescription("testDesc");
|
||||||
|
|
||||||
|
System.out.println("" + otherParams);
|
||||||
Group createdGroup01 = groupsProxy.createGroup(group, otherParams, HttpServletResponse.SC_CREATED);
|
Group createdGroup01 = groupsProxy.createGroup(group, otherParams, HttpServletResponse.SC_CREATED);
|
||||||
|
|
||||||
assertNotNull(createdGroup01);
|
assertNotNull(createdGroup01);
|
||||||
|
@@ -112,7 +112,7 @@ public class Group extends org.alfresco.rest.api.model.Group implements Serializ
|
|||||||
Boolean hasSubgroups = (Boolean) jsonObject.get("hasSubgroups");
|
Boolean hasSubgroups = (Boolean) jsonObject.get("hasSubgroups");
|
||||||
List<String> parentIds = (List<String>) jsonObject.get("parentIds");
|
List<String> parentIds = (List<String>) jsonObject.get("parentIds");
|
||||||
List<String> zones = (List<String>) jsonObject.get("zones");
|
List<String> zones = (List<String>) jsonObject.get("zones");
|
||||||
|
System.out.println("Parse group: " + description + " " + displayName);
|
||||||
Group group = new Group();
|
Group group = new Group();
|
||||||
group.setId(id);
|
group.setId(id);
|
||||||
group.setDisplayName(displayName);
|
group.setDisplayName(displayName);
|
||||||
|
@@ -668,7 +668,7 @@ public class AuthorityServiceImpl implements AuthorityService, InitializingBean
|
|||||||
{
|
{
|
||||||
checkTypeIsMutable(type);
|
checkTypeIsMutable(type);
|
||||||
String name = getName(type, shortName);
|
String name = getName(type, shortName);
|
||||||
|
System.out.println("Before authority DAO created");
|
||||||
authorityDAO.createAuthority(name, authorityDisplayName, authorityZones, properties);
|
authorityDAO.createAuthority(name, authorityDisplayName, authorityZones, properties);
|
||||||
|
|
||||||
return name;
|
return name;
|
||||||
|
Reference in New Issue
Block a user