Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5608

ReST service redirects on PUT and POST are broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.11.3
    • 1.11.90
    • REST
    • None

    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.

      Attachments

        Activity

          People

            ranger Benjamin Reed
            ranger Benjamin Reed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: