Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2794

Enhance 'read-resource' operation to support include-runtime together with recursive

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.1.0.Beta1
    • CLI, Domain Management
    • None

      Enhance 'read-resource' operation to support include-runtime together with recursive.

      Currently we can't use recursive and include-runtime parameters together to see detailed information about any section and its subsections.

      [standalone@localhost:9999 /] :read-operation-description(name="read-resource")
      ...
                  "include-runtime" => {
                      "type" => BOOLEAN,
                      "description" => "Whether to include runtime attributes (i.e. those whose value does not come from 
      the persistent configuration) in the response. If absent, false is the default. Ignored if the 'recursive' 
      parameter is set to true; i.e. runtime attributes can only be read in non-recursive queries.",
                      "required" => false,
                      "nillable" => true,
                      "default" => false
                  },
      ...
      

      I think many people would like to run just bin/jboss-admin.sh -c command=':read-resource(include-runtime=true, recursive=true)' command and see all details about AS7 configuration and runtime attributes.

      Please reassign to Brian if this change must be done in management model, thanks.

            bstansbe@redhat.com Brian Stansberry
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            5 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: