renamed CatalogueResolver

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@173789 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-10-23 12:58:46 +00:00
parent ce9a3f9128
commit eab0b57fa5
2 changed files with 4 additions and 5 deletions

View File

@ -29,9 +29,9 @@ import org.slf4j.LoggerFactory;
import eu.trentorise.opendata.jackan.model.CkanDataset;
@Path("/")
public class Catalogue {
public class CatalogueResolver {
private static Logger logger = LoggerFactory.getLogger(Catalogue.class);
private static Logger logger = LoggerFactory.getLogger(CatalogueResolver.class);
public static final String ENV_SCOPE = "SCOPE"; //Environment Variable
@ -43,7 +43,7 @@ public class Catalogue {
@GET
@Path("{entityContext:ctlg(-(o|g|p|d)?}/{vreName}/{entityName}")
public Response resolveCatalogue(@PathParam("entityName") String entityName, @PathParam("vreName") String vreName, @PathParam("entityContext") String entityContext) {
logger.info(CatalogueResolver.class.getSimpleName()+" GET starts...");
try {
String entityContextValue = ResourceCatalogueCodes.valueOfCodeId(entityContext).getValue();

View File

@ -27,7 +27,6 @@ import javax.ws.rs.core.StreamingOutput;
import org.apache.commons.io.IOUtils;
import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.datatransfer.resolver.Constants;
import org.gcube.datatransfer.resolver.GeonetworkRequestFilterParameters;
import org.gcube.datatransfer.resolver.GeonetworkRequestFilterParameters.MODE;
import org.gcube.datatransfer.resolver.GeonetworkRequestFilterParameters.VISIBILITY;
@ -58,7 +57,7 @@ import org.w3c.dom.Document;
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
* Oct 23, 2018
*/
@Path(Constants.SERVLET_GEONETWORK)
@Path("/geonetwork")
public class GeonetworkResolver {
private static Logger logger = LoggerFactory.getLogger(GeonetworkResolver.class);