added disconnect connection

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@130210 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-07-10 16:45:05 +00:00
parent 98def5426d
commit c2de9da3c7
1 changed files with 3 additions and 0 deletions

View File

@ -807,6 +807,9 @@ public class CKanUtilsImpl implements CKanUtils{
logger.info("CKan organization created [" + connection.getResponseMessage() + "]");
result = true;
}
// close the connection
connection.disconnect();
}catch(Exception e){
logger.error("Unable to create the organization", e);