Uploaded image for project: 'WPWC_RESURS'
  1. WPWC_RESURS
  2. RWC-265

Make callbacks handle problematic callbacks

    XMLWordPrintable

Details

    • Task
    • Status: Done (View Workflow)
    • Medium
    • Resolution: Done
    • None
    • 1.0.0, 0.0.1.0
    • None
    • None

    Description

      Before:

      Callback is only checking digest. If digest is mismatching, response will be HTTP 406.

      New solution:

      • Callback is checking digest. If digest is bad, reply HTTP 406.
      • Callback is checked, but the order is not there, reply HTTP 410.
      • Callback is check, order is not there, but plugin is configured to allowed to accept the order as it existed, reply HTTP 210.

      Response codes are based on https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

      406 = Not acceptable.
      410 = Gone.
      204 = No Content.

      The responses are based on the fictive state of the order.

      https://github.com/Tornevall/wpwc-resurs/issues/59

      Attachments

        Activity

          People

            Unassigned Unassigned
            Tornevall Tomas Tornevall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.