You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CORS support. Allow OPTIONS request. Support requests from @aws-sdk/client-lambda
Fixesaws#16
Sets response headers allowing requests from browsers that send
preflight OPTIONS requests. Previously using @aws-sdk/client-lambda
returned CORS errors. Now requests and responses can be sent.
Test Plan: Build and run locally. Ensure curl -XPOST still works.
Ensure requests from browsers now work and from @aws-sdk/client-lambda
Test steps added to Contributing.md. Ensure `make integ-tests-and-compile`
passes
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+81-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ reported the issue. Please try to include as much information as you can. Detail
21
21
22
22
23
23
## Contributing via Pull Requests
24
-
This repository contains the source code and examples for the Runtime Interface Emulator. We will accept pull requests on documentation, examples, bug fixes and the Dockerfiles. We will also accept pull requests, issues and feedback on improvements to the Runtime Interface Emulator. However, our priority will be to maintain fidelity with AWS Lambda’s Runtime Interface on the cloud.
24
+
This repository contains the source code and examples for the Runtime Interface Emulator. We will accept pull requests on documentation, examples, bug fixes and the Dockerfiles. We will also accept pull requests, issues and feedback on improvements to the Runtime Interface Emulator. However, our priority will be to maintain fidelity with AWS Lambda’s Runtime Interface on the cloud.
25
25
26
26
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
27
27
@@ -41,6 +41,86 @@ To send us a pull request, please:
41
41
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
42
42
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
43
43
44
+
## How to Run Locally
45
+
1.[Install go](https://go.dev/doc/install)
46
+
2. Build
47
+
```bash
48
+
make compile-lambda-linux # Outputs binary to ./bin/aws-lambda-rie-x86_64
49
+
```
50
+
3.[Create an alternative base image](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-create-from-alt)
51
+
4.[Build RIE into this alternative base image](https://docs.aws.amazon.com/lambda/latest/dg/images-test.html#images-test-alternative)
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
0 commit comments