git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-couchdb@142292 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7b19820b88
commit
aa3d15e550
|
@ -56,6 +56,9 @@ public class PersistenceCouchDB extends PersistenceBackend {
|
||||||
protected void createItem(JsonNode node, String id) throws Exception {
|
protected void createItem(JsonNode node, String id) throws Exception {
|
||||||
httpCouchClient.put(node.toString(), id);
|
httpCouchClient.put(node.toString(), id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void closeConnection() throws Exception {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
@ -79,5 +82,7 @@ public class PersistenceCouchDB extends PersistenceBackend {
|
||||||
Record record = RecordUtility.getRecord(result);
|
Record record = RecordUtility.getRecord(result);
|
||||||
return record;
|
return record;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue