public abstract class AbstractISModule extends Object implements ISModule
| 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 abstract String |
getGCoreEndpointServiceClass() |
protected abstract String |
getGCoreEndpointServiceName() |
ServiceHealthReport |
getHealthReport() |
List<org.gcube.common.resources.gcore.ServiceEndpoint> |
getISInformation() |
protected abstract String |
getManagedServiceType() |
protected abstract String |
getServiceEndpointAccessPointName() |
protected abstract String |
getServiceEndpointCategory() |
protected abstract String |
getServiceEndpointPlatformName() |
String |
importHostFromToken(String sourceToken,
String host) |
protected abstract boolean |
isSmartGearsMandatory() |
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) |
protected List<org.gcube.common.resources.gcore.GCoreEndpoint> |
queryGcoreEndpoints() |
protected List<org.gcube.common.resources.gcore.ServiceEndpoint> |
queryServiceEndpoints() |
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()
protected abstract boolean isSmartGearsMandatory()
public List<org.gcube.common.resources.gcore.ServiceEndpoint> getISInformation() throws ConfigurationNotFoundException
getISInformation in interface ISModuleConfigurationNotFoundExceptionpublic ServiceHealthReport getHealthReport()
getHealthReport in interface ISModuleprotected abstract List<Status> performInstanceCheck(org.gcube.common.resources.gcore.ServiceEndpoint se)
protected List<org.gcube.common.resources.gcore.GCoreEndpoint> queryGcoreEndpoints()
protected List<org.gcube.common.resources.gcore.ServiceEndpoint> queryServiceEndpoints()
public String importHostFromToken(String sourceToken, String host) throws ServiceRegistrationException
importHostFromToken in interface ISModuleServiceRegistrationExceptionpublic String registerService(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) throws ServiceRegistrationException
registerService in interface ISModuleServiceRegistrationExceptionprotected 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)
throws ServiceRegistrationException
ServiceRegistrationExceptionCopyright © 2017. All Rights Reserved.