task_24792 #7
|
@ -46,7 +46,7 @@ import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
|
||||||
*
|
*
|
||||||
* Mar 23, 2023
|
* Mar 23, 2023
|
||||||
*/
|
*/
|
||||||
@Path("{targetAppId:geo|geo-dv|geo-de}")
|
@Path("/{targetAppId:geo|geo-dv|geo-de}")
|
||||||
public class GeoportalResolver {
|
public class GeoportalResolver {
|
||||||
|
|
||||||
private static final String QP_RESOLVE_AS = "res";
|
private static final String QP_RESOLVE_AS = "res";
|
||||||
|
@ -220,7 +220,7 @@ public class GeoportalResolver {
|
||||||
throw (WebApplicationException) e;
|
throw (WebApplicationException) e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a Catalogue Link.
|
* Create a Catalogue Link.
|
||||||
*
|
*
|
||||||
|
@ -230,7 +230,7 @@ public class GeoportalResolver {
|
||||||
* @throws WebApplicationException the web application exception
|
* @throws WebApplicationException the web application exception
|
||||||
*/
|
*/
|
||||||
@POST
|
@POST
|
||||||
@Path("{targetAppId:geo|geo-dv|geo-de}")
|
@Path("")
|
||||||
@Consumes(MediaType.APPLICATION_JSON)
|
@Consumes(MediaType.APPLICATION_JSON)
|
||||||
@Produces(MediaType.TEXT_PLAIN)
|
@Produces(MediaType.TEXT_PLAIN)
|
||||||
public Response postGeoportal(@Context HttpServletRequest req, GeoportalRequest jsonRequest,
|
public Response postGeoportal(@Context HttpServletRequest req, GeoportalRequest jsonRequest,
|
||||||
|
|
Loading…
Reference in New Issue