-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Amended person sync to create events if there are any QTLS related in…
…duction changes (#1835) ### Context Teachers with QTLS can potentially have an induction status without any dfeta_induction records associated with a Contact. We are currently only live syncing any induction status changes for changes to the dfeta_induction table. We need to also capture any changes to the induction status on the Contact table when the QTLS date changes alone as part of the Person live sync. ### Changes proposed in this pull request Amend the SyncPersons code in `TrsDataSyncHelper` to also generate any `DqtContactInductionStatusChangedEvent` events if there are any changes to the `Contact.dfeta_InductionStatus` field but only where the `Contact.dfeta_qtlsdate` field has changed too (i.e. the induction status has changed as a result of the QTLS date having changed). ### Checklist - [ ] Attach to Trello card - [ ] Rebased master - [ ] Cleaned commit history - [ ] Tested by running locally - [ ] Run DQT integration tests locally (if appropriate)
- Loading branch information
Showing
4 changed files
with
267 additions
and
114 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
Oops, something went wrong.