Package:

transformation.plugins.gloo.solo.io

Source File:

plugins/transformation/transformation.proto

Description:

TODO: this was copied form the transformation filter. TODO: instead of manually copying, we want to do it via script, similar to the java-control-plane TODO: to solo-kit/api/envoy

Contents:


RouteTransformations

Description:

"request_transformation": .transformation.plugins.gloo.solo.io.Transformation
"response_transformation": .transformation.plugins.gloo.solo.io.Transformation

Field Type Description Default
request_transformation .transformation.plugins.gloo.solo.io.Transformation
response_transformation .transformation.plugins.gloo.solo.io.Transformation

Transformation

Description: [#proto-status: experimental]

"transformation_template": .transformation.plugins.gloo.solo.io.TransformationTemplate
"header_body_transform": .transformation.plugins.gloo.solo.io.HeaderBodyTransform

Field Type Description Default
transformation_template .transformation.plugins.gloo.solo.io.TransformationTemplate
header_body_transform .transformation.plugins.gloo.solo.io.HeaderBodyTransform

Extraction

Description:

"header": string
"regex": string
"subgroup": int

Field Type Description Default
header string
regex string what information to extract. if extraction fails the result is an empty value.
subgroup int

TransformationTemplate

Description:

"advanced_templates": bool
"extractors": map<string, .transformation.plugins.gloo.solo.io.Extraction>
"headers": map<string, .transformation.plugins.gloo.solo.io.InjaTemplate>
"body": .transformation.plugins.gloo.solo.io.InjaTemplate
"passthrough": .transformation.plugins.gloo.solo.io.Passthrough
"merge_extractors_to_body": .transformation.plugins.gloo.solo.io.MergeExtractorsToBody

Field Type Description Default
advanced_templates bool
extractors map Extractors are in the origin request language domain
headers map
body .transformation.plugins.gloo.solo.io.InjaTemplate
passthrough .transformation.plugins.gloo.solo.io.Passthrough
merge_extractors_to_body .transformation.plugins.gloo.solo.io.MergeExtractorsToBody

ExtractorsEntry

Description:

"key": string
"value": .transformation.plugins.gloo.solo.io.Extraction

Field Type Description Default
key string
value .transformation.plugins.gloo.solo.io.Extraction

HeadersEntry

Description:

"key": string
"value": .transformation.plugins.gloo.solo.io.InjaTemplate

Field Type Description Default
key string
value .transformation.plugins.gloo.solo.io.InjaTemplate

InjaTemplate

Description: custom functions: header_value(name) -> from the original headers extracted_value(name, index) -> from the extracted values

"text": string

Field Type Description Default
text string

Passthrough

Description:


Field Type Description Default

MergeExtractorsToBody

Description:


Field Type Description Default

HeaderBodyTransform

Description:


Field Type Description Default