This commit is contained in:
Francesco Mangiacrapa 2024-03-27 11:47:46 +01:00
parent ca455477f5
commit 89c3f1f435
4 changed files with 69 additions and 23 deletions

View File

@ -15,6 +15,9 @@
<wb-module deploy-name="uri-resolver-2.9.0"> <wb-module deploy-name="uri-resolver-2.9.0">
@ -32,6 +35,9 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -49,6 +55,9 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/> <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -66,6 +75,9 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -83,6 +95,9 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
@ -100,6 +115,9 @@
<property name="context-root" value="uri-resolver"/> <property name="context-root" value="uri-resolver"/>
@ -117,6 +135,9 @@
<property name="java-output-path" value="/uri-resolver/target/classes"/> <property name="java-output-path" value="/uri-resolver/target/classes"/>
@ -134,6 +155,9 @@
</wb-module> </wb-module>
@ -151,4 +175,7 @@
</project-modules> </project-modules>

View File

@ -4,6 +4,10 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v2.10.0-SNAPSHOT]
- GeoPortal-Resolver enhancement: share link towards Geoportal Data-Entry facility implemented [#27135]
## [v2.9.0] ## [v2.9.0]
- GeoPortal-Resolver implemented [#24792] - GeoPortal-Resolver implemented [#24792]

View File

@ -5,11 +5,11 @@
<parent> <parent>
<artifactId>maven-parent</artifactId> <artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId> <groupId>org.gcube.tools</groupId>
<version>1.1.0</version> <version>1.2.0</version>
</parent> </parent>
<groupId>org.gcube.data.transfer</groupId> <groupId>org.gcube.data.transfer</groupId>
<artifactId>uri-resolver</artifactId> <artifactId>uri-resolver</artifactId>
<version>2.9.0</version> <version>2.10.0-SNAPSHOT</version>
<packaging>war</packaging> <packaging>war</packaging>
<description>The URI Resolver is an HTTP URI resolver implemented as a REST service which gives access trough HTTP to different gcube Resolvers and gCube Applications.</description> <description>The URI Resolver is an HTTP URI resolver implemented as a REST service which gives access trough HTTP to different gcube Resolvers and gCube Applications.</description>

View File

@ -95,8 +95,6 @@ public class RuntimeResourceReader {
System.err.println("Error on reading Access point not found"); System.err.println("Error on reading Access point not found");
} }
System.out.println("sono qui");
seb.setListAP(listAp); seb.setListAP(listAp);
listSE.add(seb); listSE.add(seb);
} }
@ -127,14 +125,32 @@ public class RuntimeResourceReader {
*/ */
public static void main(String[] args) { public static void main(String[] args) {
String scope = "/gcube/devsec/devVRE"; // String scope = "/pred4s/preprod/preVRE";
//String platformName = "GeoServer"; // String scope = "/d4science.research-infrastructures.eu/D4OS/GNA";
// String scope = "/gcube/devsec/devVRE";
String scope = "/d4science.research-infrastructures.eu/gCubeApps/Esquiline";
String platformName = "postgis"; // String platformName = "geonetwork";
String category = "Database"; // String category = "Gis";
String platformName = "GeoServer";
String category = "Gis";
// String platformName = "postgis";
// String category = "Database";
// String platformName = "postgresql";
// String category = "Database";
// String platformName = "mongodb";
// String category = "Database";
// scope = "/pred4s/preprod/preVRE"; // scope = "/pred4s/preprod/preVRE";
// scope = "/d4science.research-infrastructures.eu/D4OS/Blue-Cloud2026Project";
// platformName = "Zenodo";
// category = "Repository";
RuntimeResourceReader reader; RuntimeResourceReader reader;
try { try {
ScopeProvider.instance.set(scope); ScopeProvider.instance.set(scope);
@ -155,7 +171,6 @@ public class RuntimeResourceReader {
System.out.println("ignoring exception during pwd decrypting"); System.out.println("ignoring exception during pwd decrypting");
} }
} }
} }