Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10393

REST endpoint dependency on management socket bindings should be optional

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.0.0.Beta4, 9.4.16.Final
    • 10.0.0.Beta3, 9.4.15.Final
    • REST, Server
    • None

    Description

      Removing the management socket bindings causes the rest endpoint to fail at startup.

      <management-interfaces>
        <http-interface security-realm="ManagementRealm" console-enabled="false">
            <http-upgrade enabled="true"/>
            <socket-binding https="management-https"/>
        </http-interface>
      </management-interfaces>
      
      ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "datagrid-infinispan-endpoint"),
          ("rest-connector" => "rest-connector")
      ]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.network.socket-binding.management-http"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.rest.rest-connector is missing [org.wildfly.network.socket-binding.management-http]"]
      }
      2019-07-02 18:17:24,919 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0184:    New missing/unsatisfied dependencies:
            service org.wildfly.network.socket-binding.management-http (missing) dependents: [service jboss.datagrid-infinispan-endpoint.rest.rest-connector] 
      

      The dependency should be optional

      Attachments

        Issue Links

          Activity

            People

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: