From 2ab6a33d880dec2d196d5c73abb7c761cd525c76 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Tue, 10 Oct 2017 12:59:41 +0000 Subject: [PATCH] Post Release 4.7.0 action. Upgraded version and fixed changelog. git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib--mongodb@155072 82a268e6-3cf1-43bd-a215-b396298e98cf --- distro/changelog.xml | 6 ++++++ pom.xml | 16 +++++++++++++--- .../persistence/PersistenceMongoDB.java | 10 +++++++++- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/distro/changelog.xml b/distro/changelog.xml index fb0f084..0525bba 100644 --- a/distro/changelog.xml +++ b/distro/changelog.xml @@ -1,6 +1,12 @@ + + + + + Implemented isConnectionActive() added in PersistenceBackend + Implemented the new api to close connection (if any) to persistence introduced by document-store-lib.1-5-0 diff --git a/pom.xml b/pom.xml index 5e26d1b..f7f0ba6 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.gcube.data.publishing document-store-lib-mongodb - 1.2.0-SNAPSHOT + 1.3.0-SNAPSHOT Document Store MongoDB Document Store MongoDB Implementation @@ -24,17 +24,27 @@ scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/${project.artifactId} https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/${project.artifactId} + + + + + org.gcube.distribution + gcube-bom + LATEST + pom + import + + + org.gcube.data.publishing document-store-lib - [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) org.slf4j slf4j-api - 1.7.5 org.mongodb diff --git a/src/main/java/org/gcube/documentstore/persistence/PersistenceMongoDB.java b/src/main/java/org/gcube/documentstore/persistence/PersistenceMongoDB.java index 9bf1eb8..125a42c 100644 --- a/src/main/java/org/gcube/documentstore/persistence/PersistenceMongoDB.java +++ b/src/main/java/org/gcube/documentstore/persistence/PersistenceMongoDB.java @@ -271,7 +271,15 @@ public class PersistenceMongoDB extends PersistenceBackend { return record; } - + @Override + protected void clean() throws Exception { + + } + + @Override + public boolean isConnectionActive() throws Exception { + return true; + }