Updated paths

This commit is contained in:
Francesco Mangiacrapa 2023-03-24 11:43:30 +01:00
parent 5ca0406997
commit 7aa6c479a1
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
*
* Mar 23, 2023
*/
@Path("/")
@Path("{targetAppId:geo|geo-dv|geo-de}")
public class GeoportalResolver {
private static final String QP_RESOLVE_AS = "res";
@ -62,7 +62,7 @@ public class GeoportalResolver {
}
@GET
@Path("{targetAppId:geo|geo-dv|geo-de}/{vre_name}/{usecase_id}/{project_id}")
@Path("/{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)