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

Details (Java interfaces, co-deployed)

...