From 52da03db04cb4ebd3de1d4fb3d7aeab1b515b3eb Mon Sep 17 00:00:00 2001 From: GeorgeC Date: Fri, 8 Mar 2024 07:45:24 -0500 Subject: [PATCH] Removed comments --- .../harvard/dbmi/avillach/service/PicsureInfoService.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/service/PicsureInfoService.java b/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/service/PicsureInfoService.java index 32f7efef..fbc86218 100644 --- a/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/service/PicsureInfoService.java +++ b/pic-sure-api-war/src/main/java/edu/harvard/dbmi/avillach/service/PicsureInfoService.java @@ -72,14 +72,7 @@ public ResourceInfo info(UUID resourceId, QueryRequest credentialsQueryRequest, public Map resources(HttpHeaders headers) { logger.info("path=/info/resources, requestSource={}", Utilities.getRequestSourceFromHeader(headers)); - // We need a way to only return resources for this stack. - // Going to create an optional property in the standalone.xml if (StringUtils.isNotBlank(JAXRSConfiguration.application_stack)) { - // The resource resourceRSPath will contain the stack value - // http://dictionary.b.${env_private_dns_name}:8080/dictionary/pic-sure - // The application stack is a, b, c, etc. - // I will look for %.${application_stack}.% in the url - // Or the resource domain is localhost. return resourceRepo.list().stream() .filter( resource -> resource.getResourceRSPath().contains("." + JAXRSConfiguration.application_stack + ".")