Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8925

Mark attribute 'outbound-socket-binding' in a reverse-proxy handler as 'required'

    Details

    • Steps to Reproduce:
      Hide
      1. unzip and start EAP
      2. execute following commands in CLI:
        /subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy:add()
        /subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy/host=some-host:add()
        
      3. see failed message
      Show
      unzip and start EAP execute following commands in CLI: /subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy:add() /subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy/host=some-host:add() see failed message

      Description

      outbound-socket-binding attribute in /subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy/host=some-host is not marked as 'required'. Please mark it as required as if outbound-socket-binding is not specified during 'add' operation, it fails with:

      /subsystem=undertow/configuration=handler/reverse-proxy=my-rev-proxy/host=some-host:add()
      {
          "outcome" => "failed",
          "failure-description" => {
              "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.network.outbound-socket-binding.undefined"],
              "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.undertow.reverse-proxy.host.my-rev-proxy.some-host is missing [org.wildfly.network.outbound-socket-binding.undefined]"]
          },
          "rolled-back" => true
      }
      

      I suppose when this attribute is marked as required, more pleasant failure message is given.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rpelisse Romain Pelisse
                  Reporter:
                  rpelisse Romain Pelisse
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: