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

hawt.io APIs Swagger view stuck in "fetching resource list: ..."

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Hawtio
    • None
    • % %
    • Hide
      1. create fabric
      2. login to hawtio console
      3. add the quickstarts-cxf-rest profile to the root container
      4. go to the Services / APIs view
      5. open the Swagger view of the CustomerService
      6. notice the swagger UI only displays something like "fetching resource list: http://127.0.0.1:8181/hawtio/proxy/somehost/8181/cxf/crm/api-docs" and nothing else
      Show
      create fabric login to hawtio console add the quickstarts-cxf-rest profile to the root container go to the Services / APIs view open the Swagger view of the CustomerService notice the swagger UI only displays something like "fetching resource list: http://127.0.0.1:8181/hawtio/proxy/somehost/8181/cxf/crm/api-docs " and nothing else

    Description

      The hawtio Swagger UI appears broken in the current Fuse 6.2 build. Only showing a message "fetching resource list".

      The javascript console reports that in swagger.js line 102 the _ref is undefined (should come from response.apis, yet the response object does not have any "apis" property, and actually looks like this:

      {"apiVersion":"1.0.0","swaggerVersion":"1.2","info":{"title":"Rest sample app","description":"This is a app.","contact":"freeman.fang@gmail.com","license":"Apache 2.0 License","licenseUrl":"http://www.apache.org/licenses/LICENSE-2.0.html"}}
      

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              maschmid@redhat.com Marek Schmidt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: