Skip to content

Replace custom http events with aws_lambda_events #426

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 19, 2022

Conversation

calavera
Copy link
Contributor

@calavera calavera commented Feb 19, 2022

The Alb and ApiGw events in aws_lambda_events are thoroughly tested
with multiple payloads that those services generate.

Signed-off-by: David Calavera david.calavera@gmail.com

Issue #, if available:

Description of changes:

By submitting this pull request

  • I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • I confirm that I've made a best effort attempt to update all relevant documentation.

@calavera calavera marked this pull request as ready for review February 19, 2022 16:22
@@ -51,9 +51,6 @@
"CloudFront-Viewer-Country":[
"US"
],
"":[
Copy link
Contributor Author

@calavera calavera Feb 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because empty header names are not supposed to be valid. http::HeaderMap will panic if it finds any empty name.

@nmoutschen nmoutschen added the 0.5 label Feb 19, 2022
The Alb and ApiGw events in aws_lambda_events are thoroughly tested
with multiple payloads that those services generate.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
ApiGw use $default as an identifier, but it doesn't add it
to the URI.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera calavera requested a review from nmoutschen February 19, 2022 18:12
Copy link
Contributor

@nmoutschen nmoutschen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! This also passes all the integration tests. 🚀

@nmoutschen nmoutschen merged commit 3d5565d into master Feb 19, 2022
@nmoutschen nmoutschen deleted the update_http_events branch February 19, 2022 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants