Updated paths
This commit is contained in:
parent
b57bd03889
commit
0b7ca3d03f
|
@ -85,35 +85,36 @@ public class GeoportalResolver {
|
|||
* @throws WebApplicationException the web application exception
|
||||
*/
|
||||
@GET
|
||||
@Path(GEO + "/{vre_name}/{usecase_id}/{project_id}")
|
||||
public Response resolveGeoportal(@Context HttpServletRequest req, @PathParam(PATH_VRE_NAME) String vreName,
|
||||
@PathParam(PATH_USECASE_ID) String ucdID, @PathParam(PATH_PROJECT_ID) String projectID,
|
||||
@QueryParam(QP_RESOLVE_AS) String resolveAs) throws WebApplicationException {
|
||||
String targetAppId = GEO;
|
||||
@Path("{targetAppId:" + GEO + "|" + GEO_DV + "|" + GEO_DE + "}" + "/{vre_name}/{usecase_id}/{project_id}")
|
||||
public Response resolveGeoportal(@Context HttpServletRequest req, @PathParam(PATH_TARGET_APP) String targetAppId,
|
||||
@PathParam(PATH_VRE_NAME) String vreName, @PathParam(PATH_USECASE_ID) String ucdID,
|
||||
@PathParam(PATH_PROJECT_ID) String projectID, @QueryParam(QP_RESOLVE_AS) String resolveAs)
|
||||
throws WebApplicationException {
|
||||
// String targetAppId = GEO;
|
||||
return genericGet(req, targetAppId, vreName, ucdID, projectID, resolveAs);
|
||||
|
||||
}
|
||||
|
||||
// /**
|
||||
// * Resolve geoportal DV.
|
||||
// *
|
||||
// * @param req the req
|
||||
// * @param vreName the vre name
|
||||
// * @param ucdID the ucd ID
|
||||
// * @param projectID the project ID
|
||||
// * @param resolveAs the resolve as
|
||||
// * @return the response
|
||||
// * @throws WebApplicationException the web application exception
|
||||
// */
|
||||
// @GET
|
||||
// @Path(GEO_DV + "/{vre_name}/{usecase_id}/{project_id}")
|
||||
// public Response resolveGeoportalDV(@Context HttpServletRequest req, @PathParam(PATH_VRE_NAME) String vreName,
|
||||
// @PathParam(PATH_USECASE_ID) String ucdID, @PathParam(PATH_PROJECT_ID) String projectID,
|
||||
// @QueryParam(QP_RESOLVE_AS) String resolveAs) throws WebApplicationException {
|
||||
// String targetAppId = GEO_DV;
|
||||
// return genericGet(req, targetAppId, vreName, ucdID, projectID, resolveAs);
|
||||
//
|
||||
// }
|
||||
/**
|
||||
* Resolve geoportal DV.
|
||||
*
|
||||
* @param req the req
|
||||
* @param vreName the vre name
|
||||
* @param ucdID the ucd ID
|
||||
* @param projectID the project ID
|
||||
* @param resolveAs the resolve as
|
||||
* @return the response
|
||||
* @throws WebApplicationException the web application exception
|
||||
*/
|
||||
@GET
|
||||
@Path(GEO_DV + "/{vre_name}/{usecase_id}/{project_id}")
|
||||
public Response resolveGeoportalDV(@Context HttpServletRequest req, @PathParam(PATH_VRE_NAME) String vreName,
|
||||
@PathParam(PATH_USECASE_ID) String ucdID, @PathParam(PATH_PROJECT_ID) String projectID,
|
||||
@QueryParam(QP_RESOLVE_AS) String resolveAs) throws WebApplicationException {
|
||||
String targetAppId = GEO_DV;
|
||||
return genericGet(req, targetAppId, vreName, ucdID, projectID, resolveAs);
|
||||
|
||||
}
|
||||
//
|
||||
// /**
|
||||
// * Resolve geoportal DE.
|
||||
|
|
Loading…
Reference in New Issue