File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,17 @@ Dahu: Data Analysis RPC server over Tango
4
4
Software chunks initially developped for **ID02 upgrade program ** in 2012-2014.
5
5
6
6
Dahu is a lightweight plugin based framework...
7
- ... technically a JSON-RPC server over Tango
7
+ ... technically a JSON-RPC server over Tango:
8
+
8
9
* plugins can be class or can be generated from any state-less function written in Python
9
10
* a plugin is executed within a job, each job lives in its own thread.
10
11
* plugins have empty constructors plus 4 methods (or more)
12
+
11
13
- `setup ` allows to set the input parameters. Sanitization is performed here.
12
14
- `process ` does the work.
13
15
- `teardown ` sets the output, the logging and cleans up (if needed).
14
16
- `abort ` can be used to stop the processing if a plugin is a daemon.
17
+
15
18
* the job is responsible for serializing on disk of the plugin's input and output
16
19
* jobs can be launched using the tango interface (or other ...)
17
20
* plugins have a single input and output, they are simple JSON-serializable dictionaries.
You can’t perform that action at this time.
0 commit comments