ahgittin opened a new pull request #1142:
URL: https://github.com/apache/brooklyn-server/pull/1142


   Previously the enforcement of config key constraints was spotty -- there was 
an explicit check in a few places, such as entity initialization -- but many 
places it was skipped.
   
   This now does validation when individual keys are set (although not if a map 
is set, and not if it is a deferred supplier / future / etc) _and_ when keys 
are retrieved.  Where config keys are declared by a context (eg an entity) the 
declared key is looked up and used for constraints, so validation is performed 
even if anonymous (untyped) config keys are used to set or retrieved.
   
   Extensive tests added.


----------------------------------------------------------------
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.

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


Reply via email to