Add OpenConnection
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-couchdb@142229 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9e86d6b341
commit
7b19820b88
2
pom.xml
2
pom.xml
|
@ -8,7 +8,7 @@
|
|||
</parent>
|
||||
<groupId>org.gcube.data.publishing</groupId>
|
||||
<artifactId>document-store-lib-couchdb</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<version>1.1.1-SNAPSHOT</version>
|
||||
<name>Document Store CouchDB Connector</name>
|
||||
<description>Document Store Connector for CouchDB</description>
|
||||
|
||||
|
|
|
@ -51,7 +51,8 @@ public class PersistenceCouchDB extends PersistenceBackend {
|
|||
|
||||
httpCouchClient = new HttpCouchClient(url, dbName, username, password);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void openConnection() throws Exception {}
|
||||
protected void createItem(JsonNode node, String id) throws Exception {
|
||||
httpCouchClient.put(node.toString(), id);
|
||||
}
|
||||
|
|
Reference in New Issue