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; + }