diff --git a/distro/changelog.xml b/distro/changelog.xml index 8e93909..ec4aea0 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 338823d..7b71f2d 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.gcube.data.publishing document-store-lib-couchdb - 1.2.0-SNAPSHOT + 1.3.0-SNAPSHOT Document Store CouchDB Connector Document Store Connector for CouchDB @@ -23,12 +23,23 @@ 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.codehaus.jackson @@ -38,7 +49,6 @@ org.slf4j slf4j-api - 1.7.5 org.gcube.common diff --git a/src/main/java/org/gcube/documentstore/persistence/PersistenceCouchDB.java b/src/main/java/org/gcube/documentstore/persistence/PersistenceCouchDB.java index 67d4cd0..2f96362 100644 --- a/src/main/java/org/gcube/documentstore/persistence/PersistenceCouchDB.java +++ b/src/main/java/org/gcube/documentstore/persistence/PersistenceCouchDB.java @@ -83,4 +83,14 @@ public class PersistenceCouchDB extends PersistenceBackend { return record; } + @Override + protected void clean() throws Exception { + + } + + @Override + public boolean isConnectionActive() throws Exception { + return true; + } + }