public abstract class AbstractISModule<T> extends Object implements ISModule<T>
| Constructor and Description |
|---|
AbstractISModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDefinition(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
protected abstract void |
checkDefinitionForServiceType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
protected abstract void |
checkDefinitionType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
protected List<org.gcube.common.resources.gcore.GCoreEndpoint> |
getGcoreEndpoints() |
protected abstract String |
getGCoreEndpointServiceClass() |
protected abstract String |
getGCoreEndpointServiceName() |
ServiceHealthReport |
getHealthReport() |
protected abstract String |
getManagedServiceType() |
protected abstract String |
getServiceEndpointAccessPointName() |
protected abstract String |
getServiceEndpointCategory() |
protected abstract String |
getServiceEndpointPlatformName() |
protected List<org.gcube.common.resources.gcore.ServiceEndpoint> |
getServiceEndpoints() |
String |
importHostFromToken(String sourceToken,
String host) |
protected abstract List<Status> |
performInstanceCheck(org.gcube.common.resources.gcore.ServiceEndpoint se) |
protected org.gcube.common.resources.gcore.ServiceEndpoint |
prepareEndpoint(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
String |
registerService(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
protected abstract String getGCoreEndpointServiceClass()
protected abstract String getGCoreEndpointServiceName()
protected abstract String getServiceEndpointAccessPointName()
protected abstract String getServiceEndpointCategory()
protected abstract String getServiceEndpointPlatformName()
protected abstract String getManagedServiceType()
public ServiceHealthReport getHealthReport()
getHealthReport in interface ISModule<T>protected abstract List<Status> performInstanceCheck(org.gcube.common.resources.gcore.ServiceEndpoint se)
protected List<org.gcube.common.resources.gcore.GCoreEndpoint> getGcoreEndpoints()
protected List<org.gcube.common.resources.gcore.ServiceEndpoint> getServiceEndpoints()
public String importHostFromToken(String sourceToken, String host) throws ServiceRegistrationException
importHostFromToken in interface ISModule<T>ServiceRegistrationExceptionpublic String registerService(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) throws ServiceRegistrationException
registerService in interface ISModule<T>ServiceRegistrationExceptionprotected abstract void checkDefinitionForServiceType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
throws InvalidServiceDefinitionException
protected abstract void checkDefinitionType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
throws InvalidServiceDefinitionException
protected void checkDefinition(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
throws ServiceRegistrationException
ServiceRegistrationExceptionprotected org.gcube.common.resources.gcore.ServiceEndpoint prepareEndpoint(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
Copyright © 2017. All Rights Reserved.