Program Year Teardown - bcgov/SIMS GitHub Wiki
As program years become obsolete, they can be removed from the system.
Deactivate the program year in the database
Create a database migration to set the obsolete program year's is_active entry to false in the sims.program_years
table.
Remove the program year bpmn files
Remove the assessment bpmn files for the obsolete program year. (For example, fulltime-assessment-2021-2022.bpmn and parttime-assessment-2021-2022.bpm for the program year 2021-2022.)
Remove the program year sfaa file
Remove the sfaa file for the obsolete program year. (For example, sfaa2021-22.json for the program year 2021-2022.)
Remove the related program year logic from dmn files
Search the .dmn files for the program year that is being removed. (For example, fulltime-assessment-decisions.dmn.) Remove all rules referring to the removed program year.
Remove related E2E tests
If there are still end to end tests specifically for the program year that is now obsolete, also remove those.