File tree Expand file tree Collapse file tree
api/src/main/java/ca/bc/gov/educ/api/dataconversion/messaging/jetstream Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ private void initializeStreamTopicMap() {
7272
7373 @ PostConstruct
7474 public void subscribe () throws IOException , JetStreamApiException {
75+ if (!this .constants .isGradUpdateEnabled ()) {
76+ log .info ("TRAX event subscription is disabled because ENABLE_GRAD_UPDATE is false." );
77+ return ;
78+ }
79+
7580 val qName = EducGradDataConversionApiConstants .API_NAME .concat ("-QUEUE" );
7681 val autoAck = false ;
7782 for (val entry : this .streamTopicsMap .entrySet ()) {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ oc create -n "$BUSINESS_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map
5555 --from-literal=BASELINE_ON_MIGRATE=" false" \
5656 --from-literal=CONNECTION_TIMEOUT=" 90000" \
5757 --from-literal=ENABLE_FLYWAY=" true" \
58- --from-literal=ENABLE_GRAD_UPDATE=" true " \
58+ --from-literal=ENABLE_GRAD_UPDATE=" false " \
5959 --from-literal=ENABLE_SPLUNK_LOG_HELPER=" false" \
6060 --from-literal=GRAD_ASSESSMENT_API=" http://educ-grad-assessment-api.$GRAD_NAMESPACE -$envValue .svc.cluster.local:8080/" \
6161 --from-literal=GRAD_COURSE_API=" http://educ-grad-course-api.$GRAD_NAMESPACE -$envValue .svc.cluster.local:8080/" \
Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ objects:
6262 limits :
6363 cpu : " ${MAX_CPU}"
6464 memory : " ${MAX_MEM}"
65+ env :
66+ - name : CRON_SCHEDULED_PROCESS_EVENTS_STAN
67+ value : " -"
68+ - name : CRON_SCHEDULED_PURGE_OLD_RECORDS
69+ value : " -"
6570 envFrom :
6671 - configMapRef :
6772 name : educ-grad-api-config-map
You can’t perform that action at this time.
0 commit comments