-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Integrate with upstream #62
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
Changes from 1 commit
fcbb59f
41da780
8562f80
5d7c7ec
aae9602
94b1ec7
352adb7
c6aebd0
eb45a2c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ import ( | |
| "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/interop" | ||
| "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore" | ||
| "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore/standalone" | ||
| "github.com/go-chi/chi" | ||
| "github.com/go-chi/chi/v5" | ||
| log "github.com/sirupsen/logrus" | ||
| ) | ||
|
|
||
|
|
@@ -52,7 +52,7 @@ func (l *LocalStackAdapter) SendStatus(status LocalStackStatus, payload []byte) | |
|
|
||
| // The InvokeRequest is sent by LocalStack to trigger an invocation | ||
| type InvokeRequest struct { | ||
| InvokeId string `json:"invoke-id"` | ||
| InvokeId string `json:"request-id"` | ||
|
||
| InvokedFunctionArn string `json:"invoked-function-arn"` | ||
| Payload string `json:"payload"` | ||
| TraceId string `json:"trace-id"` | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,7 @@ import ( | |
|
|
||
| "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/interop" | ||
| "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore" | ||
| "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rie" | ||
| log "github.com/sirupsen/logrus" | ||
| ) | ||
|
|
||
|
|
@@ -244,7 +245,7 @@ func main() { | |
| // start runtime init. It is important to start `InitHandler` synchronously because we need to ensure the | ||
| // notification channels and status fields are properly initialized before `AwaitInitialized` | ||
| log.Debugln("Starting runtime init.") | ||
| InitHandler(sandbox.LambdaInvokeAPI(), GetEnvOrDie("AWS_LAMBDA_FUNCTION_VERSION"), int64(invokeTimeoutSeconds), bootstrap, lsOpts.AccountId) // TODO: replace this with a custom init | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❓ Why is |
||
| rie.InitHandler(sandbox.LambdaInvokeAPI(), GetEnvOrDie("AWS_LAMBDA_FUNCTION_VERSION"), int64(invokeTimeoutSeconds), bootstrap) // TODO: replace this with a custom init | ||
|
|
||
| log.Debugln("Awaiting initialization of runtime init.") | ||
| if err := interopServer.delegate.AwaitInitialized(); err != nil { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.