moved the port-type to /oat/get and removed doc generation
This commit is contained in:
parent
6f57ebec3d
commit
31d1828cb3
|
@ -10,8 +10,7 @@
|
|||
pattern="org.gcube.datatransfer.resolver.services.UriResolverIndex" />
|
||||
<exclude
|
||||
pattern="org.gcube.datatransfer.resolver.services.UriResolverInfo" />
|
||||
<!-- <exclude pattern="org.gcube.datatransfer.resolver.services.GoatResolver"
|
||||
/> -->
|
||||
<exclude pattern="org.gcube.datatransfer.resolver.services.OatResolver" />
|
||||
<exclude
|
||||
pattern="org.gcube.datatransfer.resolver.services.tobackward.BackCatalogueResolver" />
|
||||
<exclude
|
||||
|
|
|
@ -20,13 +20,30 @@ import org.gcube.datatransfer.resolver.services.error.ExceptionManager;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@Path("goat")
|
||||
public class GoatResolver {
|
||||
|
||||
private static Logger LOG = LoggerFactory.getLogger(GoatResolver.class);
|
||||
/**
|
||||
* The Class OatResolver.
|
||||
*
|
||||
* generates an old authz token from an UMAToken
|
||||
*
|
||||
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
||||
*
|
||||
* Apr 5, 2022
|
||||
*/
|
||||
@Path("oat")
|
||||
public class OatResolver {
|
||||
|
||||
private static Logger LOG = LoggerFactory.getLogger(OatResolver.class);
|
||||
|
||||
/**
|
||||
* Gets the legacy token.
|
||||
*
|
||||
* @param req the req
|
||||
* @return the legacy token
|
||||
* @throws WebApplicationException the web application exception
|
||||
*/
|
||||
@GET
|
||||
@Path("/gettoken")
|
||||
@Path("/get")
|
||||
@Produces(MediaType.TEXT_PLAIN)
|
||||
public Response getLegacyToken(@Context HttpServletRequest req) throws WebApplicationException {
|
||||
LOG.info(this.getClass().getSimpleName() + " GET starts...");
|
Loading…
Reference in New Issue