Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime-v2: plugin to assert flow call input parameters #786

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

brig
Copy link
Contributor

@brig brig commented Jul 12, 2023

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]

@ibodrov
Copy link
Collaborator

ibodrov commented Oct 16, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants