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

feature: introduce a more robust validation mode #190

Closed
hbagdi opened this issue Jul 14, 2020 · 1 comment
Closed

feature: introduce a more robust validation mode #190

hbagdi opened this issue Jul 14, 2020 · 1 comment

Comments

@hbagdi
Copy link
Member

hbagdi commented Jul 14, 2020

Currently, decK provides a validate command which does JSON schema validation of the input and also creates an in-memory state. While this detects some errors with user-input, we can do more.
Kong ships with a validate endpoint for each entity:
https://docs.konghq.com/2.0.x/db-less-admin-api/#validate-a-configuration-against-a-schema

A new mode for validate command (gated using a boolean CLI flag) should run all the entities present in the state against the Admin API endpoint. This should catch almost all errors with the user input.

@stale
Copy link

stale bot commented Mar 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Will be closed unless advocated for within 7 days label Mar 20, 2021
@stale stale bot closed this as completed Mar 27, 2021
@hbagdi hbagdi reopened this Mar 29, 2021
@stale stale bot removed the stale Will be closed unless advocated for within 7 days label Mar 29, 2021
@hbagdi hbagdi closed this as completed in cac49c4 Jan 19, 2022
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

1 participant