Skip to content

Commit

Permalink
Grad2-2632 school api call is replaced with trax api.
Browse files Browse the repository at this point in the history
  • Loading branch information
githubmamatha committed May 9, 2024
1 parent 063c38b commit 0307818
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ public class EducGradStudentApiConstants {
@Value("${endpoint.grad-graduation-report-api.archive-student-achievement.url}")
private String archiveStudentAchievements;

@Value("${endpoint.educ-school-api.get-school-by-mincode.url}")
@Value("${endpoint.grad-trax-api.commonschool-by-mincode.url}")
private String schoolByMincodeSchoolApiUrl;

@Value("${endpoint.educ-school-api.url}")
@Value("${endpoint.grad-trax-api.url}")
private String schoolsSchoolApiUrl;

// Splunk LogHelper Enabled
Expand Down
10 changes: 6 additions & 4 deletions api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,14 @@ resilience4j.retry:
#Endpoint properties
endpoint:
grad-trax-api:
url: ${GRAD_TRAX_API}api/v1/trax/school/common
school-by-min-code:
url: ${GRAD_TRAX_API}api/v1/trax/school/%s
district-by-district-code:
url: ${GRAD_TRAX_API}api/v1/trax/district/%s
commonschool-by-mincode:
url: ${GRAD_TRAX_API}api/v1/trax/school/common/%s

grad-program-api:
optional_program_name_by_optional_program_id:
url: ${GRAD_PROGRAM_API}api/v1/program/optionalprograms/id/%s
Expand Down Expand Up @@ -189,10 +193,8 @@ endpoint:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/studentcertificates?studentID=%s
archive-student-achievement:
url: ${GRAD_GRADUATION_REPORT_API}api/v1/graduationreports/archiveachievement/%s
educ-school-api:
url: ${EDUC_SCHOOL_API}api/v1/schools
get-school-by-mincode:
url: ${EDUC_SCHOOL_API}api/v1/schools/%s



#Splunk LogHelper
splunk:
Expand Down
6 changes: 4 additions & 2 deletions api/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,13 @@ cron:
#Endpoint properties
endpoint:
grad-trax-api:
url: https://educ-grad-trax-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/trax/school/common
school-by-min-code:
url: https://educ-grad-trax-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/trax/school/%s
district-by-district-code:
url: https://educ-grad-trax-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/trax/district/%s
commonschool-by-mincode:
url: https://educ-grad-trax-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/trax/school/common/%s
grad-program-api:
optional_program_name_by_optional_program_id:
url: https://educ-grad-program-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/program/optionalprograms/id/%s
Expand Down Expand Up @@ -141,8 +144,7 @@ endpoint:
url: https://educ-grad-graduation-report-api-77c02f-dev.apps.silver.devops.gov.bc.ca/api/v1/graduationreports/studentachievement/%s
educ-school-api:
url: https://school-api-75e61b-dev.apps.silver.devops.gov.bc.ca/api/v1/schools
get-school-by-mincode:
url: https://school-api-75e61b-dev.apps.silver.devops.gov.bc.ca/api/v1/schools/%s


#Splunk LogHelper
splunk:
Expand Down

0 comments on commit 0307818

Please sign in to comment.