diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index 18a79e2..a2bcb05 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -1,5 +1,8 @@ - + + + + @@ -16,7 +19,10 @@ - + + + + @@ -33,7 +39,10 @@ - + + + + @@ -50,7 +59,10 @@ - + + + + @@ -67,7 +79,10 @@ - + + + + @@ -84,7 +99,10 @@ - + + + + @@ -101,7 +119,10 @@ - + + + + @@ -118,7 +139,10 @@ - + + + + @@ -135,7 +159,10 @@ - + + + + diff --git a/CHANGELOG.md b/CHANGELOG.md index 99a117b..ddbad01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] diff --git a/pom.xml b/pom.xml index 374ecd4..3546e52 100644 --- a/pom.xml +++ b/pom.xml @@ -5,11 +5,11 @@ maven-parent org.gcube.tools - 1.1.0 + 1.2.0 org.gcube.data.transfer uri-resolver - 2.9.0 + 2.10.0-SNAPSHOT war 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. diff --git a/src/test/java/gis/RuntimeResourceReader.java b/src/test/java/gis/RuntimeResourceReader.java index 7896431..1c74c72 100644 --- a/src/test/java/gis/RuntimeResourceReader.java +++ b/src/test/java/gis/RuntimeResourceReader.java @@ -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 platformName = "postgis"; - String category = "Database"; +// 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"; - //scope = "/pred4s/preprod/preVRE"; + // String platformName = "geonetwork"; +// 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 = "/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"); } - } }