Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1697

Commands & Macros

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-M1
    • console, core
    • None

    Description

      Commands

      A new implementation type will be available: COMMAND.

      A Command is a Java or Groovy class:

      • implementing a specific interface (with a single method run() optionally taking parameters)
      • optionally annotated with the input parameter names required to run

      The typical use case here would be to encapsulate, in a single logical unit, the equivalent of two or more REST operations.

      Commands can be executed via a new REST endpoint, with Console support.

      Macros

      A new concept named Macro will be introduced.

      A Macro is a specialized custom Task which:

      • groups one or more Commands into a given execution sequence
      • is associated to a given Realm in order to fit with delegated administration
      • may require input values to run, matching the parameters declared by the composing Commands

      Macro can be executed or scheduled via a new REST endpoint, with Console support.

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            ilgrosso Francesco Chicchiriccò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: