-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
```New server environment variables / .env settings are needed:
PACKRAT_ITOPS_EMAIL=comma-delimited list of email addresses to which Cook connection failure notifications are sent. The first is also the "FROM" address for all notifications PACKRAT_SMTP_HOST=SMTP server for output mail PACKRAT_SMTP_PORT=SMTP server port for output mail PACKRAT_SMTP_SECURE=SMTP server flag for secure connection for output mail PACKRAT_SMTP_AUTHUSER=SMTP server username for authentication for output mail PACKRAT_SMTP_AUTHPASSWORD=SMTP server password for authentication for output mail ``` Build: * Added nodemailer to server Migration: * De-link migration from HTTP request, so that it continues to run even if the launching request is interrupted System: * Added Email implementation, used to send IT/OPS messages (such as Cook is down) * Updated Config to have cookServerUrls[], allowing for rollover to other Cook instances if configured * Added Config.it, with IT/OPS email addresses (for notifications), as well as SMTP host settings Job: * Load array of Cook Server URLs * Extracted computation of Cook Server URL, based on the "current" server being used * Detect connection failures; upon every so many, "roll" to the next Cook server, and send an email notification * Exit the job polling loop if we have too many connection failures
- Loading branch information
1 parent
12620de
commit 606ac41
Showing
7 changed files
with
242 additions
and
50 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
Oops, something went wrong.