Updated gcube boms as:

This commit is contained in:
Francesco Mangiacrapa 2023-04-05 10:49:02 +02:00
parent 2636176796
commit 1408277fe9
2 changed files with 25 additions and 30 deletions

View File

@ -2,33 +2,28 @@ package org.gcube.application.geoportal.common.utils.tests;
public class GCubeTest { public class GCubeTest {
public static String getContext() { public static String getContext() {
String testContext=null; String testContext = null;
testContext = System.getProperty("testContext"); testContext = System.getProperty("testContext");
if(testContext==null) { if (testContext == null) {
// trying with env // trying with env
testContext=System.getenv("testContext"); testContext = System.getenv("testContext");
} }
// InterfaceConstants.SERVICE_CLASS="Application"; // InterfaceConstants.SERVICE_CLASS="Application";
// InterfaceConstants.SERVICE_NAME="GeoPortal"; // InterfaceConstants.SERVICE_NAME="GeoPortal";
testContext = "/pred4s/preprod/preVRE";
testContext = "/pred4s/preprod/preVRE_ext";
// testContext = "/d4science.research-infrastructures.eu/D4OS/GNA";
// testContext= "/gcube/devsec/devVRE";
testContext = "/pred4s/preprod/preVRE"; System.out.println("TEST CONTEXT = " + testContext);
testContext = "/pred4s/preprod/preVRE_ext"; return testContext;
// testContext = "/d4science.research-infrastructures.eu/D4OS/GNA"; }
// testContext= "/gcube/devsec/devVRE";
System.out.println("TEST CONTEXT = "+testContext);
return testContext;
}
public static boolean isTestInfrastructureEnabled() {
return getContext()!=null;
}
public static boolean isTestInfrastructureEnabled() {
return getContext() != null;
}
} }

16
pom.xml
View File

@ -23,16 +23,16 @@
<gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl> <gitBaseUrl>https://code-repo.d4science.org/gCubeSystem</gitBaseUrl>
<!-- prod --> <!-- prod -->
<!-- <gcube-bom-version>2.0.2</gcube-bom-version> --> <gcube-bom-version>2.3.0</gcube-bom-version>
<!-- <gcube-smartgears-bom-version>2.1.1</gcube-smartgears-bom-version> --> <gcube-smartgears-bom-version>2.4.0</gcube-smartgears-bom-version>
<!-- <gcube-portal-bom-version>3.6.3</gcube-portal-bom-version> --> <gcube-portal-bom-version>3.7.0</gcube-portal-bom-version>
<!-- <storagehub-version-range>[1.0.0,2.0.0-SNAPSHOT)</storagehub-version-range> --> <storagehub-version-range>[1.0.0,2.0.0-SNAPSHOT)</storagehub-version-range>
<!--dev --> <!--dev -->
<gcube-bom-version>2.1.0-SNAPSHOT</gcube-bom-version> <!-- <gcube-bom-version>2.1.0-SNAPSHOT</gcube-bom-version> -->
<gcube-smartgears-bom-version>2.2.0-SNAPSHOT</gcube-smartgears-bom-version> <!-- <gcube-smartgears-bom-version>2.2.0-SNAPSHOT</gcube-smartgears-bom-version> -->
<gcube-portal-bom-version>3.7.0-SNAPSHOT</gcube-portal-bom-version> <!-- <gcube-portal-bom-version>3.7.0-SNAPSHOT</gcube-portal-bom-version> -->
<storagehub-version-range>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</storagehub-version-range> <!-- <storagehub-version-range>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</storagehub-version-range> -->
<plugin-framework-version>1.0.3</plugin-framework-version> <plugin-framework-version>1.0.3</plugin-framework-version>