[jboss-as7-dev] Results of CLI commands

Panzer, Robert Robert.Panzer at wincor-nixdorf.com
Fri Jan 20 05:08:50 EST 2012


Hi,

I surely missed discussions about this, but playing aroung with the CLI I was wondering why the format of the output is somehow similar to JSON but not exactly like it.
For example for a command like this:
/subsystem=datasources/xa-data-source=JDBC_XA_DATASOURCE/:write-attribute(name=min-pool-size,value=10)
I get this response:
{
    "outcome" => "success",
    "response-headers" => {"process-state" => "reload-required"}
}

Wouldn't it be nice to have a response like this?
{
    outcome : "success",
    response-headers : { process-state : "reload-required"}
}

Surely a stupid question but I was just wondering.

Kind regards,
Robert



WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120120/29ce6765/attachment.html 


More information about the jboss-as7-dev mailing list