Class RestISPublisher
- java.lang.Object
-
- org.gcube.vremanagement.executor.ispublisher.ISPublisher
-
- org.gcube.vremanagement.executor.ispublisher.RestISPublisher
-
public class RestISPublisher extends ISPublisher
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description protected UUIDeServiceUUIDprotected org.gcube.informationsystem.resourceregistry.client.ResourceRegistryClientresourceRegistryClientprotected org.gcube.informationsystem.resourceregistry.publisher.ResourceRegistryPublisherresourceRegistryPublisher-
Fields inherited from class org.gcube.vremanagement.executor.ispublisher.ISPublisher
applicationContext, isPublishers
-
-
Constructor Summary
Constructors Constructor Description RestISPublisher(org.gcube.smartgears.context.application.ApplicationContext applicationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacetgetPluginAccessPointFacet(org.gcube.vremanagement.executor.plugin.Plugin plugin, org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet smartExecutorAccessPointFacet)protected URIgetPluginEndpoint(String pluginName, org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet smartExecutorAccessPointFacet)protected org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacetgetSmartExecutorAccessPointFacet(org.gcube.resourcemanagement.model.reference.entities.resources.EService smartExecutorEService)protected URIgetSmartExecutorEndpoint(org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet smartExecutorAccessPointFacet)voidpublishPlugins(Map<String,Class<? extends org.gcube.vremanagement.executor.plugin.Plugin>> availablePlugins)protected org.gcube.resourcemanagement.model.reference.entities.resources.RunningPluginpublishRunningPluginWithRelations(org.gcube.vremanagement.executor.plugin.Plugin plugin, UUID pluginUUID)voidunpublishPlugins(boolean force)-
Methods inherited from class org.gcube.vremanagement.executor.ispublisher.ISPublisher
getISPublishers
-
-
-
-
Field Detail
-
eServiceUUID
protected final UUID eServiceUUID
-
resourceRegistryClient
protected org.gcube.informationsystem.resourceregistry.client.ResourceRegistryClient resourceRegistryClient
-
resourceRegistryPublisher
protected org.gcube.informationsystem.resourceregistry.publisher.ResourceRegistryPublisher resourceRegistryPublisher
-
-
Method Detail
-
getPluginEndpoint
protected URI getPluginEndpoint(String pluginName, org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet smartExecutorAccessPointFacet) throws Exception
- Throws:
Exception
-
getPluginAccessPointFacet
protected org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet getPluginAccessPointFacet(org.gcube.vremanagement.executor.plugin.Plugin plugin, org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet smartExecutorAccessPointFacet) throws Exception- Throws:
Exception
-
getSmartExecutorAccessPointFacet
protected org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet getSmartExecutorAccessPointFacet(org.gcube.resourcemanagement.model.reference.entities.resources.EService smartExecutorEService)
-
getSmartExecutorEndpoint
protected URI getSmartExecutorEndpoint(org.gcube.resourcemanagement.model.reference.entities.facets.AccessPointFacet smartExecutorAccessPointFacet) throws URISyntaxException
- Throws:
URISyntaxException
-
publishRunningPluginWithRelations
protected org.gcube.resourcemanagement.model.reference.entities.resources.RunningPlugin publishRunningPluginWithRelations(org.gcube.vremanagement.executor.plugin.Plugin plugin, UUID pluginUUID) throws Exception- Throws:
Exception
-
publishPlugins
public void publishPlugins(Map<String,Class<? extends org.gcube.vremanagement.executor.plugin.Plugin>> availablePlugins) throws Exception
- Specified by:
publishPluginsin classISPublisher- Throws:
Exception
-
unpublishPlugins
public void unpublishPlugins(boolean force) throws Exception- Specified by:
unpublishPluginsin classISPublisher- Throws:
Exception
-
-