Commit 54a1503
authored
feat(proxy): abstract lambda runtime api proxy (#669)
# What?
Abstracts the concept of the `proxy` from the Lambda Web Adapter
implementation.
This will unlock the usage of ASM.
# How?
Using `axum` crate, we create a new server proxy with specific routes
from the Lambda Runtime API which we are interested in proxying.
# Motivation
ASM and [SVLS-6760](https://datadoghq.atlassian.net/browse/SVLS-6760)
[SVLS-6760]:
https://datadoghq.atlassian.net/browse/SVLS-6760?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ1 parent 05c8ad5 commit 54a1503
13 files changed
Lines changed: 1185 additions & 539 deletions
File tree
- bottlecap
- src
- bin/bottlecap
- config
- lifecycle/invocation
- lwa
- proxy
- secrets
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
0 commit comments