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

Configuration Validation #29

Open
fm-tibco opened this issue Feb 5, 2019 · 0 comments
Open

Configuration Validation #29

fm-tibco opened this issue Feb 5, 2019 · 0 comments
Assignees

Comments

@fm-tibco
Copy link

fm-tibco commented Feb 5, 2019

Current behavior:
No explicit configuration validation via json schema

Expected behavior:

Generate json schema for flogo.json configuration and all resources. A project should have the ability to enable/disable configuration validation. If configuration is disabled, schema validation related imports should be excluded. Engine shouldn't include the validation code if it is not being used.

What is the motivation / use case for changing the behavior?

Additional information you deem important (e.g. I need this tomorrow):

We should enable configuration schema validation code loading by convention

  • if enabled add import for flogo.json validation

  • if enabled add import for each action (for their resources)
    (ex. /config/validation)

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

No branches or pull requests

3 participants