Updated bad request message

This commit is contained in:
Francesco Mangiacrapa 2024-04-04 16:36:53 +02:00
parent 29fd3428c5
commit 88201bf617
2 changed files with 7 additions and 6 deletions

View File

@ -233,7 +233,7 @@ public class GeoportalResolver {
List<String> targetPaths = Arrays.asList(TargetAppGeoportalCodes.values()).stream()
.map(TargetAppGeoportalCodes::getId).collect(Collectors.toList());
throw ExceptionManager.badRequestException(req,
"Target application is wrong. Add a target path as /"+targetPaths+"+ values of the applications: " + targetApps, this.getClass(),
"Target application is wrong. Add a target path as /"+targetPaths+"+ to resolve towards the applications: " + targetApps, this.getClass(),
helpURI);
}
}

View File

@ -128,14 +128,15 @@ public class RuntimeResourceReader {
// String scope = "/pred4s/preprod/preVRE";
// String scope = "/d4science.research-infrastructures.eu/D4OS/GNA";
// String scope = "/gcube/devsec/devVRE";
String scope = "/d4science.research-infrastructures.eu/gCubeApps/Esquiline";
//String scope = "/d4science.research-infrastructures.eu/gCubeApps/Esquiline";
String scope = "/d4science.research-infrastructures.eu/D4OS/ARIADNEplus_Project";
// String platformName = "geonetwork";
// String category = "Gis";
String platformName = "GeoServer";
String platformName = "geonetwork";
String category = "Gis";
// String platformName = "GeoServer";
// String category = "Gis";
// String platformName = "postgis";
// String category = "Database";