[jboss-jira] [JBoss JIRA] (WFCORE-510) Fix filtering in domain mode

ehsavoie Hugonnet (JIRA) issues at jboss.org
Fri Mar 6 12:24:49 EST 2015


    [ https://issues.jboss.org/browse/WFCORE-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047120#comment-13047120 ] 

ehsavoie Hugonnet edited comment on WFCORE-510 at 3/6/15 12:24 PM:
-------------------------------------------------------------------

The problem is that the removal of undefined results happens on the operationContext.result and not on the DomainOperationContext.coordinatorResult because the query is done 'against' the servers


was (Author: ehugonnet):
The problem is that the removal of undefined results happens on the operationContext.result and not on the DomainOperationContext.coordinatorResult

> Fix filtering in domain mode
> ----------------------------
>
>                 Key: WFCORE-510
>                 URL: https://issues.jboss.org/browse/WFCORE-510
>             Project: WildFly Core
>          Issue Type: Sub-task
>          Components: Domain Management
>            Reporter: Harald Pehl
>            Assignee: ehsavoie Hugonnet
>             Fix For: 1.0.0.Beta1
>
>
> The overall result for query operations in domain mode does not filter undefined results. Executing the following operation, will yield three results. However the last result needs to be filtered:
> {code}
> [domain at localhost:9990 /] /host=master/server-config=*:query(select=[name, status, auto-start], where={auto-start=>true})
> {
>     "outcome" => "success",
>     "result" => [
>         {
>             "address" => [
>                 ("host" => "master"),
>                 ("server-config" => "server-one")
>             ],
>             "outcome" => undefined,
>             "result" => {
>                 "name" => "server-one",
>                 "status" => "STARTED",
>                 "auto-start" => true
>             }
>         },
>         {
>             "address" => [
>                 ("host" => "master"),
>                 ("server-config" => "server-two")
>             ],
>             "outcome" => undefined,
>             "result" => {
>                 "name" => "server-two",
>                 "status" => "STARTED",
>                 "auto-start" => true
>             }
>         },
>         {
>             "address" => [
>                 ("host" => "master"),
>                 ("server-config" => "server-three")
>             ],
>             "outcome" => undefined,
>             "result" => undefined
>         }
>     ],
>     "server-groups" => undefined
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list