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

Gatway-Http mapping to broker group is not working in latest available 6.3 build.

    Details

    • Steps to Reproduce:
      Hide
      • Follow below steps.
        fabric:create --resolver manualip --manual-ip localhost --wait-for-provisioning 
        mq-create --create-container broker --replicas 2 --data /home/cpandey/activemq/hq-broker --group master_slave hq-example
        container-add-profile child1 gateway-http 
        container-add-profile child1 gateway-mq 
        
      • Change the property 'uriTemplate= {contextPath}

        /' in
        'io.fabric8.gateway.http.mapping-servlets.properties' for 'gateway-http' profile as per screenshot gatewayhttp_mapping.png.

      • In Red Hat JBoss Fuse 6.3.0 latest build, browse 'http://localhost:9000/mq-discovery/master_slave', we get Group not found in response in browser.
      • In Red Hat JBoss Fuse 6.2.1 GA, it works well. Check screenshot EndpointList_in621GA.png it return list of available endpoints in master broker.
      • I also attached screenshot while debugging this behavior.
      Show
      Follow below steps. fabric:create --resolver manualip --manual-ip localhost --wait- for -provisioning mq-create --create-container broker --replicas 2 --data /home/cpandey/activemq/hq-broker --group master_slave hq-example container-add-profile child1 gateway-http container-add-profile child1 gateway-mq Change the property 'uriTemplate= {contextPath} /' in 'io.fabric8.gateway.http.mapping-servlets.properties' for 'gateway-http' profile as per screenshot gatewayhttp_mapping.png. In Red Hat JBoss Fuse 6.3.0 latest build, browse 'http://localhost:9000/mq-discovery/master_slave', we get Group not found in response in browser. In Red Hat JBoss Fuse 6.2.1 GA, it works well. Check screenshot EndpointList_in621GA.png it return list of available endpoints in master broker. I also attached screenshot while debugging this behavior.

      Description

      • Fabric environment should be similar to:
        JBossFuse:karaf@root> container-list
        [id]       [version]  [type]  [connected]  [profiles]                             [provision status]
        root*      1.0        karaf   yes          fabric                                 success           
                                                   fabric-ensemble-0000-1                                   
                                                   jboss-fuse-full                                          
          broker1  1.0        karaf   yes          mq-broker-master_slave.hq-example-621  success         
          broker2  1.0        karaf   yes          mq-broker-master_slave.hq-example-621  success           
          child1   1.0        karaf   yes          default                                success           
                                                   gateway-http                                             
                                                   gateway-mq                                               
        JBossFuse:karaf@root> 
        

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                sonicaaaa Paolo Antinori
                Reporter:
                cpandey Chandra Shekhar Pandey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: