Skip to content
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

Persisted and custom Lambda function requests #42

Open
martincostello opened this issue Mar 6, 2025 · 1 comment
Open

Persisted and custom Lambda function requests #42

martincostello opened this issue Mar 6, 2025 · 1 comment

Comments

@martincostello
Copy link
Contributor

I had a dig around in the Lambda Test Tool code and couldn't find an obvious way to get this working in the context of .NET Aspire.

I'd like to be able to provide a set of custom function requests that are always available to the tool/emulator:

Image

As far as I could tell, no .lambda-test-tool directory has been created inside my solution.

What I'd like to do is have a directory in the solution root (to avoid the need to exclude it from publishing the project or needing to copy it to the build output) containing some custom requests, which I can then tell the Aspire integration to make available to the test tool.

@normj
Copy link
Member

normj commented Mar 12, 2025

In the original version of the test tool we had the feature of saving events but in the original version the tool was run in the context of a project directory so the tool would know to store the events in the context of that directory.

In the new version of the test tool the tool is run out of process and potentially from any directory. What we could do is add an optional switch on the test tool to set a directory for persisting state like saved events. And then the Aspire integration can make that value configurable with a default somewhere relative from the app host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants