concord icon indicating copy to clipboard operation
concord copied to clipboard

runtime-v2: plugin to assert flow call input parameters

Open brig opened this issue 2 years ago • 1 comments

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]

brig avatar Jul 12 '23 12:07 brig

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.

ibodrov avatar Oct 16 '23 15:10 ibodrov