[ 
https://issues.apache.org/jira/browse/ISIS-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919092#comment-13919092
 ] 

ASF subversion and git services commented on ISIS-728:
------------------------------------------------------

Commit 9543f0a06d0a191bcb8598481c81474936ed4d35 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=9543f0a ]

ISIS-728, ISIS-729: config-based audit and commands

In detail:
- @Command and @Audited now have disabled flag
- new CommandFromConfigurationFacetFactory and CommandFacetFromConfiguration
- new AuditableFromConfigurationFacetFactory and AuditableFacetFromConfiguration
- in ActionInvocationFacetViaMethod, check that command is not disabled
- in IsisTransaction, check that auditable facet is not disabled

Also:
- renamed existing facet factory and facet for @Auditable annotation, added 
unit test
- added pngs for audit entry, command, published event
- new JDOQL queries for commands, available in 
CommandServiceJdoRepository#findByFromAndTo
- new JDOQL queries for audit entries available in 
AuditingServiceJdoRepository#findByFromAndTo
- new JDOQL queries for published events, available in 
PublishingServiceJdoRepository#findByFromAndTo
- recentChanges contributed action now includes published events
- listAll() removed from BackgroundCommandServiceJdoRepository
- updates to todo app to expose new JDOQL queries in Admin menu
- updated some icons in example todo app


> Provide facet factory to enable auditing by default on all objects, unless 
> explicitly opted out
> -----------------------------------------------------------------------------------------------
>
>                 Key: ISIS-728
>                 URL: https://issues.apache.org/jira/browse/ISIS-728
>             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:  @Auditable(disabled=false)
> Also:
> - if the AuditableFacet is already present, then that should take precedence
> - any implementation of HasTransactionId (command, audit entry or published 
> event) should *never* have auditing automatically enabled.
> Enable using isis.properties:
> #isis.services.audit.objects=all|none



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

Reply via email to