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

Immutability of Link[] of refs inconsistent with the allowed deletion of referenced resources.

    XMLWordPrintable

    Details

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

      Either make the components attribute mutable, or declare that components that are parts of an assembly cannot be deleted.

      A twist to this is: do we want to support:

      • Remove a component from an assembly, without deleting the component.
        Currently not supported (components in assembly is not mutable)
        If components becomes mutable, we could do that. Although a PATCH on a potentially large array may not be the safest way.

      CONCRETE PROPOSAL: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52016/camp-spec-v1.1-wd36-156.doc

      Show
      Either make the components attribute mutable, or declare that components that are parts of an assembly cannot be deleted. A twist to this is: do we want to support: Remove a component from an assembly, without deleting the component. Currently not supported (components in assembly is not mutable) If components becomes mutable, we could do that. Although a PATCH on a potentially large array may not be the safest way. CONCRETE PROPOSAL: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52016/camp-spec-v1.1-wd36-156.doc
    • Resolution:
      Hide

      Made assembly.components mutable (but not consumer-mutable) in: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52044/camp-spec-v1.1-wd37.doc

      Show
      Made assembly.components mutable (but not consumer-mutable) in: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52044/camp-spec-v1.1-wd37.doc

      Description

      RE-62 assumes components can be deleted, and that should "remove its reference from the components array of its containing assembly resource."
      But the components attribute of assembly is immutable.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdurand2 Jacques Durand (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: