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.
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.