]
RH Bugzilla Integration commented on TEIIDDES-2595:
---------------------------------------------------
Debi Rieden <drieden(a)redhat.com> changed the Status of [bug
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
Assignee: Ted Jones
Priority: Blocker
Labels: release_notes, verified_jbdsis-8.0.3.CR2
Fix For: 9.0.3, 9.2
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".