Skip to content

Commit 039446b

Browse files
committed
remove debugging logs
1 parent 9833750 commit 039446b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

api/src/main/java/ca/bc/gov/educ/studentdatacollection/api/calculator/impl/CollectionAndFacilityTypeCalculator.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
3636
FteCalculationResult fteCalculationResult = new FteCalculationResult();
3737

3838
// v93
39-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running query for V93. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
4039
var includedInCollectionThisSchoolYearForDistrictWithNonZeroFteWithSchoolTypeNotOnline = fteCalculatorUtils.includedInCollectionThisSchoolYearForDistrictWithNonZeroFteWithSchoolTypeNotOnline(studentData);
4140
// The student was included in any collection in this school year for the district with a non-zero FTE
4241
// and was reported in any school with a type different than Online.
@@ -48,7 +47,6 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
4847
}
4948

5049
// v93
51-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running second query for V93. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
5250
var includedInCollectionThisSchoolYearForDistrictWithNonZeroFteWithSchoolTypeOnlineInGradeKto9 = fteCalculatorUtils.includedInCollectionThisSchoolYearForDistrictWithNonZeroFteWithSchoolTypeOnlineInGradeKto9(studentData);
5351
// The student was included in any collection in this school year for the district with a non-zero FTE
5452
// and was reported in an Online school in grade K to 9.
@@ -60,7 +58,6 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
6058
}
6159

6260
// v99
63-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running query for V99. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
6461
// The student was not reported in grade 8 or 9 with FTE>0 in any other districts in any previous collections this school year.
6562
var studentExistsInCurrentFiscalInGrade8Or9 = fteCalculatorUtils.reportedInOtherDistrictsInPreviousCollectionThisSchoolYearInGrade8Or9WithNonZeroFte(studentData);
6663
if (!studentExistsInCurrentFiscalInGrade8Or9) {
@@ -71,9 +68,7 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
7168
}
7269

7370
// v102
74-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running query for V102. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
7571
var reportedInOnlineSchoolInAnyPreviousCollectionThisSchoolYear = fteCalculatorUtils.reportedInOnlineSchoolInAnyPreviousCollectionThisSchoolYear(studentData);
76-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running second query for V102. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
7772
var reportedInOnlineSchoolInCurrentCollection = fteCalculatorUtils.reportedInOnlineSchoolInCurrentCollection(studentData);
7873
// The student was not reported in the Online School in July and was not reported in the online school in any previous collections this school year.
7974
// v102: trigger for students that are not enrolled with positive FTE in any online schools during the current school year (in any of the collections: Sep, Feb, May, or July)
@@ -85,7 +80,6 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
8580
}
8681

8782
// v103
88-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running query for V103. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
8983
var includedInCollectionThisSchoolYearForAuthWithNonZeroFteWithSchoolTypeNotOnline = fteCalculatorUtils.includedInCollectionThisSchoolYearForAuthWithNonZeroFteWithSchoolTypeNotOnline(studentData);
9084
// The student was included in any collection in this school year for the auth with a non-zero FTE
9185
// and was reported in any school with a type different than Online.
@@ -97,7 +91,6 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
9791
}
9892

9993
// v103
100-
log.info("CollectionAndFacilityTypeCalculator: FTE Zero; running second query for V102. :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
10194
var includedInCollectionThisSchoolYearForAuthWithNonZeroFteWithSchoolTypeOnlineInGradeKto9 = fteCalculatorUtils.includedInCollectionThisSchoolYearForAuthWithNonZeroFteWithSchoolTypeOnlineInGradeKto9(studentData);
10295
// The student was included in any collection in this school year for the auth with a non-zero FTE
10396
// and was reported in an Online school in grade K to 9.
@@ -108,8 +101,6 @@ public FteCalculationResult calculateFte(StudentRuleData studentData) {
108101
return fteCalculationResult;
109102
}
110103

111-
log.info("CollectionAndFacilityTypeCalculator: done running queries");
112-
113104
log.debug("CollectionAndFacilityTypeCalculator: No FTE result, moving to next calculation for student :: " + studentData.getSdcSchoolCollectionStudentEntity().getSdcSchoolCollectionStudentID());
114105
return this.nextCalculator.calculateFte(studentData);
115106
} else {

0 commit comments

Comments
 (0)