mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	22630: ALF-4106 AuditService: Return applications in alphabetical order 22631: ALF-4106 AuditService: 'Audit' family of web scripts 22632: ALF-4106 AuditService: Samples for documentation 22635: ALF-4106 AuditService: Sample fix 22642: ALF-4106 AuditService: Neater debug logging 22643: ALF-4106 AuditService: Another sample 22644: Added .sample to file extensions to include in line ending checks 22654: Removed unnecessary INFO logging 22655: Fixed ALF-4872: AuditService: Unable to restrict results to a specific value path git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22789 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
		
			
				
	
	
		
			44 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version='1.0' encoding='UTF-8'?>
 | |
| 
 | |
| <!--
 | |
|    An example of how user login details can be captured.
 | |
| -->
 | |
| 
 | |
| <Audit
 | |
|     xmlns="http://www.alfresco.org/repo/audit/model/3.2"
 | |
|     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | |
|     xsi:schemaLocation="http://www.alfresco.org/repo/audit/model/3.2 alfresco-audit-3.2.xsd"
 | |
|     >
 | |
| 
 | |
|     <DataExtractors>
 | |
|        <DataExtractor name="simpleValue" registeredName="auditModel.extractor.simpleValue"/>
 | |
|        <DataExtractor name="nullValue" registeredName="auditModel.extractor.nullValue"/>
 | |
|        <DataExtractor name="nodeNameValue" registeredName="auditModel.extractor.nodeName"/>
 | |
|        <DataExtractor name="nodeTypeValue" registeredName="auditModel.extractor.nodeType"/>
 | |
|     </DataExtractors>
 | |
| 
 | |
|     <PathMappings>
 | |
|         <PathMap source="/alfresco-api/post/NodeService/createNode" target="/auditexampleextractors"/>
 | |
|     </PathMappings>
 | |
| 
 | |
|     <Application name="AuditExampleExtractors" key="auditexampleextractors">
 | |
|         <AuditPath key="create">
 | |
|             <AuditPath key="in">
 | |
|                 <RecordValue key="a" dataExtractor="simpleValue" dataSource="/auditexampleextractors/args/parentRef" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|                 <RecordValue key="b" dataExtractor="simpleValue" dataSource="/auditexampleextractors/args/nodeTypeQName" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|                 <RecordValue key="c" dataExtractor="simpleValue" dataSource="/auditexampleextractors/args/assocTypeQName" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|                 <RecordValue key="d" dataExtractor="simpleValue" dataSource="/auditexampleextractors/args/assocQName" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|             </AuditPath>
 | |
|             <AuditPath key="out">
 | |
|                 <RecordValue key="a" dataExtractor="simpleValue" dataSource="/auditexampleextractors/result" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|             </AuditPath>
 | |
|             <AuditPath key="derived">
 | |
|                 <RecordValue key="parent-node-null" dataExtractor="nullValue"     dataSource="/auditexampleextractors/args/parentRef" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|                 <RecordValue key="parent-node-name" dataExtractor="nodeNameValue" dataSource="/auditexampleextractors/args/parentRef" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|                 <RecordValue key="parent-node-type" dataExtractor="nodeTypeValue" dataSource="/auditexampleextractors/args/parentRef" dataTrigger="/auditexampleextractors/no-error"/>
 | |
|             </AuditPath>
 | |
|         </AuditPath>
 | |
|     </Application>
 | |
| 
 | |
| </Audit>
 |