Fixing lib

This commit is contained in:
luca.frosini 2023-09-12 16:26:41 +02:00
parent ebdebc4fb8
commit e56189e9ad
4 changed files with 21 additions and 8 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
target
.classpath
.project
/.DS_Store
**/.DS_Store
/bin/

17
pom.xml
View File

@ -28,8 +28,8 @@
<dependencies>
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>gcube-smartgears-bom</artifactId>
<version>2.5.0-SNAPSHOT</version>
<artifactId>gcube-bom</artifactId>
<version>2.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@ -81,6 +81,19 @@
<type>war</type>
</dependency>
<!-- Added to support Java 11 JDK -->
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<!-- END Added to support Java 11 JDK -->
<!-- Test Dependency -->
<dependency>
<groupId>junit</groupId>

View File

@ -27,7 +27,7 @@ public class ContextTest {
private static final Logger logger = LoggerFactory.getLogger(ContextTest.class);
protected static final String CONFIG_INI_FILENAME = "config.properties";
protected static final String CONFIG_INI_FILENAME = "config.ini";
public static final String ROOT_DEV;
public static final String ROOT_PREPROD;
@ -140,7 +140,7 @@ public class ContextTest {
@BeforeClass
public static void beforeClass() throws Exception {
setContextByName(ROOT_DEV);
setContextByName(ROOT_PREPROD);
}
@AfterClass

View File

@ -24,16 +24,16 @@ public class DataBaseCreator extends ContextTest {
@Test
public void createDatabase() throws Exception {
ContextTest.setContextByName(ROOT_DEV);
ContextTest.setContextByName(ROOT_PREPROD);
logger.debug("Going to create DB");
String db = DatabaseEnvironment.DB_URI;
logger.debug("{} created", db);
}
@Ignore
// @Ignore
@Test
public void createAllContexts() throws Exception {
ContextTest.setContextByName(ROOT_DEV);
ContextTest.setContextByName(ROOT_PREPROD);
ContextCreator contextCreator = new ContextCreator();
contextCreator.all();
}