The final destination for the audit data - database tables.
Summary of data flow:
Data stage: Audit data passed to AuditComponent.recordAuditValues()
Example:
Root path: /alfresco-api/post/NodeService/createStore Map: args/protocol = "workspace" args/identifier = "SpacesStore" result = StoreRef[workspace://SpacesStore]
Data stage: If the root path passes the initial filtration phase - there is at least one component interested in auditing the information - then the map is expanded.
Example:
Expanded audit data:
Map: /alfresco-api/post/NodeService/createStore/args/protocol = "workspace" /alfresco-api/post/NodeService/createStore/args/identifier = "SpacesStore" /alfresco-api/post/NodeService/createStore/result = StoreRef[workspace://SpacesStore]
Data stage: The filtered data is then passed through the path mappings, generating a new Map of data for each application.
Example:
Path-mapped audit data:
Map: /MyApp/createStore = StoreRef[workspace://SpacesStore]
Data stage: This data is then passed to any extractors and generators to produce a final Map of data that will be persisted.
Example:
Persisted audit data:
Map: /MyApp/createStore/value = StoreRef[workspace://SpacesStore] /MyApp/createStore/rootNode = NodeRef[workspace://SpacesStore/fd123...]