This commit is contained in:
Lucio Lelii 2018-10-24 08:09:09 +00:00
parent 91676d60cf
commit 32717609c8
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import org.gcube.datatransfer.resolver.catalogue.resource.ApplicationProfileRead
import org.gcube.datatransfer.resolver.catalogue.resource.CkanCatalogueConfigurationsReader;
import org.gcube.datatransfer.resolver.catalogue.resource.GatewayCKANCatalogueReference;
import org.gcube.datatransfer.resolver.catalogue.resource.UpdateApplicationProfileCatalogueResolver;
import org.gcube.smartgears.utils.InnerMethodName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -43,6 +44,7 @@ public class CatalogueResolver {
@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) {
InnerMethodName.instance.set("resolveCataloguePublicLink");
logger.info(CatalogueResolver.class.getSimpleName()+" GET starts...");
try {
String entityContextValue = ResourceCatalogueCodes.valueOfCodeId(entityContext).getValue();
@ -88,6 +90,7 @@ public class CatalogueResolver {
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.TEXT_PLAIN)
public Response postCatalogue(@Context HttpServletRequest req, CatalogueRequest jsonRequest) {
InnerMethodName.instance.set("postCataloguePublicLink");
logger.info(CatalogueResolver.class.getSimpleName()+" POST starts...");
//final CatalogueEntityRequest cer = new CatalogueEntityRequest();