Uploaded image for project: 'WildFly Arquillian'
  1. WildFly Arquillian
  2. WFARQ-222

WildFly container controller uses deprecated suspend-timeout attribute for shutdown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.Beta1
    • 5.1.0.Final
    • None

      It appears that since I have originally designed this, the operation attributed has changed from timeout to suspend-timeout.

      This was done via WFCORE-1427 in wf-core 8, we don't need to support the legacy attribute anymore.

      [standalone@embedded /] /:read-operation-description(name=suspend,
      {
          "outcome" => "success",
          "result" => {
              "operation-name" => "suspend",
              "description" => "Suspends server operations gracefully. All current requests will complete normally, however no new requests will be accepted.",
              "request-properties" => {
                  "timeout" => {
                      "type" => INT,
                      "description" => "The timeout that a suspend operation will wait for the suspend operation to complete before returning. If this is zero the operation will return immediately, -1 means that it will wait indefinitely. Note that the operation will not roll back if the timeout is exceeded, it just means that not all current requests completed in
      the specified timeout.",
                      "expressions-allowed" => false,
                      "required" => false,
                      "nillable" => true,
                      "default" => 0,
                      "unit" => "SECONDS",
                      "alternatives" => ["suspend-timeout"],
                      "stability" => "default",
                      "deprecated" => {
                          "since" => "9.0.0",
                          "reason" => "Use suspend-timeout instead."
                      }
                  },
      

      This needs to be updated.

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: