Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3053

REST api on child container does not register on Fabric registry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • jboss-fuse-6.2
    • CXF, Fabric8 v1
    • None
    • % %

      Kit 103

      A child container that exposes a CXF Rest endpoint fails to register the endpoint under Fabric ZK registry.

      After a restart of the child node, registration happens correctly.

      There are no errors in logs.
      --------------------------------------------------------------------------------------------------------------------------
      Step to reproduce.

      fabric:create --wait-for-provisioning --resolver localip	
      
      container-create-child --profile quickstarts-cxf-rest root quickstart
      

      Monitor zookeeper registry with:

      watch --color -n 0.5 "echo dump | nc localhost 2181 | grep '/fabric/registry/clusters/apis'"
      

      Initially ZK registry contains:

      	/fabric/registry/clusters/apis/rest/FabricResource/fabric8/1.0/quickstart
      	/fabric/registry/clusters/apis/rest/FabricResource/fabric8/1.0/root
      

      After a restart of quickstart node with container-stop quickstart ; container-start quickstart zk registry contains the expected:

              /fabric/registry/clusters/apis/rest/CustomerService/crm/1.0/quickstart
              /fabric/registry/clusters/apis/rest/FabricResource/fabric8/1.0/quickstart
              /fabric/registry/clusters/apis/rest/FabricResource/fabric8/1.0/root
      

      Note the additional entry.

        1. fuse.log.child
          132 kB
        2. fuse.log.root
          280 kB
        3. karaf.log.child
          62 kB

              pantinor@redhat.com Paolo Antinori
              pantinor@redhat.com Paolo Antinori
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: