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

Add a validate only flag process to facilitate descriptor testing in feature branches and add ConfigurationKeyValidation and TopicNameRegexValidation validations #274

Merged
merged 12 commits into from
May 1, 2021

Conversation

purbon
Copy link
Collaborator

@purbon purbon commented May 1, 2021

This PR add a validate only flag to allow easier validation of topologies within the context of feature branches and configured validations.

As well this PR adds two new validations:

closes #165

purbon and others added 3 commits May 1, 2021 13:03
…lidations in the topology. This would be without access to the cluster, if validations are required with connectivity they would need to use the dry run parameter
@purbon purbon force-pushed the validate-dry-run branch from 6aa06b3 to dddf8b2 Compare May 1, 2021 11:04
@purbon purbon changed the title Add a validate only flag process to facilitate descriptor testing in feature branches Add a validate only flag process to facilitate descriptor testing in feature branches and add ConfigurationKeyValidation and TopicNameRegexValidation validations May 1, 2021
@purbon purbon merged commit 6310a03 into master May 1, 2021
purbon added a commit that referenced this pull request May 3, 2021
…feature branches and add ConfigurationKeyValidation and TopicNameRegexValidation validations (#274)

* add a validate option for the CLI, this would allow only to run validations in the topology. This would be without access to the cluster, if validations are required with the connectivity they would need to use the dry run parameter

* add validation for config keys in topics

* Add a TopicNameRegexValidation to validate topic names

* simplify the code by making the validation a topic one and add test for this module

* make the config value a constant for the topic name regexp

* docs update

Co-authored-by: Leonardo Bonacci <aabcehmu@mailfence.com>
purbon added a commit that referenced this pull request May 3, 2021
…feature branches and add ConfigurationKeyValidation and TopicNameRegexValidation validations (#274)

* add a validate option for the CLI, this would allow only to run validations in the topology. This would be without access to the cluster, if validations are required with the connectivity they would need to use the dry run parameter

* add validation for config keys in topics

* Add a TopicNameRegexValidation to validate topic names

* simplify the code by making the validation a topic one and add test for this module

* make the config value a constant for the topic name regexp

* docs update

Co-authored-by: Leonardo Bonacci <aabcehmu@mailfence.com>

remove usage of var
purbon added a commit that referenced this pull request Aug 18, 2021
…feature branches and add ConfigurationKeyValidation and TopicNameRegexValidation validations (#274)

* add a validate option for the CLI, this would allow only to run validations in the topology. This would be without access to the cluster, if validations are required with the connectivity they would need to use the dry run parameter

* add validation for config keys in topics

* Add a TopicNameRegexValidation to validate topic names

* simplify the code by making the validation a topic one and add test for this module

* make the config value a constant for the topic name regexp

* docs update

Co-authored-by: Leonardo Bonacci <aabcehmu@mailfence.com>

remove usage of var
@purbon purbon deleted the validate-dry-run branch December 9, 2021 10:32
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

Successfully merging this pull request may close these issues.

Running KTB with validateOnly option
2 participants