Uploaded image for project: 'OASIS Cloud Application Management for Platforms (CAMP) TC'
  1. OASIS Cloud Application Management for Platforms (CAMP) TC
  2. CAMP-48

Using SelectAttr in conjunction with PUT is duplicative and problematic

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Spec
    • Labels:
      None

      Description

      This issue will depend upon the resolution of CAMP-36 but, if people agree we should use JSON Patch for fine-grained updates, there really isn't any need to support PUTs that use the SelectAttr parameter. Furthermore, supporting SelectAttr in the context of PUT is a mess implementation-wise. There are a bunch of tricky corner cases in which you have to make sure that request body doesn't contain any attributes that aren't selected, check for "implicit deletes" in which the user selects an attribute but don't supply a value in the body, etc.

        Attachments

          Activity

            People

            • Assignee:
              gilbert.pilz Gilbert Pilz
              Reporter:
              gilbert.pilz Gilbert Pilz
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: