Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-729

Provide facet factory to treat all actions by default as commands, unless explicitly opted out

    Details

      Description

      Opting out through: @Command(disabled=false)

      Also:

      • can restrict to just non-safe (non-query only actions)
      • if the CommandFacet is already present, then that should take precedence
      • any implementation of HasTransactionId (command, audit entry or published event) should never have auditing automatically enabled.
      • require ActionSemanticsFacet to be available in case specified non-query only actions should be ignored

      Enable using isis.properties:

      #isis.services.command.actions=all|none|ignoreQueryOnly

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              danhaywood Dan Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: