Skip to content

Commit

Permalink
Merge pull request #542 from bcgov/feature/GRAD2-3037
Browse files Browse the repository at this point in the history
Feature/grad2 3037
  • Loading branch information
mightycox authored Dec 31, 2024
2 parents 6ced9be + 759a7d3 commit 4cbba14
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,6 @@ public class EducGradBatchGraduationApiConstants {
@Value("${endpoint.grad-student-api.read-grad-student-record-batch}")
private String readGradStudentRecordBatch;

@Value("${endpoint.grad-graduation-report-api.get-school-report-list.url}")
private String schoolReportPostingList;

@Value("${endpoint.grad-graduation-report-api.update-school-report.url}")
private String updateSchoolReport;

Expand Down
4 changes: 1 addition & 3 deletions api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,13 @@ endpoint:
get-certificate-types:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/certificatetype/%s
get-school-reports-lite-by-report-type:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/schoolreport/type/%s
url: ${GRAD_GRADUATION_REPORT_API}api/v2/graduationreports/schoolreport/search?reportTypeCode=%s&isLight=true
update-school-report:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/updateschoolreport?mincode=%s&reportTypeCode=%s
update-student-report:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/studentreports?reportTypeCode=%s
delete-student-report:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/delete?batchId=%s&reportType=%s
get-school-report-list:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/schoolreportdistribution
check-sccp-certificate-exists: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/check-sccp-certificate-exists
grad-distribution-api:
merge-n-upload:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,6 @@ public void testGetSchoolReportsLiteByReportType() {
schoolReportsLite.add(sr);

mockTokenResponseObject();

when(this.restService.get(String.format(constants.getSchoolReportsLiteByReportTypeUrl(), "GRADREG"), List.class)).thenReturn(schoolReportsLite);
when(LOGGER.isDebugEnabled()).thenReturn(true);

Expand Down
4 changes: 1 addition & 3 deletions api/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,13 @@ endpoint:
get-certificate-types:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/certificatetype/%s
get-school-reports-lite-by-report-type:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/schoolreport/type/%s
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/schoolreport/search?reportTypeCode=%s&isLight=true
update-school-report:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/updateschoolreports?mincode=%s&reportTypeCode=%s
update-student-report:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/studentreports?reportTypeCode=%s
delete-student-report:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/delete?batchId=%s&reportType=%s
get-school-report-list:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/schoolreportdistributionrun
check-sccp-certificate-exists: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/check-sccp-certificate-exists
grad-distribution-api:
merge-n-upload:
Expand Down

0 comments on commit 4cbba14

Please sign in to comment.