Open Akash-Nayak opened 7 months ago
Thanks for making a pull request! 😃 One of the maintainers will review and advise on the next steps.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 14.48%. Comparing base (
09e78d0
) to head (1d94cbe
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Added feature requested in https://github.com/konveyor/move2kube/issues/1155, https://github.com/konveyor/move2kube/issues/1151#issuecomment-1993816895
Currently, Move2Kube API doesn't have support for
--qa-enable
and--qa-disable
flags, 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-disable
and--qa-enable
flags.Disabling QA category/categories
For example, to disable the questions from the
transformers
,network
andsourceanalyzer
categories-Move2Kube only asks the questions from the categories that are not disabled. So, in this case it directly ask the question from
imageregistry
category as thetransformers
,sourceanalyzer
andnetwork
categories are disabled.It can also be done using the
curl
command in multiple ways.Enabling QA category/categories
For example, to enable the questions only from the
cicd
category-Move2Kube transform straightaway skips all the questions that belong to the categories other than the enabled category (
cicd
in this case).This can also be done using the
curl
command.To enable this support, I have also updated the QA engine of Move2Kube- https://github.com/konveyor/move2kube/pull/1156
Signed-off-by: Akash Nayak akash19nayak@gmail.com