From 2d005921841e040f7c9d08cf8c97ac80e074a2d2 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Wed, 13 Nov 2019 11:48:55 +0100 Subject: [PATCH] Changed some logs --- .../datatransfer/resolver/services/CatalogueResolver.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/datatransfer/resolver/services/CatalogueResolver.java b/src/main/java/org/gcube/datatransfer/resolver/services/CatalogueResolver.java index ec86f80..fa5ee7d 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/services/CatalogueResolver.java +++ b/src/main/java/org/gcube/datatransfer/resolver/services/CatalogueResolver.java @@ -74,17 +74,17 @@ public class CatalogueResolver { String itemCatalogueURL; if(itemCatalogueURLs.isPublicItem()){ - logger.info("The dataset "+itemCatalogueURLs.getItemName()+" is a public"); + logger.info("The dataset "+itemCatalogueURLs.getItemName()+" should be a public item (not private to VRE)."); if(itemCatalogueURLs.getPublicVRECataloguePortletURL()!=null && !itemCatalogueURLs.getPublicVRECataloguePortletURL().isEmpty()) { itemCatalogueURL = itemCatalogueURLs.getPublicVRECataloguePortletURL(); - logger.info("I found the public VRE catalogue URL "+itemCatalogueURL+" so using public access to it"); + logger.info("I found the public VRE catalogue URL, so using public access to it: "+itemCatalogueURL); }else { itemCatalogueURL = itemCatalogueURLs.getPublicGatewayCataloguePortletURL(); logger.info("No public VRE catalogue URL found, so using public access to gateway CKAN portlet: "+itemCatalogueURL); } }else{ itemCatalogueURL = itemCatalogueURLs.getPrivateVRECataloguePortletURL(); - logger.info("The dataset "+itemCatalogueURLs.getItemName()+" is a private item so using protected access to CKAN portlet: "+itemCatalogueURL); + logger.info("The dataset "+itemCatalogueURLs.getItemName()+" is a private item (to VRE) so using protected access to CKAN portlet: "+itemCatalogueURL); } return Response.seeOther(new URL(itemCatalogueURL).toURI()).build();