Upgraded gcube-smartgears-bom version at 2.4.0

This commit is contained in:
Francesco Mangiacrapa 2023-04-04 14:54:32 +02:00
parent ded177fa55
commit ca455477f5
3 changed files with 34 additions and 16 deletions

View File

@ -13,7 +13,11 @@
<wb-module deploy-name="uri-resolver-2.8.1">
<wb-module deploy-name="uri-resolver-2.9.0">
@ -43,6 +47,8 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -58,6 +64,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -73,10 +81,11 @@
<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>
@ -106,6 +115,8 @@
<property name="java-output-path" value="/uri-resolver/target/classes"/>
@ -121,6 +132,8 @@
</wb-module>
@ -136,4 +149,6 @@
</project-modules>

View File

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

View File

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