I use this issue instead of PR to collect everything about this task and all referenced PR are merged already.
I use single monorepo with both BE and FE for a good reason: FE build uses outputs of BE stacks. Organizers have confirmed that it is acceptable.
Check #3, #18, #22, #27 and commit history if you want to learn more about setup and reasoning. Issues, PRs and each commit messages contain lot of details.
Please provide your evaluation in comments and fill in the form.
Task 6 Artifacts
Task 6.1 (Pull Request #29)
:heavy_check_mark: Create a lambda function called catalogBatchProcess which will be triggered by an SQS event.
:heavy_check_mark: Create an SQS queue called catalogItemsQueue, in the resources section.
:heavy_check_mark: Configure the SQS to trigger lambda catalogBatchProcess with 5 messages at once via batchSize property.
:heavy_check_mark: The lambda function should iterate over all SQS messages and create corresponding products in the products table.
Task 6.2 (Pull Request #31)
:heavy_check_mark: Update the importFileParser lambda function to send each CSV record into SQS.
:heavy_check_mark: It is no longer log entries to CloudWatch.
Middify for non http handlers now use appropriate middlewares to log inputs, outputs and errors.
Task 6.3 (Pull Request #26)
:heavy_check_mark: Create an SNS topic and email subscriptions.
:heavy_check_mark: Update the catalogBatchProcess lambda function to send an event to the SNS topic once it creates products.
:heavy_plus_sign: catalogBatchProcess lambda is covered by unit tests
:heavy_plus_sign: There are 2 email subscriptions with different filtering rules
Links to deployment
Deployments links removed since its outdated and there are newer tasks implemented.
Task 6 assignment
Note for reviewers
Task 6 Artifacts
Task 6.1 (Pull Request #29)
:heavy_check_mark: Create a lambda function called
catalogBatchProcess
which will be triggered by an SQS event. :heavy_check_mark: Create an SQS queue calledcatalogItemsQueue
, in the resources section. :heavy_check_mark: Configure the SQS to trigger lambdacatalogBatchProcess
with 5 messages at once via batchSize property. :heavy_check_mark: The lambda function should iterate over all SQS messages and create corresponding products in the products table.Task 6.2 (Pull Request #31)
:heavy_check_mark: Update the
importFileParser
lambda function to send each CSV record into SQS. :heavy_check_mark: It is no longer log entries to CloudWatch.Middify for non http handlers now use appropriate middlewares to log inputs, outputs and errors.
Task 6.3 (Pull Request #26)
:heavy_check_mark: Create an SNS topic and email subscriptions. :heavy_check_mark: Update the
catalogBatchProcess
lambda function to send an event to the SNS topic once it creates products. :heavy_plus_sign:catalogBatchProcess
lambda is covered by unit tests :heavy_plus_sign: There are 2 email subscriptions with different filtering rulesLinks to deployment
Deployments links removed since its outdated and there are newer tasks implemented.
Email SNS notifications screenshot: