Dan Haywood created ISIS-729:
--------------------------------

             Summary: Provide facet factory to treat all actions by default as 
commands, unless explicitly opted out
                 Key: ISIS-729
                 URL: https://issues.apache.org/jira/browse/ISIS-729
             Project: Isis
          Issue Type: New Feature
          Components: Core, Objectstore: JDO
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: objectstore-jdo-1.4.0, core-1.4.0


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




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to