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
I have written a version of this but I need some guidance on how to fit this into the overall design here and to make sure I'm not breaking an intentionally existing feature.
Use Case
Complex applications that mix LambdaClient.InvokeAsync with local actions cannot currently be tested locally with both the client application and the lambda itself attached to a debugger. There are some ways around this using a deployed proxy Lambda, but that entire approach is orthogonal to LambdaTestTool's existence.
LambdaClient.InvokeAsync should be able to test blocking / sync invocations of Lambda functions, locally.
For complex projects this is an essential part of development, debugging, and testing.
Proposed Solution
The test event endpoint used by the web ui is also annotated with almost the right path to allow InvokeAsync calls from clients to work
Describe the feature
Make
LambdaClient.InvokeAsync
calls work locally.I have written a version of this but I need some guidance on how to fit this into the overall design here and to make sure I'm not breaking an intentionally existing feature.
Use Case
Complex applications that mix
LambdaClient.InvokeAsync
with local actions cannot currently be tested locally with both the client application and the lambda itself attached to a debugger. There are some ways around this using a deployed proxy Lambda, but that entire approach is orthogonal to LambdaTestTool's existence.LambdaClient.InvokeAsync
should be able to test blocking / sync invocations of Lambda functions, locally.For complex projects this is an essential part of development, debugging, and testing.
Proposed Solution
InvokeAsync
calls from clients to workaws-lambda-dotnet/Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Controllers/RuntimeApiController.cs
Line 22 in f1c00fd
[HttpPost("/2015-03-31/functions/function/invocations")]
function
[HttpPost("/2015-03-31/functions/{functionName}/invocations")]
Other Information
I'll submit a draft PR with my implementation that I've been using locally.
I'm looking for feedback on:
function
route usable?Action
for completion callbacksAction
in the toolAcknowledgements
AWS .NET SDK and/or Package version used
Built from source
master
branchTargeted .NET Platform
.NET 8
Operating System and version
Mac OS X Sonoma
The text was updated successfully, but these errors were encountered: