minor fixes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129082 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ab63c6c83a
commit
7ffb33200e
|
@ -140,7 +140,7 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
|
||||||
List<CkanOrganization> toReturn = new ArrayList<CkanOrganization>();
|
List<CkanOrganization> toReturn = new ArrayList<CkanOrganization>();
|
||||||
|
|
||||||
// get the CkanClient to retrieve the organization from the id
|
// get the CkanClient to retrieve the organization from the id
|
||||||
CkanClient client = new CkanClient("https://ckan-d-d4s.d4science.org");
|
CkanClient client = new CkanClient(CKAN_CATALOGUE_URL);
|
||||||
|
|
||||||
try{
|
try{
|
||||||
// for each org id, check if the user is included
|
// for each org id, check if the user is included
|
||||||
|
@ -263,11 +263,10 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
toReturn.add(rs.getString("id"));
|
toReturn.add(rs.getString("id"));
|
||||||
}
|
}
|
||||||
}catch(Exception e){
|
|
||||||
logger.error("Unable to retrieve list of organization ids");
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.debug("Organizations' ids retrieved");
|
logger.debug("Organizations' ids retrieved");
|
||||||
|
}catch(Exception e){
|
||||||
|
logger.error("Unable to retrieve list of organization ids", e);
|
||||||
|
}
|
||||||
return toReturn;
|
return toReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue