Dan Lydiard
Dan Lydiard
this depends on #7, or alternatively create mock objects for tests that include aws resources... also, create a UT to stress test event ordering and this race condition scenario #2
see https://www.slideshare.net/koenighotze/eventsourcing-you-are-doing-it-wrong-bedcon-2018-edition (slide 90)
.env file isn't used in the same sense a standalone node application would use one. AWS SAM cli supports JSON files as parameter inputs via --env-vars
this will allow unit testing of code that touches aws resources, and running locally without first deploying to cloud formation.
auto-dll plugin makes builds significantly faster, but currently breaks CodeBuild. auto-dll-plugin also breaks debugging with the current (commented out) approach, since the dll file and lambda function are merged, but...
SAM Templates doesn't support this directly yet. So CloudFormation syntax would have to be used.
Race condition can happen where projection doesn't exist when dealing with event enrichment, since aggregates are managed within their own queues. This scenario should be rare since the API consumer...