fixed pom parent and junit dependencies for local test. Ignoring csv produced by the service

This commit is contained in:
Marco Procaccini 2024-03-26 12:30:16 +01:00
parent 4e0a8c0c1b
commit 75052f92a9
4 changed files with 21 additions and 4 deletions

2
.gitignore vendored
View File

@ -30,3 +30,5 @@ replay_pid*
/.classpath
/**/.DS_Store
/bin/
**/updated_*.csv
**/missing_*.csv

View File

@ -9,7 +9,10 @@ This service fills information of removed VREs like end time, start time, manage
## Documentation
This service requires the CSV report file generated by redmine in the folder src/test/resources
This service generates two new CSV file:
1. a CSV file with the extended information of the removed VREs
2. a CSV file with the Disposed VREs not included in the redmine CVS report
## Change log
See [CHANGELOG.md](CHANGELOG.md).

16
pom.xml
View File

@ -3,6 +3,13 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gcube.tools</groupId>
<artifactId>maven-parent</artifactId>
<version>1.1.0</version>
</parent>
<groupId>org.gcube.vremanagement</groupId>
<artifactId>vre-removed-info</artifactId>
<version>1.0.0-SNAPSHOT</version>
@ -87,6 +94,7 @@
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
@ -98,7 +106,13 @@
<version>2.2.0</version>
</dependency>
<!-- Local JUnit Test -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.10.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -1,7 +1,6 @@
package org.gcube.vremanagement;
import static org.junit.jupiter.api.Assertions.*;
import java.io.IOException;
import java.util.InputMismatchException;
import java.util.Scanner;
@ -55,7 +54,6 @@ class CsvUpdateTest {
}
@Disabled
@Test
void UpdateEndTimeVRETest(){