Common Swagger URL to access all REST resources at same time is not available from BW 6.3.0.

book

Article ID: KB0093715

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
In BW 6.2.x, Swagger Verison 1.0 used to support a common URL to access all REST resources hosted. From BW 6.3.0, Swagger is updated to Version 2.0 and this feature is removed. There is a difference in lrestdoc output in 6.3.0 and 6.2.2 as shown below. 


6.3.0 output : 

lrestdoc
[Application Name]: ABC.application
[Discovery Url]: http://svalluru-dt2:7777/ABC.application
[Application Name]: Proxy.application
[Discovery Url]: http://svalluru-dt2:7777/Proxy.application

6.2.2 output : 

lrestdoc
[All REST Resources]: http://svalluru-dt2:7777/resources
[Application Name]: ABC.application
[Discovery Url]: http://svalluru-dt2:7777/ABC.application
[Reverse Proxy Url]: null
[Application Name]: Proxy.application
[Discovery Url]: http://svalluru-dt2:7777/Proxy.application
[Reverse Proxy Url]: null


You can see that in 6.3.0, the text "[All REST Resources]" is missing.

Symptoms:
In BW 6.3.0, if you try to access all REST resources such as http://localhost:7777/resources , you will get a JSON/YAML error.
Cause:
Swagger is updated to Version 2.0 in BW 6.3.0

Resolution

As this feature is removed, users will need to access the application URL's separately.

Issue/Introduction

Common Swagger URL to access all REST resources at same time is not available from BW 6.3.0.