8000 Dynamic interpolation of variables · Issue #159 · the-guild-org/conductor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Dynamic interpolation of variables #159

Closed
dotansimha opened this issue Nov 26, 2023 · 1 comment · Fixed by #182
Closed

Dynamic interpolation of variables #159

dotansimha opened this issue Nov 26, 2023 · 1 comment · Fixed by #182
Assignees

Comments

@dotansimha
Copy link
Member
dotansimha commented Nov 26, 2023

Not sure where this needs to be implemented. As we might want to allow users to easily do mapping of headers, and other request parameters.

I was thinking of a plugin like this maybe?

plugins:
  - type: mapping_transform
     config:
        - from: {request.headers['X-Request-ID']}
          to: {upstreamRequest.headers['X-Request-ID']}
@dotansimha
Copy link
Member Author

Maybe we should consider to use VRL? https://vector.dev/docs/reference/vrl/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0