-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: CoJ receivedFromTis #380
Conversation
TIS21-4718
There is a lot of obsolete code to clean-up in e.g. |
Dependent on #380 merged, TIS CoJ DMS redrive and checks on all UUID-style PMs CoJs having receivedFromTis set. TIS21-4715
@@ -220,7 +220,7 @@ public Optional<ProgrammeMembership> signProgrammeMembershipCoj( | |||
for (ProgrammeMembership existingProgrammeMembership : existingProgrammeMemberships) { | |||
if (existingProgrammeMembership.getTisId().equals(programmeMembershipId)) { | |||
ConditionsOfJoining conditionsOfJoining = | |||
new ConditionsOfJoining(Instant.now(), GoldGuideVersion.getLatest()); | |||
new ConditionsOfJoining(Instant.now(), GoldGuideVersion.getLatest(), null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting the syncedAt' value to null here is because the CoJ has just been signed; the complete record with that value set will be received from trainee-sync once it's been saved into TCS.
Kudos, SonarCloud Quality Gate passed! |
Sorry @DorisWongNHS - I renamed the variable, so I need a re-review if that's ok 😀 |
TIS21-4718