Keith Wall created QPID-6168:
--------------------------------

             Summary: On create or change, validate an object's attributes 
against its valid values
                 Key: QPID-6168
                 URL: https://issues.apache.org/jira/browse/QPID-6168
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Keith Wall
             Fix For: 0.31


In the Java Broker's model, attributes can be annotated with valid values. 
These are a set of possible values which it is legal for the attribute to be.   
This metadata is already exposed to clients (like the Web Mangement UI) in 
order to allow them to auto-populate drop downs (etc) with legal values without 
needless duplication of logic on the client side.

Currently, the CO tier on the Broker side does not enforce that the attributes 
have a value from the valid value set.   We have some per instance style 
validation that could be replaced with common code.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to