Skip to content

Version 3 update procedure

Jonathan Williams edited this page May 17, 2022 · 6 revisions

In addition to updating the plugin, these changes were also necessary for the new version 3 setup.

Deployed as CHG055500 on 5/17/2022.

Pull requests

The following pull requests were deployed for the update to version 3:

Credentials

Tokens need to be provisioned on all PROD app servers bu-wordpress.ini files for:

  • BU Alert API
  • Everbridge API

This is complete as of 5/11/2022.

Cron setup

PROD cron is setup in the main wpcms user cron as this:

# expire everbridge alerts every minute
* * * * * /fs/prod/scratch/shared/bin/wp alert expire --url="http://www.bu.edu" --path="/var/www/cms-prod/current/"

Setup Prod web posting

The Web Posting has been setup in the production Everbridge account, it looks like this (with the secure token redacted):

https://www.bu.edu/wp-json/bu-alert/v1/start/?token=<redacted>&additionalDomains=www.bumc.bu.edu

Removals

Once the new version of the plugin is deployed, the alert js from here will no longer be needed so the repo can be archived:

https://github.com/bu-ist/bu-alert-component

Also the following static site will no longer be necessary:

https://www.bu.edu/server/lookup/alert/js/bu-alert-component.js