new feature #27135
This commit is contained in:
parent
ca455477f5
commit
89c3f1f435
|
@ -15,6 +15,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<wb-module deploy-name="uri-resolver-2.9.0">
|
||||
|
||||
|
||||
|
@ -32,6 +35,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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"/>
|
||||
|
||||
|
||||
|
@ -66,6 +75,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<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"/>
|
||||
|
||||
|
||||
|
@ -100,6 +115,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<property name="context-root" value="uri-resolver"/>
|
||||
|
||||
|
||||
|
@ -117,6 +135,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<property name="java-output-path" value="/uri-resolver/target/classes"/>
|
||||
|
||||
|
||||
|
@ -134,6 +155,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</wb-module>
|
||||
|
||||
|
||||
|
@ -151,4 +175,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</project-modules>
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
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).
|
||||
|
||||
## [v2.10.0-SNAPSHOT]
|
||||
|
||||
- GeoPortal-Resolver enhancement: share link towards Geoportal Data-Entry facility implemented [#27135]
|
||||
|
||||
## [v2.9.0]
|
||||
|
||||
- GeoPortal-Resolver implemented [#24792]
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -5,11 +5,11 @@
|
|||
<parent>
|
||||
<artifactId>maven-parent</artifactId>
|
||||
<groupId>org.gcube.tools</groupId>
|
||||
<version>1.1.0</version>
|
||||
<version>1.2.0</version>
|
||||
</parent>
|
||||
<groupId>org.gcube.data.transfer</groupId>
|
||||
<artifactId>uri-resolver</artifactId>
|
||||
<version>2.9.0</version>
|
||||
<version>2.10.0-SNAPSHOT</version>
|
||||
<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>
|
||||
|
||||
|
|
|
@ -95,8 +95,6 @@ public class RuntimeResourceReader {
|
|||
System.err.println("Error on reading Access point not found");
|
||||
}
|
||||
|
||||
System.out.println("sono qui");
|
||||
|
||||
seb.setListAP(listAp);
|
||||
listSE.add(seb);
|
||||
}
|
||||
|
@ -127,13 +125,31 @@ public class RuntimeResourceReader {
|
|||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
String scope = "/gcube/devsec/devVRE";
|
||||
//String platformName = "GeoServer";
|
||||
// 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 platformName = "postgis";
|
||||
String category = "Database";
|
||||
// String platformName = "geonetwork";
|
||||
// String category = "Gis";
|
||||
|
||||
//scope = "/pred4s/preprod/preVRE";
|
||||
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 = "/d4science.research-infrastructures.eu/D4OS/Blue-Cloud2026Project";
|
||||
// platformName = "Zenodo";
|
||||
// category = "Repository";
|
||||
|
||||
RuntimeResourceReader reader;
|
||||
try {
|
||||
|
@ -148,14 +164,13 @@ public class RuntimeResourceReader {
|
|||
for (AccessPoint ap : listAp) {
|
||||
System.out.println("username: " + ap.username());
|
||||
System.out.println("password: " + ap.password());
|
||||
try{
|
||||
try {
|
||||
String decryptedPassword = StringEncrypter.getEncrypter().decrypt(ap.password());
|
||||
System.out.println("Decrypted Password: "+decryptedPassword);
|
||||
}catch(Exception e){
|
||||
System.out.println("Decrypted Password: " + decryptedPassword);
|
||||
} catch (Exception e) {
|
||||
System.out.println("ignoring exception during pwd decrypting");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue