concord
concord copied to clipboard
runtime-v2: plugin to assert flow call input parameters
example:
configuration:
runtime: concord-v2
dependencies:
- "mvn://com.walmartlabs.concord.plugins.basic:input-params-assert:1.102.1-SNAPSHOT"
arguments:
param1: "global"
flows:
default:
- call: test
in:
# param2: true
additionalParam: "value"
##
# in:
# param1: string, mandatory, param1 description
# param2: boolean, mandatory, param2 description
##
test:
- log: "in test"
cli output:
14:43:06.792 [main] (concord.yml): Error @ line: 11, col: 7. Input params validation failed: [$.param2: is missing but it is required]
Looks great but we need to figure out a way to share syntax definitions/parsers with the IDEA plugin. The typedef syntax needs another design pass too.