Added two logs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@179743 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
dc03b37956
commit
d3b8c4de59
|
@ -75,6 +75,7 @@ public class SimpleExtendCkanClient extends CkanClient{
|
|||
*/
|
||||
public synchronized CkanOrganization getOrganization(String idOrName) {
|
||||
checkNotNull(idOrName, "Need a valid id or name!");
|
||||
logger.info("Patched read organization for id/name: {}", idOrName);
|
||||
return getHttp(OrganizationResponse.class, "/api/3/action/organization_show", "id", idOrName,
|
||||
"include_datasets", "false", "include_users", "true").result;
|
||||
|
||||
|
@ -92,6 +93,7 @@ public class SimpleExtendCkanClient extends CkanClient{
|
|||
*/
|
||||
public synchronized CkanGroup getGroup(String idOrName) {
|
||||
checkNotNull(idOrName, "Need a valid id or name!");
|
||||
logger.info("Patched read group for id/name: {}", idOrName);
|
||||
return getHttp(GroupResponse.class, "/api/3/action/group_show", "id", idOrName, "include_datasets",
|
||||
"false", "include_users", "true").result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue