Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-808

Removing a resource should always remove all children

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Alpha10
    • None
    • Management
    • None

      Invoking a remove op on a resource should always result in all child resources being properly removed.

      1) Currently some resources reject a remove if children still exist. This behavior should be forbidden.

      2) AbstractRemoveStepHandler should recursively remove children by adding steps invoking the remove op for them. This will ensure whatever MSC or capability registry changes the remove op handler for the children would normally make happen.

      A driver for this is the new features related to cloning profiles and including profiles in other profiles. These increase the likelihood that users will wish to remove profiles, and to make that practical there needs proper recursive removal.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: