From edf3d08cdc9d0d49d013b6f7c197f68d9f7972ba Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 28 Nov 2012 15:29:49 -0800 Subject: [PATCH] CSPACE-5733: Emit authority records from servicegroups queries. --- .../config/services/tenants/tenant-bindings-proto.xml | 10 ++++++++++ .../services/servicegroup/ServiceGroupResource.java | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) 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); -- 2.47.3