From cc846224c89c1d8e9fc9e1722b3d587a263c714e Mon Sep 17 00:00:00 2001 From: Jinil Sung Date: Tue, 24 Oct 2023 16:17:19 -0700 Subject: [PATCH] GRAD2-2365: task is complete. GRAD2-2365: task is complete. --- .../gov/educ/api/dataconversion/process/CourseProcess.java | 6 ++++++ .../student/StudentAssessmentUpdateEventService.java | 2 +- .../service/student/StudentCourseUpdateEventService.java | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/CourseProcess.java b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/CourseProcess.java index 40ac0a3c..1d71545d 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/CourseProcess.java +++ b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/process/CourseProcess.java @@ -1129,6 +1129,12 @@ public void createCourseRequirements(ConversionCourseSummaryDTO summary) { createCourseRequirement(populate("YFND", "10", "119"), summary); createCourseRequirement(populate("YFND", "11", "119"), summary); createCourseRequirement(populate("YFND", "12", "119"), summary); + + // GRAD2-2365 + createCourseRequirement(populate("DAKE", "10", "119"), summary); + createCourseRequirement(populate("DAKE", "11", "119"), summary); + createCourseRequirement(populate("DAKE", "12", "119"), summary); + createCourseRequirement(populate("IDAKE", "11", "119"), summary); } private CourseRequirement populate(String courseCode, String courseLevel, String courseRequirementCode) { diff --git a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentAssessmentUpdateEventService.java b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentAssessmentUpdateEventService.java index f9606895..b20ea131 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentAssessmentUpdateEventService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentAssessmentUpdateEventService.java @@ -67,7 +67,7 @@ public void processEvent(T request, Event event) { } public void processAssessment(TraxStudentUpdateDTO studentAssessmentUpdate, StudentGradDTO currentStudent, String accessToken) { - log.info(" Process French Immersion : studentID = {}, pen = {} ", currentStudent.getStudentID(),studentAssessmentUpdate.getPen()); + log.info(" Process Assessment : studentID = {}, pen = {} ", currentStudent.getStudentID(),studentAssessmentUpdate.getPen()); studentProcess.triggerGraduationBatchRun(currentStudent.getStudentID(), "Y", "Y", accessToken); } diff --git a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentCourseUpdateEventService.java b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentCourseUpdateEventService.java index 6dea77de..d10d4982 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentCourseUpdateEventService.java +++ b/api/src/main/java/ca/bc/gov/educ/api/dataconversion/service/student/StudentCourseUpdateEventService.java @@ -66,7 +66,7 @@ public void processEvent(T request, Event event) { } public void processCourse(TraxStudentUpdateDTO studentCourseUpdate, StudentGradDTO currentStudent, String accessToken) { - log.info(" Process Courses : studentID = {}, pen = {} ", currentStudent.getStudentID(), studentCourseUpdate.getPen()); + log.info(" Process Course : studentID = {}, pen = {} ", currentStudent.getStudentID(), studentCourseUpdate.getPen()); studentProcess.triggerGraduationBatchRun(currentStudent.getStudentID(), "Y", "Y", accessToken); }