[jboss-jira] [JBoss JIRA] (WFLY-8925) Mark attribute 'outbound-socket-binding' in a reverse-proxy handler as 'required'

Romain Pelisse (JIRA) issues at jboss.org
Mon Jun 12 12:59:00 EDT 2017


Romain Pelisse created WFLY-8925:
------------------------------------

             Summary: Mark attribute 'outbound-socket-binding' in a reverse-proxy handler as 'required'
                 Key: WFLY-8925
                 URL: https://issues.jboss.org/browse/WFLY-8925
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
    Affects Versions: 11.0.0.Alpha1
            Reporter: Romain Pelisse
            Assignee: Romain Pelisse
            Priority: Minor


{{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:
{code}
/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
}
{code}
I suppose when this attribute is marked as required, more pleasant failure message is given.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list