git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@173801 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6b7ee36ed3
commit
91676d60cf
|
@ -11,6 +11,7 @@ import javax.ws.rs.core.Response;
|
|||
import org.gcube.common.storagehub.client.StreamDescriptor;
|
||||
import org.gcube.common.storagehub.client.dsl.StorageHubClient;
|
||||
import org.gcube.datatransfer.resolver.services.error.ExceptionManager;
|
||||
import org.gcube.smartgears.utils.InnerMethodName;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -33,6 +34,7 @@ public class StorageHubResolver {
|
|||
@GET
|
||||
@Path("")
|
||||
public Response download(@Context HttpServletRequest httpRequest) {
|
||||
InnerMethodName.instance.set("resolveStorageHubPublicLink");
|
||||
logger.info(this.getClass().getSimpleName()+" GET starts...");
|
||||
StorageHubClient shc = new StorageHubClient();
|
||||
|
||||
|
@ -59,6 +61,7 @@ public class StorageHubResolver {
|
|||
@GET
|
||||
@Path("{version}")
|
||||
public Response downloadVersion(@Context HttpServletRequest httpRequest, @PathParam("version") String version) {
|
||||
InnerMethodName.instance.set("resolveStorageHubPublicLinkWithVersion");
|
||||
logger.info(StorageHubResolver.class.getSimpleName() +" downloadVersion called");
|
||||
StorageHubClient shc = new StorageHubClient();
|
||||
|
||||
|
|
Loading…
Reference in New Issue