swamirishi opened a new pull request, #7603:
URL: https://github.com/apache/ozone/pull/7603

   ## What changes were proposed in this pull request?
   Currently the annotation RequestFeatureValidator only works on a binary 
conditions which could be cumbersome if we want validators to run only for 
specific older versions. All validators registered would have to perform this 
redundant version check which could lead to potential bugs (which already 
exist) if this check is missed somewhere.
   This PR looks into adding an annotion & it's corresponding annotation 
processor which would enable us to add versions while registering a validator. 
This annotation would not be used anywhere and would be done in a follow up 
patch.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-11981
   
   ## How was this patch tested?
   Existing Unit tests and additional unit tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to