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

DCMAW-10799: Enable Dequeue Lambda to write TxMA events into new Dequeue table #321

Merged
merged 112 commits into from
Jan 14, 2025

Conversation

jhumbert-dd
Copy link
Contributor

@jhumbert-dd jhumbert-dd commented Jan 7, 2025

DCMAW-10799

What changed

  • Provisioned infrastructure for new DynamoDB Dequeue Table
  • Enhance the Dequeue Lambda to write all TxMA events from the TxMA SQS queue into the new Dequeue table.
  • Update deploy script to exit if the build step fails

Why did it change

This is part of the work to build an asynchronous test harness to monitor TxMA events that are sent to SQS.

Evidence

Success scenario

A test message sent to the async backend-api SQS queue:
Screenshot 2025-01-07 at 15 53 04
Correct logs seen in AWS CloudWatch:
Screenshot 2025-01-07 at 15 52 17
TxMA successfully written to Dequeue table:
Screenshot 2025-01-07 at 15 54 16

Failure scenario

An invalid test message sent to the async backend-api SQS queue:
Screenshot 2025-01-07 at 16 16 42
Error logs seen in AWS CloudWatch:
Screenshot 2025-01-07 at 15 56 16

Checklists

  • There is a ticket raised for this PR that is present in the branch name
  • No PII data logged. See guidance here
  • Demo to a BA, TA, and the team.
  • Update README with any new instructions or tasks

@jhumbert-dd jhumbert-dd requested review from a team as code owners January 7, 2025 16:05
Copy link

Quality Gate Passed Quality Gate passed for 'mobile-id-check-async-test-resources'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
98.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@jhumbert-dd jhumbert-dd merged commit 488ab81 into main Jan 14, 2025
3 checks passed
@jhumbert-dd jhumbert-dd deleted the DCMAW-10799 branch January 14, 2025 09:23
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

Successfully merging this pull request may close these issues.

5 participants