Reduce per-request audit formatter parsing

Description

The audit context population bean uses the formatter string(s) to determine which fields to extract, but it does that by parsing the formatting strings every time the action bean is created, which is per-request, so this is a lot of silly reparsing.

Moving the parsing to a singleton and injecting that should greatly reduce the extra runtime cost.

Environment

None

Activity

Scott Cantor 
January 23, 2020 at 6:54 PM

The Write half would be more rework to do, and there are a lot fewer Write actions so this is good enough for now.

Scott Cantor 
January 23, 2020 at 6:50 PM

Fixed this for Populate actions. Should probably be able to do this for the Write action reusing the same singleton.

Fixed

Details

Assignee

Reporter

Fix versions

Created January 23, 2020 at 6:48 PM
Updated March 11, 2020 at 2:10 PM
Resolved January 23, 2020 at 6:54 PM