Fixing pom of dissmissed library
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-couchbase@150543 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a787c899db
commit
0507bd691c
15
pom.xml
15
pom.xml
|
@ -18,6 +18,18 @@
|
|||
<serviceClass>DataPublishing</serviceClass>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>gcube-bom</artifactId>
|
||||
<version>LATEST</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/${project.artifactId}</connection>
|
||||
<developerConnection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/${project.artifactId}</developerConnection>
|
||||
|
@ -28,13 +40,12 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.data.publishing</groupId>
|
||||
<artifactId>document-store-lib</artifactId>
|
||||
<version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.7.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.couchbase.client</groupId>
|
||||
<artifactId>java-client</artifactId>
|
||||
|
|
|
@ -198,8 +198,13 @@ public class PersistenceCouchBase extends PersistenceBackend {
|
|||
@Override
|
||||
public void close() throws Exception {
|
||||
logger.trace("PersistenceCouchBase close" );
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isConnectionActive() throws Exception{
|
||||
return ! Connections.connectionsMap.get(nodes).getBucketsMap().get(BUCKET_SERVICE_NAME_PROPERTY_KEY).isClosed();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void closeAndClean() throws Exception {
|
||||
synchronized (Connections.connectionsMap) {
|
||||
|
|
Reference in New Issue