0 Replies Latest reply on Dec 11, 2015 6:37 AM by dbschofield

    Value of address in composite operation for HTTP Management API?

    dbschofield

      What is the purpose of the address in a composite operation?  Each child operation has its own address and in all the documentation I can find the address for the composite is always empty.  Are there any scenarios where this field is useful?  Or is it always empty?

       

      https://docs.jboss.org/author/display/WFLY8/Admin+Guide#AdminGuide-CompositeOperations

      {

       

          "operation" => "composite",

         "address" => [],

          "steps" => [

               {

                    "operation" => "write-attribute",

                    "address" => [

                         ("profile" => "production"),

                         ("subsystem" => "threads"),

                         ("bounded-queue-thread-pool" => "pool1")

                    ],

                    "count" => "count",

                    "value" => 20

               },

               {

                    "operation" => "write-attribute",

                    "address" => [

                         ("profile" => "production"),

                         ("subsystem" => "threads"),

                         ("bounded-queue-thread-pool" => "pool2")

                    ],

                    "name" => "count",

                    "value" => 10

               }

          ],

          "operation-headers" => {

              "rollback-on-runtime-failure => false

          }

      }