diff --git a/README.md b/README.md index bb89d5e..7c1278d 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,18 @@ Vitam introduces a version V3 that has the following issues: * Java 11 is now mandatory, despite the large usage of Java 8 out of there. This prevents a lot if final users or co-project as this one to follow easily the path taken by Vitam team. Java 11 is not yet quite a success, considering a huge number of Java projects still using Java 8 as the minimal requirement. * Several issues were encountered in using Version 3 compares to Version 2.X (last being 2.15.3): while Java API are the same, the behaviors are not, those preventing an clean upgrade from V2 to V3. -Therefore, except if V3 evolves in Java 8 and fixing those functional issues, or except if clients command to have a compatible version with V3 of Vitam, Waarp-Vitam will stay on V2 versions. - +However we work with Vitam team to get a Waarp version available for both versions 2 and 3. Note that the "all jar" versions does not include any more the Vitam jar, in order to allow you to use either v2.15.3 or v3.0.1 and following versions. + +You therefore need to ass the following jars with the Waarp-Vitam library: + + * fr.gouv.vitam:ingest-external-client + * fr.gouv.vitam:common-public-client + * fr.gouv.vitam:ingest-external-api + * fr.gouv.vitam:access-external-client + * fr.gouv.vitam:common-public + * fr.gouv.vitam:common-http-interface + * fr.gouv.vitam:access-external-api + * fr.gouv.vitam:common-database-public Support diff --git a/pom.xml b/pom.xml index d54e971..a848ecd 100644 --- a/pom.xml +++ b/pom.xml @@ -221,17 +221,17 @@ test test 3.3.2 - 1.0.2 + 1.0.3 ${waarp-vitam.version} - 3.0.1 + 3.0.2 - 2.15.3 + 2.15.3 4.1.48.Final 2.0.30.Final 1.0.1 @@ -676,6 +676,7 @@ org.apache.ant Oracle com.oracle.jdbc + fr.gouv.vitam @@ -1016,7 +1017,7 @@ ${java.version} 1.8 1.8 - + 11 true true true @@ -1034,9 +1035,10 @@ 2048m - + maven-source-plugin ${maven.source.version} diff --git a/src/main/java/org/waarp/vitam/dip/DipManager.java b/src/main/java/org/waarp/vitam/dip/DipManager.java index 1770374..7deb45b 100644 --- a/src/main/java/org/waarp/vitam/dip/DipManager.java +++ b/src/main/java/org/waarp/vitam/dip/DipManager.java @@ -276,7 +276,9 @@ int select(final DipRequestFactory dipRequestFactory, logger.error(ISSUE_SINCE_SELECT_PRODUCES_AN_ERROR, e); // Should retry select from the beginning try { - dipRequest.setStep(DIPStep.RETRY_SELECT, 0, dipRequestFactory); + dipRequest.setStep(DIPStep.ERROR, 500, dipRequestFactory); + // Will inform back of error which could not be fixed when reloaded + // Ignore: dipRequest.setStep(DIPStep.RETRY_SELECT, 0, dipRequestFactory); } catch (InvalidParseOperationException ex) { // very bad logger.error("FATAL: Very bad since cannot save DipRequest", ex); diff --git a/src/main/java/org/waarp/vitam/ingest/IngestManager.java b/src/main/java/org/waarp/vitam/ingest/IngestManager.java index e605f4f..9e62aad 100644 --- a/src/main/java/org/waarp/vitam/ingest/IngestManager.java +++ b/src/main/java/org/waarp/vitam/ingest/IngestManager.java @@ -540,6 +540,7 @@ boolean getStatusOfATR(final IngestRequestFactory ingestRequestFactory, } } catch (VitamClientException e) { logger.warn("Issue since ingest client produces an error", e); + ingestRequest.setStep(IngestStep.ERROR, 500, ingestRequestFactory); } finally { // Shall read all InputStream StreamUtils.consumeAnyEntityAndClose(response);