From: Aron Roberts Date: Wed, 28 Nov 2012 23:29:49 +0000 (-0800) Subject: CSPACE-5733: Emit authority records from servicegroups queries. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=edf3d08cdc9d0d49d013b6f7c197f68d9f7972ba;p=tmp%2Fjakarta-migration.git CSPACE-5733: Emit authority records from servicegroups queries. --- diff --git a/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml index 079579635..2d59ce237 100644 --- a/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml +++ b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto.xml @@ -1577,6 +1577,16 @@ + + + objectNameProperty + displayName + + + objectNumberProperty + shortIdentifier + + diff --git a/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/ServiceGroupResource.java b/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/ServiceGroupResource.java index 8caa93dce..14cf99225 100644 --- a/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/ServiceGroupResource.java +++ b/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/ServiceGroupResource.java @@ -173,7 +173,7 @@ public class ServiceGroupResource extends AbstractCollectionSpaceResourceImpl { // We need to get all the procedures, authorities, and objects. ArrayList groupsList = null; if("common".equalsIgnoreCase(groupname)) { - groupsList = ServiceBindingUtils.getCommonServiceTypes(EXCLUDE_AUTHORITIES); // CSPACE-5359: Excluding Authority type to stay backward compat with v2.4 + groupsList = ServiceBindingUtils.getCommonServiceTypes(INCLUDE_AUTHORITIES); } else { groupsList = new ArrayList(); groupsList.add(groupname); @@ -227,7 +227,7 @@ public class ServiceGroupResource extends AbstractCollectionSpaceResourceImpl { createDocumentHandler(ctx); ArrayList groupsList = null; if("common".equalsIgnoreCase(serviceGroupName)) { - groupsList = ServiceBindingUtils.getCommonServiceTypes(EXCLUDE_AUTHORITIES); //CSPACE-5359: Exclude authorities to remain backward compat with v2.4 + groupsList = ServiceBindingUtils.getCommonServiceTypes(INCLUDE_AUTHORITIES); } else { groupsList = new ArrayList(); groupsList.add(serviceGroupName);