Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-10641

Prettyprint for responses would be great for Amster output

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Amster
    • Environment:
      amster-14.0.0-20170215.134857-106.zip

      Description

      My OpenAM has quite a few realms configured, if I run " query Realms --global" the response I get back is hard to read, would be great if prettyPrint was used in response strings.

      am> connect http://openam1.example.com:18081/openam/ --private-key /Users/philipanderson/Amster/my.key
      amster openam1.example.com:18081> query Realms --global
      ===> [{"name":"/","active":true,"aliases":["lb.example.com","openam2.example.com","openam1.example.com","openam"],"_rev":"445857690","_id":"Lw"},{"name":"realm2","active":true,"parentPath":"/","aliases":["test"],"_rev":"853622919","_id":"L3JlYWxtMg"},{"name":"subrealm","active":true,"parentPath":"/realm2","aliases":["myalias"],"_rev":"-1743230680","_id":"L3JlYWxtMi9zdWJyZWFsbQ"},{"name":"subsubrealm","active":true,"parentPath":"/realm2/subrealm","aliases":[],"_rev":"-1482177035","_id":"L3JlYWxtMi9zdWJyZWFsbS9zdWJzdWJyZWFsbQ"},{"name":"bob","active":true,"parentPath":"/","aliases":[],"_rev":"-354652288","_id":"L2JvYg"},{"name":"delete","active":true,"parentPath":"/","aliases":[],"_rev":"-735977420","_id":"L2RlbGV0ZQ"},{"name":"test1","active":true,"parentPath":"/","aliases":[],"_rev":"1601946654","_id":"L3Rlc3Qx"},{"name":"test2","active":true,"parentPath":"/","aliases":["phill"],"_rev":"1696914789","_id":"L3Rlc3Qy"}]
      

        Attachments

          Activity

            People

            • Assignee:
              sean.oneill Sean ONeill
              Reporter:
              philip.anderson Philip Anderson
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: