public class GRSFUpdaterServiceClient extends Object
| Constructor and Description |
|---|
GRSFUpdaterServiceClient() |
| Modifier and Type | Method and Description |
|---|---|
static String |
discoverEndPoint(String context)
Discover the service endpoint of the GRSF Updater service and return its url
|
static void |
revertOperation(eu.trentorise.opendata.jackan.internal.org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceUrl,
String fullName,
String uuid)
Send updates to the knowledge base
|
static void |
updateKB(eu.trentorise.opendata.jackan.internal.org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceUrl,
ManageProductBean bean,
org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue catalogue,
String username,
String fullName)
Send updates to the knowledge base
|
public static String discoverEndPoint(String context) throws Exception
context - Exceptionpublic static void updateKB(eu.trentorise.opendata.jackan.internal.org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceUrl,
ManageProductBean bean,
org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue catalogue,
String username,
String fullName)
throws Exception
httpClient - serviceUrl - bean - catalogue - username - fullName - Exceptionpublic static void revertOperation(eu.trentorise.opendata.jackan.internal.org.apache.http.impl.client.CloseableHttpClient httpClient,
String serviceUrl,
String fullName,
String uuid)
throws Exception
httpClient - serviceUrl - bean - catalogue - username - fullName - ExceptionCopyright © 2019. All Rights Reserved.