Karaf
  1. Karaf
  2. KARAF-890

"Macro Recorder" for patch installation

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      I had this idea so I thought I would share it. I don't believe I have the skills to implement it (yet), but thought I would at least get it out of my head so I don't forget it.

      When applying changes to an instance that I would like to replicate across multiple nodes and/or otherwise notate the changes I made, it might be helpful to have something like a "macro recorder" that can monitor my changes, record them in a replay file, allow the file to be edited, and play the the file back. Even in many nodes clustered in a single cluster (the changes should propagate), any changes would likely be tested in a test cluster first and that file committed to SCM, and the ability to apply the exact changes that were committed to SCM could provide the immediacy of the command-line with the reproducibility of a more structured environment.

      From an implementation perspective, if the actions of the different commands that change Karaf's state were firing events, it should be very simple to implement all this. I think it would be good that the recorder automatically kept a list of macros rather than requiring special setup or explicit saving. That way, macros could form "quick notes" whereby if someone was doing something they wanted to remember, they could just start the macro recorder, and when they stopped it, if they didn't do anything, it would still automatically persist their work until such time they did something with it.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Brian Topping
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development