The categories ReST end point returns HTTP 500 when querying it with a browser.

Description

Almost any GET request against the OpenNMS ReST API can be performed through a normal browser, and you should see the XML generated.

Now, this is not the case of several GET requests implemented in CategoryRestService. The reason for this is because the methods associated with those GET requests don't have the Provides annotation, which confuses the browser.

Just by adding that annotation fixes the problem.

Acceptance / Success Criteria

None

Attachments

1
  • 28 Jul 2016, 11:45 AM

Lucidchart Diagrams

Activity

Alejandro Galue August 11, 2016 at 3:22 PM

The fix was manually cherry-picked and ported to foundation on revision f83c57f8fade25d02e73577594d7bc70ee4aaa33.

Jesse White August 11, 2016 at 1:06 PM

PR was merged, but I'll keep this issue open, since we still need to to a fix in the foundation branch.

Alejandro Galue August 5, 2016 at 4:41 PM

Fixed

Details

Assignee

Reporter

Labels

Components

Priority

PagerDuty

Created July 28, 2016 at 11:45 AM
Updated August 11, 2016 at 7:21 PM
Resolved August 11, 2016 at 3:22 PM

Flag notifications