]
Martin Stefanko updated WFCORE-4460:
------------------------------------
Labels: downstream_dependency (was: )
jboss-cli.sh doesn't return json when the output command is
'failed'
--------------------------------------------------------------------
Key: WFCORE-4460
URL:
https://issues.jboss.org/browse/WFCORE-4460
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 9.0.0.Beta4
Environment: JBoss EAP 7.2.0 running in domain mode.
Reporter: Ingo Weiss
Assignee: Ingo Weiss
Priority: Major
Labels: downstream_dependency
Fix For: 9.0.0.Beta6, 9.0.0.Final
The CLI returns a JSON output just when the CLI command got 'success'. In case of
the output 'failed' the output is only DMR syntax.
The following command was used in the tests:
{noformat}
$JBOSS_HOME/bin/boss-cli.sh --connect --controller=localhost:9990
--command="/host=*/server=*/deployment=*/:read-resource(recursive=false,include-runtime=true)"
--output-json
{noformat}