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

Data source lookups should return a default value when the source in unavailable #68

Open
blakeneyops opened this issue Jun 13, 2018 · 0 comments

Comments

@blakeneyops
Copy link
Member

It is common in CI environments that we may be testing stacks that depend on each other, which have not yet been applied. Currently, this causes some not very gracefully handled errors and requires some overriding of build data.

I think two features would be useful here:

  • Firstly, it would be good to have a flag that disables all external lookups and simply returns something like "covalence_generated". This would be useful for scenarios where we simply want to test that a tool can execute the provided code and the actual data is irrelevant.
  • Second, it would be good if Covalence additionally returned a canned response in the event of executing a plan where the data source either doesn't respond or isn't present.

Additionally, there should be better error handling when a lookup is required and does not resolve.

These modes could be feature flagged with an environment variable to provide some flexibility in how Covalence responds under specific conditions.

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