[
https://issues.apache.org/jira/browse/QPID-6168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177397#comment-14177397
]
ASF subversion and git services commented on QPID-6168:
-------------------------------------------------------
Commit 1633216 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1633216 ]
QPID-6168: [Java Broker] Improve unit tests around valid values and setting of
enums
> 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]