Skip to content

Commit 54a1503

Browse files
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=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 05c8ad5 commit 54a1503

13 files changed

Lines changed: 1185 additions & 539 deletions

File tree

bottlecap/Cargo.lock

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bottlecap/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ datadog-trace-obfuscation = { git = "https://github.com/DataDog/libdatadog", rev
6060
dogstatsd = { git = "https://github.com/DataDog/serverless-components", rev = "3f3347790d4c7f3393589ef7efb7ccf22405a89a", default-features = false }
6161
datadog-trace-agent = { git = "https://github.com/DataDog/serverless-components", rev = "3f3347790d4c7f3393589ef7efb7ccf22405a89a" }
6262
datadog-fips = { git = "https://github.com/DataDog/serverless-components", rev = "3f3347790d4c7f3393589ef7efb7ccf22405a89a", default-features = false }
63+
axum = { version = "0.8.4", default-features = false, features = ["default"] }
6364

6465
[dev-dependencies]
6566
figment = { version = "0.10", default-features = false, features = ["yaml", "env", "test"] }

0 commit comments

Comments
 (0)