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

ReST service redirects on PUT and POST are broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.3
    • Fix Version/s: 1.11.90
    • Component/s: REST
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: