-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/bulk/all get job client (#2093)
* feat: add sqs client and service * feat: create job and job items and sendSqsmessage in bulk controller * chore: move qrCode job creation into JobController * chore: generalize sqs message sending * chore: add sqs timeout * chore: fix missing region * chore: create qrBatchSize and sqsRegion env variable * chore: fix error logging and type * chore: fix bulk tests * chore: fix lambda params * chore: add JobItemId to job_items model for easy update * chore: refactor logic to update jobItemStatus * feat: expose endpoint to update jobItem * chore: use env var for lambda hash value * chore: use http post request to send completion callback * chore: fix validation * chore: add tests * chore: fix error catching for lambda * chore: add status to job table * chore: add logic to update job after job item callback * chore: fix tests * chore: fix tests * fix: call next to pass control * fix: add env variable to feature flag job creation * chore: add repository methods to retrieve jobs * chore: add service methods for long polling and retrieving job information * chore: add endpoints for users to retrieve their latest job and updated job status * chore: add tests * fix: add env variables to docker-compose * chore: add env variable for bulk download bucket * fix: env variable naming in docker-compose * chore: fix tests * chore: fix tests * fix: status bar should appear even if no urls * chore: pass download urls to Download QR code button * chore: add callback variable to actions and reducers * chore: remove redundant bulkQRCodesStarted action * chore: add client-side logic to retrieve user job * chore: add component logic for status bar * chore: fix end to end tests * fix: uncomment sqs.sendService function * chore: update api call on client for job update Co-authored-by: Jim Engay <e0425954@u.nus.edu>
- Loading branch information
Showing
12 changed files
with
181 additions
and
71 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
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
Oops, something went wrong.