Commit Graph

4 Commits

Author SHA1 Message Date
Derek Hulley
4b87e7d8f7 ALF-4106: AuditService and audit DAO refactor
- Moved 'AlfrescoRepository' to be an extension sample audit application
 - Added 'AlfrescoRepositoryTest' into test-resources for unit tests
 - Updated unit tests and added stricter checking for enable/disable status


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-15 15:06:06 +00:00
Derek Hulley
cdf0a4a93e ALF-4106 AuditService: Unit test fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22207 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-02 20:40:33 +00:00
Derek Hulley
73ae4f71ca ALF-4106: AuditService and audit DAO refactor
- Added 'dataSource' attribute to 'RecordValue': <RecordValue ... dataSource='...'/>
 - This doesn't affect any existing configurations as the 'dataSource' remains the current path
 - Process data extraction by DataExtractor rather than by path (simpler)
 - Added unit tests specific to 'dataSource' attribute


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-09-01 15:21:12 +00:00
Dave Ward
94f4b34aac AuditModelRegistryImpl refactored as dynamic subsystem
- Modules such as RM can now drop in their own config - should fix some unit tests
- Picks up config from 
   classpath*:alfresco/audit/*.xml
   classpath*:alfresco/enterprise/audit/*.xml
   classpath*:alfresco/module/*/audit/*.xml
   classpath*:alfresco/extension/audit/*.xml
- One audit.{applicationkey}.enabled property for each application in the config, defaulting to true
- One audit.enabled global enablement property defaulting to false
- Still controllable by alfresco-global.properties and JMX

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-02-25 12:31:17 +00:00