qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6168) On create or change, validate an object's attributes against its valid values
Date Mon, 20 Oct 2014 19:58:34 GMT

    [ 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

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message