aws-lambda-dotnet icon indicating copy to clipboard operation
aws-lambda-dotnet copied to clipboard

Ajax invoke support in .NET Mock Lambda Test Tool

Open wahmedswl opened this issue 3 years ago • 3 comments

Describe the feature

Currently we can test via payload when The AWS .NET Mock Lambda Test Tool is ran. Is there any option that we can invoke it externally eg: via ajax request to hook into the debug cycle transparently.

Use Case

It will enable transparent debug cycle from Browser to Lambda Function albeit via some tweak to payload etc if required.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used

Targeted .NET Platform

.Net Core 3.1

Operating System and version

Windows 10

wahmedswl avatar Apr 07 '22 04:04 wahmedswl

Hi @wahmedswl,

Good morning.

Thanks for the feature request. I'm not sure if this feature is feasible but I will review it with the team. While I cannot commit on the timeline, but would post any updates here.

Regards, Ashish

ashishdhingra avatar Apr 07 '22 16:04 ashishdhingra

Hi, feasible mean cannot support or weird/unrealistic etc? Lambda Test Tool has all the features, current for test payload need to be copy-pasted. Just having api endpoint that can be directly invoked will open up it for direct consumption.

Thanks

wahmedswl avatar Apr 07 '22 17:04 wahmedswl

Hi, https://github.com/aws/aws-lambda-runtime-interface-emulator project kinda does this i guess, but it depends on the Docker. So, having this directly here would help a lot.

Thanks

wahmedswl avatar Apr 07 '22 17:04 wahmedswl

Closing this in favor of new issue https://github.com/aws/aws-lambda-dotnet/issues/1279.

ashishdhingra avatar Oct 20 '22 20:10 ashishdhingra

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Oct 20 '22 20:10 github-actions[bot]