Skip to content

Commit 291dca1

Browse files
Replication update
1 parent a392f12 commit 291dca1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/main/java/ca/bc/gov/educ/api/pen/replication/service/StudentCourseUpdateService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void processEvent(final StudentCourseUpdate studentCourseUpdate, final Ev
5151
if (existingTraxStudentRecord.isPresent()) {
5252
var existingCourses = this.traxStudentCourseService.findTraxStudentCoursesByPen(studentPEN);
5353
existingCourses = existingCourses.stream().filter(Objects::nonNull).toList();
54-
this.traxStudentCourseService.deletePriorAndSaveTraxStudentCourses(existingCourses, getStudentCourseEntityList(studentPEN, studentCourseUpdate.getStudentCourses(), existingCourses));
54+
// this.traxStudentCourseService.deletePriorAndSaveTraxStudentCourses(existingCourses, getStudentCourseEntityList(studentPEN, studentCourseUpdate.getStudentCourses(), existingCourses));
5555
log.info("Processing choreography update event with ID {} :: payload is: {}", event.getEventId(), studentCourseUpdate);
5656
}else{
5757
log.info("Student course event not processed {} :: payload is: {} :: student does not yet exist in TRAX STUDENT_MASTER", event.getEventId(), studentCourseUpdate);

0 commit comments

Comments
 (0)