Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2561

Swagger test UI shows incorrect hostname in Request URL value

XMLWordPrintable

    • Hide

      1) Generate REST WAR in Designer
      2) Deploy VDB and WAR to server
      3) Navigate to Swagger URI (for example, http://hostname:8080/myvdb)
      4) Click "List Operations"
      5) Expand operation
      6) Enter input parameter value if needed
      7) Click "Try it out!"
      8) Observe value of "Request URL" field contains localhost rather than hostname

      Show
      1) Generate REST WAR in Designer 2) Deploy VDB and WAR to server 3) Navigate to Swagger URI (for example, http://hostname:8080/myvdb ) 4) Click "List Operations" 5) Expand operation 6) Enter input parameter value if needed 7) Click "Try it out!" 8) Observe value of "Request URL" field contains localhost rather than hostname

      Swagger UI references localhost instead of the server instance's configured interface in the Request URL value. For example, "http://localhost:8080/myvdb/mymodel/json/get/1" instead of "http://hostname:8080/myvdb/mymodel/json/get/1".

              rhn-engineering-tejones Edwin Jones
              rhn-support-mshirley Marc Shirley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: