Bug 988343
Summary: | REST API root should not throw an exception, but offer a basic help | ||
---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jiri Svitak <jsvitak> |
Component: | Business Central | Assignee: | Marco Rietveld <mrietvel> |
Status: | CLOSED NOTABUG | QA Contact: | Marián Macik <mmacik> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0.0 | CC: | atangrin, kverlaen, lpetrovi, mbaluch, mswiders, paradhya, smcgowan |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-07 13:31:03 UTC | Type: | Feature Request |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jiri Svitak
2013-07-25 11:25:19 UTC
Good idea, Jiri. Setting to new, so that I can tell which bz's are modified ("ASSIGNED") and which aren't ("NEW"). Marco, might be of use - I added something similar for execution server (lie-wb without UI) that for the root of the application will show simple table with REST operations Here you can find the jsp page that shows the operations (it's built based on the rest wiki) https://github.com/droolsjbpm/kie-wb-distributions/blob/master/kie-wb/kie-wb-webapp/src/main/webapp/rest-api.jsp and here is how it binds to the web application https://github.com/droolsjbpm/kie-wb-distributions/blob/master/kie-wb/kie-wb-distribution-wars/src/main/eap6_1/WEB-INF/web-exec-server.xml#L76 Internal Whiteboard: Beta Blocker → Blocker Not critical for Beta, but need to address for GA This issue still persists in BPMS 6.0.2.CR2. As Maciej mentions, exec-server profile of business central already has such basic help screen for REST operations. Work is being done to add swagger-ui to BPMS and BRMS. I have checked with BPMS 6.1.0.DR3 and on page http://localhost:8080/business-central can be seen a help page listing basic REST API commands. However the reported page http://localhost:8080/business-central/rest still shows the same error as in bug description. New basic help screen in exec-server profile definitely improved the situation, but is there more work to be done? What is meant by swagger-ui? Thanks, Jiri Unfortunately, the Swagger UI for both the kie-server and kie-remote REST interfaces did not make it into 6.2. For more info about Swagger, see: https://helloreverb.com/developers/swagger Closing as not a bug. 1. This is a feature request 2. We are working on other documentation solutions. |