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

hawtio-swagger can not fetch the api-docs for JBoss Fuse Quickstart: rest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Examples, Hawtio
    • None
    • % %
    • Hide

      1. create a new container in the fabric with the Quickstart-rest profile
      2. in Hawtio console, open Fabric > Services > APIs tab
      3. Click the Swagger link for the '

      {http://rest.quickstarts.fabric8.io/}

      CustomerService'

      Show
      1. create a new container in the fabric with the Quickstart-rest profile 2. in Hawtio console, open Fabric > Services > APIs tab 3. Click the Swagger link for the ' {http://rest.quickstarts.fabric8.io/} CustomerService'

      After creating/provisioning a new container with Quickstart-rest profile Hawtio Swagger can't fetch the service api-docs through the Swagger link located in Hawtio console > Fabric > Services > APIs tab.

      When you clik the Swagger link hawtio redirects to Swagger-UI but appears only this message on the page:

      fetching resource list: http://localhost:8181/hawtio/proxy/127.0.0.1/8182/cxf/crm/api-docs

      Looking in the browser JS console it seems to be a JS issuie in swagger.js:214. See the attached screenshot.

      Uncaught TypeError: Cannot read property 'length' of undefined

      If you use The WADL link it works fine. Through the WADL page you can hit the `/api-docs` operation with a successful HTTP 200 response.

            ggrzybek Grzegorz Grzybek
            rafael.soares Rafael Soares
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: