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.