153 | | Your metadata is now ok, so you now must create the code of your Service. The most important thing you must be aware of when coding ZOO Services is that the function corresponding to your Service takes three parameters (internal maps datatype or Python dictionaries) and returns an integer value representing the status of execution (SERVICE_FAILED or SERVICE_SUCCEEDED) : |
154 | | |
155 | | * conf : The main environment configuration (corresponding to the main.cfg content) |
156 | | * inputs : The requested / default inputs |
157 | | * outputs : The requested / default outputs |
| 153 | Your metadata is now ok, so you now must create the code of your Service. The most important thing you must be aware of when coding ZOO Services is that the function corresponding to your Service takes three parameters (internal maps datatype or Python dictionaries) and returns an integer value representing the status of execution ({{{SERVICE_FAILED}}} or {{{SERVICE_SUCCEEDED}}}) : |
| 154 | |
| 155 | * {{{conf}}} : The main environment configuration (corresponding to the main.cfg content) |
| 156 | * {{{inputs}}} : The requested / default inputs |
| 157 | * {{{outputs}}} : The requested / default outputs |