NIFI-15785 - Update parameter and parameter context descriptions during versioned flow upgrade#11096
Conversation
…ng versioned flow upgrade
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks @pvillard31, the functional changes look good. I noticed the a number of repeated values in the tests, including things like description strings where the value is being asserted. Pulling these out to class level or method level variables would be helpful for maintainability.
|
Thanks for the review @exceptionfactory - I did some cleanup as suggested. I could go further with the strings like "abc", "param1", etc, but that would be touching all of the test class. Let me know if this should be done. |
Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks @pvillard31, it looks like it would be helpful to declare some static Maps for reusable parameter names and values where applicable.
exceptionfactory
left a comment
There was a problem hiding this comment.
Thanks @pvillard31! +1 merging
Summary
NIFI-15785 - Update parameter and parameter context descriptions during versioned flow upgrade
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000VerifiedstatusPull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
./mvnw clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation