Custom Interceptor - getheimdall/heimdall GitHub Wiki

Definition

The Custom interceptor allows the user to create a snippet of Groovy code with some business logic. This interceptor has access to a Helper object that is specified in the Heimdall Middleware Spec

Details

Custom

Name: Simple name for your interceptor

Description: A simple description for your interceptor

Life Cycle: The appropriate life cycle for the interceptor

  • Life cycles allowed:
    • Api
    • Plan
    • Resource
    • Operation

Content: Configuration of the interceptor

The content of this interceptor can be any Groovy code.