public class ISUtils extends Object
| Constructor and Description |
|---|
ISUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
addToScope(org.gcube.common.resources.gcore.ServiceEndpoint se,
org.gcube.common.resources.gcore.GCoreEndpoint gc,
String targetScope) |
static String |
decryptString(String toDecrypt) |
static String |
encryptString(String toEncrypt) |
static <T extends org.gcube.common.resources.gcore.Resource> |
getByHostnameInCollection(String hostname,
Collection<T> toCheckList) |
static String |
getHost(org.gcube.common.resources.gcore.Resource res) |
static HashSet<String> |
getSiblingsScopesInResource(org.gcube.common.resources.gcore.Resource res,
String scope) |
static String |
marshal(org.gcube.common.resources.gcore.Resource res) |
static List<String> |
queryById(String id) |
static List<org.gcube.common.resources.gcore.GCoreEndpoint> |
queryForGCoreEndpoint(String serviceClass,
String serviceName) |
static List<org.gcube.common.resources.gcore.ServiceEndpoint> |
queryForServiceEndpoints(String category,
String platformName) |
static List<org.gcube.common.resources.gcore.ServiceEndpoint> |
querySEByHostname(String category,
String platformName,
String hostname) |
static org.gcube.common.resources.gcore.ServiceEndpoint |
querySEById(String id) |
static String |
registerService(org.gcube.common.resources.gcore.ServiceEndpoint toRegister) |
static org.gcube.common.resources.gcore.ServiceEndpoint |
update(org.gcube.common.resources.gcore.ServiceEndpoint toUpdate) |
static org.gcube.common.resources.gcore.ServiceEndpoint |
updateAndWait(org.gcube.common.resources.gcore.ServiceEndpoint toUpdate) |
public static List<org.gcube.common.resources.gcore.ServiceEndpoint> queryForServiceEndpoints(String category, String platformName)
public static List<org.gcube.common.resources.gcore.GCoreEndpoint> queryForGCoreEndpoint(String serviceClass, String serviceName)
public static <T extends org.gcube.common.resources.gcore.Resource> T getByHostnameInCollection(String hostname, Collection<T> toCheckList) throws UnknownHostException
UnknownHostExceptionpublic static String getHost(org.gcube.common.resources.gcore.Resource res)
public static List<org.gcube.common.resources.gcore.ServiceEndpoint> querySEByHostname(String category, String platformName, String hostname)
public static org.gcube.common.resources.gcore.ServiceEndpoint querySEById(String id)
public static String registerService(org.gcube.common.resources.gcore.ServiceEndpoint toRegister)
public static String addToScope(org.gcube.common.resources.gcore.ServiceEndpoint se, org.gcube.common.resources.gcore.GCoreEndpoint gc, String targetScope) throws org.gcube.vremanagement.resourcemanager.client.exceptions.ResourcesCreationException, org.gcube.vremanagement.resourcemanager.client.exceptions.InvalidScopeException
org.gcube.vremanagement.resourcemanager.client.exceptions.ResourcesCreationExceptionorg.gcube.vremanagement.resourcemanager.client.exceptions.InvalidScopeExceptionpublic static org.gcube.common.resources.gcore.ServiceEndpoint update(org.gcube.common.resources.gcore.ServiceEndpoint toUpdate)
public static org.gcube.common.resources.gcore.ServiceEndpoint updateAndWait(org.gcube.common.resources.gcore.ServiceEndpoint toUpdate)
public static String marshal(org.gcube.common.resources.gcore.Resource res)
Copyright © 2022. All Rights Reserved.