public interface HarversterDBServiceAPI
extends org.gcube.rest.commons.resourceawareservice.ResourceAwareServiceRestAPI
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
AvailableResources() |
javax.ws.rs.core.Response |
HarvestDatabase(String scopeHeader,
String sourcename,
String propsname,
String recordid) |
javax.ws.rs.core.Response |
ReplaceDBHarvesterConfig(String scopeHeader,
String dbPropsXML) |
@GET
@Path(value="/AvailableResources")
@Produces(value="application/xml; charset=UTF-8")
javax.ws.rs.core.Response AvailableResources()
throws ParserConfigurationException,
TransformerException
@POST
@Path(value="/ReplaceDBHarvesterConfig")
@Produces(value="text/plain; charset=UTF-8")
javax.ws.rs.core.Response ReplaceDBHarvesterConfig(@HeaderParam(value="gcube-scope")
String scopeHeader,
@FormParam(value="dbPropsXML")
String dbPropsXML)
throws org.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceException,
org.gcube.rest.resourcemanager.discoverer.exceptions.DiscovererException,
SourceIDNotFoundException,
Exception
org.gcube.rest.commons.resourceawareservice.resources.exceptions.StatefulResourceExceptionorg.gcube.rest.resourcemanager.discoverer.exceptions.DiscovererExceptionSourceIDNotFoundExceptionException@GET
@Path(value="/HarvestDatabase")
@Produces(value="text/xml; charset=UTF-8")
javax.ws.rs.core.Response HarvestDatabase(@HeaderParam(value="gcube-scope")
String scopeHeader,
@QueryParam(value="sourcename")
String sourcename,
@QueryParam(value="propsname")
String propsname,
@QueryParam(value="recordid")
String recordid)
throws Exception
ExceptionCopyright © 2014. All Rights Reserved.