-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add contract testing for policies #1847
Conversation
Waiting for upcoming release of package-spec including the definitions for policy test files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
name: system | ||
name: test-httpjson-secret-system | ||
streams: | ||
- auth.basic.password: ${SECRET_0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, I was wondering how it would be written/tested secrets
👍
Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com>
💚 Build Succeeded
History
cc @jsoriano |
Add a new
policy
test runner that can be used to test different sets of configuration values.With this test runner, a set of package or data stream variables can be used to create a policy, and the policy can be compared with a pre-generated one.
Examples are provided for the
sql_input
andapache
test packages.Closes #947