SHARE
TWEET

Alfresco Audit Generator Non working example

a guest Jan 17th, 2017 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <Audit xmlns="http://www.alfresco.org/repo/audit/model/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.    xsi:schemaLocation="http://www.alfresco.org/repo/audit/model/3.2 alfresco-audit-3.2.xsd"
  4. >
  5.     <DataExtractors>
  6.         <DataExtractor name="simpleValue" registeredName="auditModel.extractor.simpleValue" />
  7.     </DataExtractors>
  8.     <DataGenerators>
  9.         <DataGenerator name="currentUserFullname" registeredName="auditModel.generator.personFullName" />
  10.     </DataGenerators>
  11.     <PathMappings>
  12.         <PathMap source="/alfresco-access" target="/my-app-trace" />
  13.     </PathMappings>
  14.     <Application name="my-app-trace" key="my-app-trace">
  15.         <AuditPath key="transaction">
  16.             <RecordValue key="node" dataExtractor="simpleValue" dataSource="/my-app-trace/transaction/node"
  17.                dataTrigger="/my-app-trace/transaction/node" />
  18.             <GenerateValue key="fullname" dataGenerator="currentUserFullname"/>
  19.         </AuditPath>
  20.     </Application>
  21. </Audit>
RAW Paste Data
Top