-
Notifications
You must be signed in to change notification settings - Fork 113
Local lambda invocation endpoint env var #321
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
Conversation
fixes #320 |
Is this likely to progress any further? |
seems reasonable to me. a test to make sure this works / does not regress would be useful. @sebsto ? |
@swift-server-bot test this please |
Or in short, it behaves as it did before. |
Oh, I missed that line of code. Good for me then. |
@tomerd feel free to approve when you have time - thanks |
@swift-server-bot test this please UPDATE : looks like I don't have permissions to trigger a CI test and without test, I can not merge :-( |
@tomerd can you trigger a set of test. Apparently, I don't have permissions to do so. Thanks |
@swift-server-bot test this please |
Allow the changing of the local lambda server's invocation endpoint
Motivation:
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
As described in #320 I want to be able to use other tooling that expects the local invocation endpoint to have a specific path, not just
/invoke
.Modifications:
I have added an envionrment variable option that lets you override the invocation endpoint url.
Result:
If you set LOCAL_LAMBDA_SERVER_ENABLED to run locally, you can now also set LOCAL_LAMBDA_SERVER_INVOCATION_ENDPOINT to any value to change the path, e.g. to
/2015-03-31/functions/function/invocations
to match how the "runtime interface emulator" works.