-
Notifications
You must be signed in to change notification settings - Fork 1
ScenarioRun Life Cycle
A ScenarioRun follow this life cycle:
- FetchingDatasets
- FetchingScenarioParameters
- ApplyingScenarioParameters *
- ValidatingScenarioData *
- SendingScenarioDataToDataWarehouse
- PreRun *
- Running *
- PostRun *
- Success
- Failed
Every life cycle steps except Running are optionals. * steps are provided by the Solution.
The ScenarioRun is queued in Platform Compute Cluster and is waiting for execution.
The ScenarioRun is fetching every declared Dataset by running their associated Connector.
The ScenarioRun is fetching the Scenario Parameters values from the Platform.
The ScenarioRun is running the Solution container with the handle-parameters action to apply the input parameters with the scripts declared in parametersHandlerResource.
Handler directory: code/run_templates/[RUN_TEMPLATE]/parameters_handler
The ScenarioRun is running the Solution container with the validate action to validate the input data with the scripts declared in datasetValidatorResource.
Handler directory: code/run_templates/[RUN_TEMPLATE]/validator
The ScenarioRun is sending Input Parameters values and modified Scenario Data to the DataWarehouse.
The ScenarioRun is running the Solution container with the prerun action to run the scripts declared in preRunResource.
Handler directory: code/run_templates/[RUN_TEMPLATE]/prerun
The ScenarioRun is running the Solution container with the standard main Simulator or the scripts declared in engineResource.
Handler directory: code/run_templates/[RUN_TEMPLATE]/engine
The ScenarioRun is running the Solution container with the postrun action to run the scripts declared in postRunResource.
Handler directory: code/run_templates/[RUN_TEMPLATE]/postrun
The ScenarioRun finished succesfully.
The ScenarioRun failed.