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

When cxf service is deployed to child container SwaggerFeature uses root container port instead

XMLWordPrintable

    • % %
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

      Using a simple fabric with a root and one child on the same host deploying a cxf service shows a 'Location' of http://192.168.2.221:8182/cxf/ on http://localhost:8181/hawtio/fabric/api. However, clicking on the swagger link, then expanding the operation and clicking the 'Try it out!' button show's a 'Request URL' with 'http://localhost:8181/cxf//operation'.

      Note that setting the basePath attribute on the SwaggerFeature in the blueprint xml to the empty string to force cxf to calculate the path from the endpoint address results in similar behaviour with localhost port 8181 being used.

            ggrzybek Grzegorz Grzybek
            rhn-support-rkieley Roderick Kieley
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: