-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uml 3723 golang lambda to run in localstack (#3003)
* UML-3619 Convert incoming LPAs to combined format (repository layer) * UML-3723 running event receiver in localstack with the use of make up
- Loading branch information
1 parent
0370dee
commit c1047bf
Showing
5 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Event Receiver | ||
|
||
The stats table is uploaded with historical stats from csv by a one time run script. | ||
|
||
This uploads to the stats table, the Cloudwatch Metric Statistics about the use of the Use a Lasting Power of Attorney service. | ||
|
||
### Testing the lambda image locally | ||
|
||
As the lambda is built from an image, this can be spun up to test in dev environment. | ||
|
||
Bring up the lambda locally | ||
|
||
``` | ||
make build | ||
``` | ||
|
||
# To test lambda | ||
The curl follows a set command to invoke lambda functions as below | ||
|
||
``` | ||
curl -XPOST "http://localhost:9008/2015-03-31/functions/function/invocations" -d '{}' | ||
``` |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters