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

Add Worker/Queues to process notification based on status #268

Merged
merged 1 commit into from
Mar 11, 2023

Commits on Mar 11, 2023

  1. Add worker/queues to process notifications based on expiraton status

     * move notifcations queues related code in notifications/
     * Add a button to send trigger adding jobs
     * install cron
     * workers/queues for sending notifications based on domain status
     * update import path
     * Update structure and link worker with queue
     * Add comments
     * switch to interface
     * Data interface for domain status checks
     * Add UI to interact with notifications job processing
     * Update code
     * Add default in switch statment
     * Remove queuescheduler
     * Fix ESLint CI warnings
     * Rename IDomainStatusData.ts to domain-status-data.interface.ts
     * Update path and fix typo in job name
     * Add NOTIFICATIONS_REPEAT_PATTERN
     * Make jobs repeatable and send notifications
     * Update comments
     * Remove cron-parser, update cron value
     * Rename file to: record-expiration-monitor-worker.server.ts
     * Update variable and function names
     * Rename file to: record-expiration-notification.server.ts
     * Rename file to: certifcate-expiration-monitor-worker.server.ts
     * Update pattern to every 5 mins
     * Update expiration values to send notifications
     * Add isNotified field for certificate and record
     * Add isNotified field
     * Update routes and function calls
     * Update code to check for expiration for records/certs
     * Remove test log messages
     * fix: eslint check failing
     * fix: typecheck failing
     * Update code based on feedback
     * updated lock file
     * Update variable name to timesNotified
     * Update code based on feedback
     * remove NOTIFICATION_REPEAT_PATTERN
     * Add Notification table
     * Remove async/await from query function
     * hardcode value for repeating jobs
     * Refactor code based on feedback
     * Remove NOTIFICATION_REPEAT_PATTERN
     * Remove padding and update code based on feedback
     * Remove record-cert-expiration-date.interface.ts
     * remove checks for null and handle promises correctly
     * fix: if statement; use init model; update: log messages; simplify adding jobs
     * fix: Change from logger.error to logger.warn
     * Add logger.error back
     * add dayjs
     * Use dayjs
     * Update code
     * Update code
     * fix: typecheck
     * add NOTIFICATION_FREQUENCY constant
     * fix: update the value to 7
    SerpentBytes committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    cc50041 View commit details
    Browse the repository at this point in the history