Compare commits

..

No commits in common. "master" and "task_24792" have entirely different histories.

4 changed files with 18 additions and 36 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
@ -13,12 +13,8 @@
<wb-module deploy-name="uri-resolver-2.8.1">
<wb-module deploy-name="uri-resolver-2.9.0">
@ -33,9 +29,7 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/> <wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -50,9 +44,7 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/> <wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -67,9 +59,7 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -84,9 +74,10 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="uri-resolver-manager-1.7.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/uri-resolver-manager/uri-resolver-manager">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -101,9 +92,7 @@
<property name="context-root" value="uri-resolver"/> <property name="context-root" value="uri-resolver"/>
@ -118,9 +107,7 @@
<property name="java-output-path" value="/uri-resolver/target/classes"/> <property name="java-output-path" value="/uri-resolver/target/classes"/>
@ -135,9 +122,7 @@
</wb-module> </wb-module>

View File

@ -4,7 +4,7 @@
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.9.0] ## [v2.9.0-SNAPSHOT]
- GeoPortal-Resolver implemented [#24792] - GeoPortal-Resolver implemented [#24792]

View File

@ -9,7 +9,7 @@
</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.9.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>
@ -31,7 +31,7 @@
<dependency> <dependency>
<groupId>org.gcube.distribution</groupId> <groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId> <artifactId>gcube-smartgears-bom</artifactId>
<version>2.4.0</version> <version>2.1.0</version>
<type>pom</type> <type>pom</type>
<scope>import</scope> <scope>import</scope>
</dependency> </dependency>

View File

@ -128,17 +128,14 @@ public class RuntimeResourceReader {
public static void main(String[] args) { public static void main(String[] args) {
String scope = "/gcube/devsec/devVRE"; String scope = "/gcube/devsec/devVRE";
//String platformName = "GeoServer"; String platformName = "GeoServer";
String platformName = "postgis";
String category = "Database";
//scope = "/pred4s/preprod/preVRE"; //scope = "/pred4s/preprod/preVRE";
RuntimeResourceReader reader; RuntimeResourceReader reader;
try { try {
ScopeProvider.instance.set(scope); ScopeProvider.instance.set(scope);
reader = new RuntimeResourceReader(scope, platformName, category, null); reader = new RuntimeResourceReader(scope, "postgis", "Database", null);
for (ServiceEndpointBean seb : reader.getListSE()) { for (ServiceEndpointBean seb : reader.getListSE()) {
System.out.println("Found: " + seb); System.out.println("Found: " + seb);