feat: Add support for enabling and disabling QA category to Move2Kube API #162
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added feature requested in konveyor/move2kube#1155, konveyor/move2kube#1151 (comment)
Currently, Move2Kube API doesn't have support for
--qa-enableand--qa-disableflags, which are supported by Move2Kube CLI.Now, Move2Kube API will also support enabling/disabling QA category, similar to how the Move2Kube CLI allows for enabling/disabling the QA category using
--qa-disableand--qa-enableflags.Disabling QA category/categories
For example, to disable the questions from the
transformers,networkandsourceanalyzercategories-Move2Kube only asks the questions from the categories that are not disabled. So, in this case it directly ask the question from
imageregistrycategory as thetransformers,sourceanalyzerandnetworkcategories are disabled.It can also be done using the
curlcommand in multiple ways.Enabling QA category/categories
For example, to enable the questions only from the
cicdcategory-Move2Kube transform straightaway skips all the questions that belong to the categories other than the enabled category (
cicdin this case).This can also be done using the
curlcommand.To enable this support, I have also updated the QA engine of Move2Kube- konveyor/move2kube#1156
Signed-off-by: Akash Nayak [email protected]