public class GeoNetworkRetriever extends AbstractISModule<GeoNetworkConfiguration>
| Constructor and Description |
|---|
GeoNetworkRetriever() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkDefinitionForServiceType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
protected void |
checkDefinitionType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition) |
protected static Credentials |
fromGeoNetworkAccount(org.gcube.spatial.data.geonetwork.model.Account toTranslate) |
protected String |
getGCoreEndpointServiceClass() |
protected String |
getGCoreEndpointServiceName() |
protected String |
getManagedServiceType() |
GeoNetworkConfiguration |
getObject() |
protected String |
getServiceEndpointAccessPointName() |
protected String |
getServiceEndpointCategory() |
protected String |
getServiceEndpointPlatformName() |
protected static org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint |
getTheRightAccessPoint(org.gcube.common.resources.gcore.ServiceEndpoint resource,
String endpointName,
String priorityProperty)
look for the access point compliant with configured endpointName and maxPriority (1)
|
protected static org.gcube.common.resources.gcore.ServiceEndpoint |
getTheRightServiceEndpoint(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources,
String endpointName,
String priorityProperty) |
protected 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) |
checkDefinition, getGcoreEndpoints, getHealthReport, getServiceEndpoints, importHostFromToken, registerServicepublic GeoNetworkConfiguration getObject() throws ConfigurationNotFoundException
ConfigurationNotFoundExceptionprotected static final Credentials fromGeoNetworkAccount(org.gcube.spatial.data.geonetwork.model.Account toTranslate)
protected static final org.gcube.common.resources.gcore.ServiceEndpoint getTheRightServiceEndpoint(List<org.gcube.common.resources.gcore.ServiceEndpoint> resources, String endpointName, String priorityProperty)
protected static final org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint getTheRightAccessPoint(org.gcube.common.resources.gcore.ServiceEndpoint resource,
String endpointName,
String priorityProperty)
protected String getGCoreEndpointServiceClass()
getGCoreEndpointServiceClass in class AbstractISModule<GeoNetworkConfiguration>protected String getGCoreEndpointServiceName()
getGCoreEndpointServiceName in class AbstractISModule<GeoNetworkConfiguration>protected String getManagedServiceType()
getManagedServiceType in class AbstractISModule<GeoNetworkConfiguration>protected String getServiceEndpointCategory()
getServiceEndpointCategory in class AbstractISModule<GeoNetworkConfiguration>protected String getServiceEndpointPlatformName()
getServiceEndpointPlatformName in class AbstractISModule<GeoNetworkConfiguration>protected String getServiceEndpointAccessPointName()
getServiceEndpointAccessPointName in class AbstractISModule<GeoNetworkConfiguration>protected List<Status> performInstanceCheck(org.gcube.common.resources.gcore.ServiceEndpoint se)
performInstanceCheck in class AbstractISModule<GeoNetworkConfiguration>protected void checkDefinitionForServiceType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
checkDefinitionForServiceType in class AbstractISModule<GeoNetworkConfiguration>protected org.gcube.common.resources.gcore.ServiceEndpoint prepareEndpoint(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
prepareEndpoint in class AbstractISModule<GeoNetworkConfiguration>protected void checkDefinitionType(org.gcube.spatial.data.sdi.model.services.ServiceDefinition definition)
throws InvalidServiceDefinitionException
checkDefinitionType in class AbstractISModule<GeoNetworkConfiguration>InvalidServiceDefinitionExceptionCopyright © 2017. All Rights Reserved.