Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-729

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

    XMLWordPrintableJSON

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

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: