This document will describe the necessary steps to migrate existing deployments through versions of FAIMS.
TBD - currently there are the following migrations needed.
The following pull requests introduced breaking changes/migrations:
CouchDB migration
This functionality will not work until you apply the following migration
- login as cluster admin to old conductor
- copy the bearer token
- update /api/.env with USER_TOKEN=<>
- setup npm env cd /api && npm i
- run the force init action npm run forceinitdb
- Try generating a code and make sure the workflow is functional.
Deployment configuration
Add the new NEW_CONDUCTOR_URL
environment variable to the conductor/api build. This is already done in the aws-cdk IaC - however in existing deployments you may need to update your build configuration.
Note ensure this includes the https:// prefix!
This is a mandatory property and not including it will break the deployment.