[teiid-issues] [JBoss JIRA] (TEIID-4938) CLI getVDB operation domain mode - result of the operation is not in "result" element

Juraj Duráni (JIRA) issues at jboss.org
Fri Jun 2 00:11:00 EDT 2017


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

Juraj Duráni commented on TEIID-4938:
-------------------------------------

[~rareddy] It does not try to consolidate, but still, the result is in one "object". So I wonder whether we could restructure it from:
{code:plain}
{"outcome" => "success",
 "result" => undefined,
 "server-groups" => {...}
}
{code}
to:
{code:plain}
{"outcome" => "success",
 "result" => "server-groups" => {...}
}
{code}
Or, are you saying that this is done by WildFly and you cannot affect it?

[~rareddy], [~shawkins] - I am not seeing any particular issue, it's more like UX.

> CLI getVDB operation domain mode - result of the operation is not in "result" element
> -------------------------------------------------------------------------------------
>
>                 Key: TEIID-4938
>                 URL: https://issues.jboss.org/browse/TEIID-4938
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 9.3, 8.12.10.6_3
>            Reporter: Juraj Duráni
>            Assignee: Steven Hawkins
>            Priority: Minor
>
> If user reads status of VDB in domain mode, result of the operation is not written in the "result" attribute, but in separate attribute. Executing same operation in standalone mode, result is in "result" element.
> {code:plain|title=Domain mode result}
> [domain at localhost:9990 /] /profile=full/subsystem=teiid:get-vdb(...)
> {
>     "outcome" => "success",
>     "result" => undefined,
>     "server-groups" => {"main-server-group" => {"host" => {"master" => {
>         "server-one" => {"response" => {
>             "outcome" => "success",
>             "result" => {...
>             }
>         }},
>         "server-two" => {"response" => {
>             "outcome" => "success",
>             "result" => {...
>             }
>         }}
>     }}}}
> }
> {code}
> {code:plain|title=Standalone mode result}
> [standalone at localhost:9990 /] /subsystem=teiid:get-vdb(...)
> {
>     "outcome" => "success",
>     "result" => {...
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the teiid-issues mailing list