Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Details (REST interfaces)

There will be no explicit control of transactions using the REST interface.

The REST interface will provide a best effort approach to persisting validated data. 

Internally the CPS will use transactions if they are supported by the underlying DBMS.

For requests that include multiple discreet operations (described by an input document), the CPS will execute the discreet operation in the order defined in the input. In the event of failure:

  • fail fast
  • return an error response (indicating where in the document the failure occurred)
  • changes to the underlying DBMS will not be written, where the DBMS supports transactions

draw.io Diagram
bordertrue
diagramNameREST_Atomic_behaviour
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth671
revision1

Details (Java interfaces, co-deployed)

...

Write-then-read consistency is a property of the underlying DMBS – this is deployment specific

Discussion

Issue was discussed in the weekly meeting