Chain Adapter Configuration Values
Configuration Values
The following configuration values can be defined for chaining processors using Chain on the Call Transformation page:
| Field name | Type | Field Value | Required/Optional | Description |
|---|---|---|---|---|
| Processing Adapter | String | com.mashery.proxy.customer.generic.oauth2-jwt-authenticator | Required | Adaptor for chaining processors. |
| Perform Pre-processing or Perform Post-processing | Boolean | Enabled/Disabled | Conditional | As per your requirements, select Perform Preprocess, Perform Postprocess, or both. If the adapter to be chained supports pre-processing, then enable the Perform Pre-processing field, and provide the PreInput Value. If the adapter to be chained supports post-processing, then enable the Perform Post-processing field, and provide the PostInput Value. If the adapter to be chained supports both pre-processing and post-processing, then enable Perform Pre-processing and Perform Post-processing fields, and provide both PreInput and PostInput Values. |
| Data to make available for pre-processing (PreInput Value) | Map | processors:PROCESSOR1 | Conditional | Specify the processors names to be chained in the processors key. The processor name is the processor's bean name. |
| Data to make available for post-processing (PostInput Value) | Map | PROCESSOR1.parameter:valuePROCESSOR1.parameter:value | Conditional | Specify the processors names that the traffic manager can use to post-process the calls. |
Examples
Data to make available for pre-processing
The following is an example value for the Data to make available for pre-processing field. Specify only processor names in the processors key:
processors:com.mashery.local.MasheryCustomProcessorOne
You can also provide configuration values for processors used during pre-processing.
Syntax Example
Only one processors key is allowed in the PreInput configuration. Specify chained processors in a comma-separated list.
PROCESSOR1.parameter:value
PROCESSOR1.parameter:value
Data to make available for post-processing
The following is an example value for the Data to make available for post-processing field. The PostInput configuration must be same as that of the PreInput configuration.
If you select only Perform Post-processing, provide the following configuration values for processors during post-processing:
processors:com.mashery.local.MasheryCustomProcessorOne
and
PROCESSOR1.parameter:value
PROCESSOR1.parameter:value
Configuration Steps
Refer to the Configuring Call Transformation for an Endpoint for more information on the configuration steps.