Updated path

This commit is contained in:
Francesco Mangiacrapa 2023-03-24 15:10:43 +01:00
parent 0b23748a3b
commit 526a877b26
1 changed files with 21 additions and 21 deletions

View File

@ -86,7 +86,7 @@ public class GeoportalResolver {
* @throws WebApplicationException the web application exception * @throws WebApplicationException the web application exception
*/ */
@GET @GET
@Path("{targetAppId:" + GEO + "|" + GEO_DV + "|" + GEO_DE + "}" + "/{vre_name}/{usecase_id}/{project_id}") @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, 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_VRE_NAME) String vreName, @PathParam(PATH_USECASE_ID) String ucdID,
@PathParam(PATH_PROJECT_ID) String projectID, @QueryParam(QP_RESOLVE_AS) String resolveAs) @PathParam(PATH_PROJECT_ID) String projectID, @QueryParam(QP_RESOLVE_AS) String resolveAs)
@ -96,26 +96,26 @@ public class GeoportalResolver {
} }
// /** /**
// * Resolve geoportal DV. * Resolve geoportal DV.
// * *
// * @param req the req * @param req the req
// * @param vreName the vre name * @param vreName the vre name
// * @param ucdID the ucd ID * @param ucdID the ucd ID
// * @param projectID the project ID * @param projectID the project ID
// * @param resolveAs the resolve as * @param resolveAs the resolve as
// * @return the response * @return the response
// * @throws WebApplicationException the web application exception * @throws WebApplicationException the web application exception
// */ */
// @GET @GET
// @Path(GEO_DV + "/{vre_name}/{usecase_id}/{project_id}") @Path("/"+GEO_DV + "/{vre_name}/{usecase_id}/{project_id}")
// public Response resolveGeoportalDV(@Context HttpServletRequest req, @PathParam(PATH_VRE_NAME) String vreName, public Response resolveGeoportalDV(@Context HttpServletRequest req, @PathParam(PATH_VRE_NAME) String vreName,
// @PathParam(PATH_USECASE_ID) String ucdID, @PathParam(PATH_PROJECT_ID) String projectID, @PathParam(PATH_USECASE_ID) String ucdID, @PathParam(PATH_PROJECT_ID) String projectID,
// @QueryParam(QP_RESOLVE_AS) String resolveAs) throws WebApplicationException { @QueryParam(QP_RESOLVE_AS) String resolveAs) throws WebApplicationException {
// String targetAppId = GEO_DV; String targetAppId = GEO_DV;
// return genericGet(req, targetAppId, vreName, ucdID, projectID, resolveAs); return genericGet(req, targetAppId, vreName, ucdID, projectID, resolveAs);
//
// } }
// //
// /** // /**
// * Resolve geoportal DE. // * Resolve geoportal DE.