Class RestISPublisher


  • public class RestISPublisher
    extends ISPublisher
    Author:
    Luca Frosini (ISTI - CNR)
    • 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
    • Constructor Detail

      • RestISPublisher

        public RestISPublisher​(org.gcube.smartgears.context.application.ApplicationContext applicationContext)
    • 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