ReST service redirects on PUT and POST are broken

Description

The uriInfo builders are not working as I thought and most, if not all, of our PUT and POST redirects are not correct.

I've committed new sendPut() and sendPost() methods that support validating the redirect URL, and as an example have changed the UserRestServiceTest to use them. The other rest service tests need to be modified to use these methods when putting and posting, and the actual rest services need to be fixed to send the correct redirects.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Benjamin Reed November 9, 2012 at 9:21 AM

Fixed in master, ReST calls now redirect to the right places, and have unit tests to confirm this.

Note that I left the NCS ReST service alone, it had not been converted to redirects and I don't want to change that before making sure it doesn't throw Juniper off.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created October 31, 2012 at 11:33 AM
Updated January 27, 2017 at 4:19 PM
Resolved November 9, 2012 at 9:21 AM