|
|
|
@ -460,8 +460,6 @@ public class GroupManagementServiceImpl implements GroupManagementService {
|
|
|
|
|
log.info(groups.getUserRoles());
|
|
|
|
|
|
|
|
|
|
DeviceGroup group = DeviceMgtAPIUtils.getGroupManagementProviderService().getGroup(groups.getName(), owner.isEmpty());
|
|
|
|
|
// System.out.println(group.getGroupId());
|
|
|
|
|
// log.info(groups.getGroupId()); remove these things
|
|
|
|
|
if (group != null) {
|
|
|
|
|
DeviceMgtAPIUtils.getGroupManagementProviderService().manageGroupSharing(group.getGroupId(), groups.getUserRoles());
|
|
|
|
|
return Response.status(Response.Status.CREATED).entity(group.getGroupId()).build();
|
|
|
|
|