Bug 1249029
| Summary: | Swagger UI fails to load (hardcoded path to different war) | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Virtualization 6 | Reporter: | Andrej Smigala <asmigala> |
| Component: | Tooling | Assignee: | Barry LaFond <blafond> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Andrej Smigala <asmigala> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | atangrin, vhalbert |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-17 18:06:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Ted Jones <tejones> updated the status of jira TEIIDDES-2595 to Resolved Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2595 to Closed |
Description Swagger UI fails to load completely, with the following message: Can't read swagger JSON from http://localhost:8080/hana/api-docs/VirtualHana This is because the file https://github.com/Teiid-Designer/teiid-designer/blob/9.0.x/plugins/org.teiid.designer.webservice.lib/rest_war_resources/webapps/index.html has that path hardcoded on line 33. Additionally, if I enter a url that matches the regex on line 28 (such as http://localhost:8080/restBooks/?url=api-docs/BooksView ), an alert message is shown (line 31). The title of the page is also hardcoded to "hana VDB".