git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@173802 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
91676d60cf
commit
32717609c8
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue