Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-1771

Update REST endpoints to support eventually consistent UI updates

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Labels:
      None

      Description

      Currently the REST endpoints that perform document updates either return true/false or nothing.  This puts the responsibility of retrieving the updated state of the object on the client in a separate call or optimistically applying the changes and reverting when an update fails.  This can be problematic if a client attempts to get the current state immediately after an update and the change isn't visible yet in the back end.

      Ideally they should return the updated state of the object, eliminating the need to look up the updated state in a separate call.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rmerriman Ryan Merriman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: