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

Advertise non-availability of bound actions/functions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_ERRATA03
    • Fix Version/s: V4.01_WD01
    • Component/s: Vocabularies
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      Advertise non-availability by providing null as the advertisement value:

      "#Model.FirstAction": {} --> available
      "#Model.SecondAction": null --> not available

      Note that services must only return the null value in a 4.01 or greater response.

      Show
      Advertise non-availability by providing null as the advertisement value: "#Model.FirstAction": {} --> available "#Model.SecondAction": null --> not available Note that services must only return the null value in a 4.01 or greater response.

      Description

      Actions and functions that are not available on all instances can be advertised in responses, see http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752309.

      Problem with current approach: does absence of an advertisement mean that an action/function is not available, or does it mean that the service doesn't advertise its availability?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: