Skip to content

Commit

Permalink
Fixes #370 - Update handler.yml template in Handler module to support…
Browse files Browse the repository at this point in the history
… audit on demand (#374)
  • Loading branch information
ddobrin authored and stevehu committed Aug 29, 2019
1 parent 705acbc commit 6e1a569
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@
@args (String serviceId, String handlerPackage, List<Map<String, Object>> items, boolean prometheusMetrics, boolean healthCheck, boolean serverInfo)

# Handler middleware chain configuration
---
#----------------------------------------
enabled: true

# Configuration for the LightHttpHandler. The handler is the base class for all middleware, server and health handlers
# set the Status Object in the AUDIT_INFO, for auditing purposes
# default, if not set:false
auditOnError: ${handler.auditOnError:false}

# set the StackTrace in the AUDIT_INFO, for auditing purposes
# default, if not set:false
auditStackTrace: ${handler.auditStackTrace:false}

#------------------------------------------------------------------------------
# Support individual handler chains for each separate endpoint. It allows framework
# handlers like health check, server info to bypass majority of the middleware handlers
Expand Down

0 comments on commit 6e1a569

Please sign in to comment.