[ https://issues.apache.org/jira/browse/SYNCOPE-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17615078#comment-17615078 ]
ASF subversion and git services commented on SYNCOPE-1697: ---------------------------------------------------------- Commit 782cb9c1479bc00a57cb9ef14757b930af4011ff in syncope's branch refs/heads/master from Francesco Chicchiriccò [ https://gitbox.apache.org/repos/asf?p=syncope.git;h=782cb9c147 ] [SYNCOPE-1697] Command and Macro introduced (#378) > Commands & Macros > ----------------- > > Key: SYNCOPE-1697 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1697 > Project: Syncope > Issue Type: New Feature > Components: console, core > Reporter: Francesco Chicchiriccò > Assignee: Francesco Chicchiriccò > Priority: Major > Fix For: 3.0.0 > > > h3. Commands > A new [implementation > type|https://syncope.apache.org/docs/3.0/reference-guide.html#implementations] > 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. > h3. Macros > A new concept named {{Macro}} will be introduced. > A *Macro* is a specialized [custom > Task|https://syncope.apache.org/docs/3.0/reference-guide.html#tasks-custom] > which: > * groups one or more Commands into a given execution sequence > * is associated to a given Realm in order to fit with [delegated > administration|https://syncope.apache.org/docs/3.0/reference-guide.html#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. -- This message was sent by Atlassian Jira (v8.20.10#820010)