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

REST endpoint dependency on management socket bindings should be optional

    Details

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  NadirX Tristan Tarrant
                  Reporter:
                  NadirX Tristan Tarrant
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: