public class CKANUtility extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MEMBER_ROLE |
| Constructor and Description |
|---|
CKANUtility() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addUserToOrganization(String ckanUsername,
String role,
boolean force) |
protected static com.fasterxml.jackson.databind.JsonNode |
createCKANUser(String ckanUsername) |
static String |
getApiKey() |
protected static String |
getApiKey(String ckanUsername) |
static org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue |
getCatalogue() |
static com.fasterxml.jackson.databind.JsonNode |
getCKANUser() |
protected static String |
getCKANUsername() |
protected static String |
getCKANUsername(String username) |
static String |
getSysAdminAPI() |
public static final String MEMBER_ROLE
public static org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue getCatalogue()
throws Exception
Exceptionpublic static String getSysAdminAPI()
protected static String getCKANUsername()
public static com.fasterxml.jackson.databind.JsonNode getCKANUser()
protected static com.fasterxml.jackson.databind.JsonNode createCKANUser(String ckanUsername)
protected static void addUserToOrganization(String ckanUsername, String role, boolean force)
Copyright © 2019. All Rights Reserved.