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

[Preview] Ability to rename a resource tree

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • CLI, Management
    • None

      This is a possible follow-on to WFCORE-6970. Allow renaming of resources via a single-invocation copy+remove.

      As with the WFCORE-6970 copy resource feature, this could potentially be implemented as either a global-to-all-persistent-resources operation, or as a CLI high level command.

      My instinct is the latter is better, both because I have a vague sense that implementing as a global operation would be messy, but also because a high-level command leaves open future improvement possibilities like optionally identifying and correcting capability references that are affected by the rename. Doing that would definitely be too much for a global operation handler.

      This is less useful than WFCORE-6970, as it seems that the basic function here could be done with WFCORE-6970 alone, via a CLI batch:

      batch
      /foo=bar:copy-resource(to=baz)
      /foo=bar:remove
      run-batch

      (A CLI batch in the end becomes a low-level 'composite' operation, so any management client could do the same.)

      As with WFCORE-6970, this should start at Preview or Experimental and get bake.

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

                Created:
                Updated: