Class AnalyticsCreateResolver
- java.lang.Object
-
- org.gcube.datatransfer.resolver.services.AnalyticsCreateResolver
-
@Path("analytics") public class AnalyticsCreateResolver extends ObjectThe AnalyticsCreateResolver provides a method to get the Analytics URLs by which is possible to invoke through the DataMiner Executor the run of an algorithm stored in a certain VRE. See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#Analytics_Resolver- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Dec 12, 2018
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringGCUBE_TOKEN
-
Constructor Summary
Constructors Constructor Description AnalyticsCreateResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateAnalyticsURL(javax.servlet.http.HttpServletRequest req, String body)Creates the analytics url.
-
-
-
Field Detail
-
GCUBE_TOKEN
protected static final String GCUBE_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
createAnalyticsURL
@POST @Path("/create") @Consumes("text/plain") @Produces("text/plain") public javax.ws.rs.core.Response createAnalyticsURL(@Context javax.servlet.http.HttpServletRequest req, String body) throws javax.ws.rs.WebApplicationExceptionCreates the analytics url. Request format: [URI_RESOLVER_SERVICE_ENDPOINT]/analytics/create See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#HTTP_POST:_Create_an_Analytics_URL- Parameters:
req- the reqbody- the body- Returns:
- the response
- Throws:
javax.ws.rs.WebApplicationException- the web application exception
-
-