As an User
I want to know a.s.a.p. that I didn't gave the correct execution configuration key/value pairs for the given pipeline definition
so I don't have partly executed pipelines before I notice the error
Acceptance criteria
- Should verify and validate provided execution configuration against the pipeline definition before executing the pipeline
- Execution should fail when execution configuration is incorrect
- Fail message should provide details on:
- Which key it failed on
- Why it failed on that key, eg.:
- Key provided but not expected
- Required key not provided
- Value of key invalid, incl. reason when possible
- Should fail only after all execution configuration is verified
- Fail message should contain all execution configuration failures
Implementation ideas:
- Implement multiple phases of execution, eg:
- Validation phase, that executes the configuration validation as described by this story
- Execution phase, that executes the pipeline with the provided configuration