Andrej Šmigala created TEIIDDES-2595:
----------------------------------------
Summary: Swagger UI fails to load (hardcoded path to different war)
Key: TEIIDDES-2595
URL:
https://issues.jboss.org/browse/TEIIDDES-2595
Project: Teiid Designer
Issue Type: Bug
Components: Web Services Support
Affects Versions: 9.0.3
Reporter: Andrej Šmigala
Priority: Critical
Swagger UI fails to load completely, with the following message:
bq. 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.t...
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".
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)