You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/10/20 18:00:38 UTC

[jira] [Created] (QPID-6168) On create or change, validate an object's attributes against its valid values

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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org