Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-4080

Deleting a custom Certificate in Trustore via REST now returns a broken response

    Details

    • Story Points:
      0.5
    • Sprint:
      OpenIDM Sprint 56

      Description

      Since CREST-328 was committed, we expect our endpoint to return JSON map. When they don't we end up now with a broken response. This was already raised in OPENIDM-4071 and OPENIDM-3917. Here a third problem (and last one I see with the OpenIDM tests).

      Before:

      curl --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --header "If-Match: *" --request DELETE "http://localhost:8080/openidm/security/truststore/cert/urla"
      Response Content: null
      

      Now:

      curl --header "X-OpenIDM-Password: openidm-admin" --header "X-OpenIDM-Username: openidm-admin" --header "If-Match: *" --request DELETE "http://localhost:8080/openidm/security/truststore/cert/urla"
      Response Content: {"_id":"urla"  <= not good
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason Jason Lemay
                Reporter:
                laurent.bristiel Laurent Bristiel [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: