merlimat commented on issue #1317: get/set API for namespace policy need to be 
refactored
URL: 
https://github.com/apache/incubator-pulsar/issues/1317#issuecomment-369851901
 
 
   I completely agree with the goal of simplification, but I think the problem 
is that each property is not of the same type: some are simple long/string 
scalars, while others are complex objects.
   
   The validations performed also are kind of different for each property.
   
   Finally, while the refactoring looks good for REST, I would still prefer to 
have individual operations on the Java/CLI since it makes the user life easier, 
by discovering all the possible methods/commands.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to