Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1504

Dry-run of data modification requests



    • Type: New Feature
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.02
    • Component/s: Protocol
    • Labels:


      Add a feature to allow submitting a data modification request in "simulation" or "dry-run" mode without actually modifying data:

      • Client sends request in the usual form, only difference is an additional "dry-run" header or query option
      • Service processes the request
        1. Syntax check
        2. Semantic check (business rules are satisfied)
        3. Simulated request outcome (for 201 or 200 responses)
      • Service does not perform the data modification
      • Service responds in the usual form (response code, headers and body), only difference is an additional "was a dry-run" marker

      Service announces dry-run capability via annotation on entity container or top-level resource.

      Service may announce check level (1. is minimum, 2. and 3. are optional) in the annotation.

      If response is an entity or collection of entities, mark them as transient.

      Query option may be safer than a header because servers are strongly encouraged not to silently ignore unknown $xxx query options.




            • Assignee:
              handl Ralf Handl
              handl Ralf Handl
            • Watchers:
              2 Start watching this issue


              • Created: