src.core.processing_pipe.src package¶
Submodules¶
src.core.processing_pipe.src.Job module¶
-
class
src.core.processing_pipe.src.Job.
Job
(outbox_path, plugins_path, lock, i)[source]¶ Bases:
threading.Thread
This class is the thread to launch Processors plugin. This class retrieves the processable products from database (products with state donwloaded) and it runs the plugins.
src.core.processing_pipe.src.JobDispatcher module¶
-
class
src.core.processing_pipe.src.JobDispatcher.
JobDispatcher
(outbox_path, plugins_path, delegate)[source]¶ Bases:
threading.Thread
This class dispatches processing jobs.
src.core.processing_pipe.src.Plugin module¶
-
class
src.core.processing_pipe.src.Plugin.
Plugin
(plugin_name, plugin_path)[source]¶ Bases:
object
It is a wrapper of C++ plugin. This class generates the folder of new product and runs the dynamic shared libraries (c++ plugins).
src.core.processing_pipe.src.PluginManager module¶
-
class
src.core.processing_pipe.src.PluginManager.
PluginManager
(plugins_path)[source]¶ Bases:
object
This is the manager of plugins, it compiles C++ plugins and retrieve the list of available plugins, in ichnosat platform
src.core.processing_pipe.src.ProcessingPipeManager module¶
-
class
src.core.processing_pipe.src.ProcessingPipeManager.
ProcessingPipeManager
[source]¶ Bases:
object
It is the entry point of the Processor, handling the processing requests triggered by the Downloader
-
notify_to_scientific_processor
(file_path)[source]¶ This method launches the http request to trigger a new processing process. It represent the networking interface to the scientific processor.
Parameters: file_path (String) – The path where is located the product to process
-