Skip to content

Commit

Permalink
GRAD2-2540 fixed update to dev config map (#632)
Browse files Browse the repository at this point in the history
* Added scheduler to update RECALCULATE_PROJECTED_GRAD for students with selected criteria

* Modified query as per Kim

* Fixed unit tests

* Fixed update configmaps for dev

---------

Co-authored-by: chris.ditcher <[email protected]>
  • Loading branch information
cditcher and chris.ditcher authored Mar 21, 2024
1 parent 158aed7 commit bc4ecb9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tools/config/override-configmap-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,25 @@ PARSER_CONFIG="
###########################################################
#Override config-maps in DEV
###########################################################
echo Creating config map "$APP_NAME"-config-map
oc create -n "$GRAD_NAMESPACE"-"$envValue" configmap "$APP_NAME"-config-map \
--from-literal=APP_LOG_LEVEL="$APP_LOG_LEVEL" \
--from-literal=CONNECTION_TIMEOUT="60000" \
--from-literal=EDUC_SCHOOL_API="http://school-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=ENABLE_FLYWAY="true" \
--from-literal=ENABLE_SPLUNK_LOG_HELPER="false" \
--from-literal=ENABLE_STUDENT_ID_PEN_XREF="true" \
--from-literal=ENABLE_TRAX_UPDATE="true" \
--from-literal=GRAD_GRADUATION_REPORT_API="http://educ-grad-graduation-report-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=GRAD_PROGRAM_API="http://educ-grad-program-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=GRAD_STUDENT_GRADUATION_API="http://educ-grad-student-graduation-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=GRAD_TRAX_API="http://educ-grad-trax-api.$GRAD_NAMESPACE-$envValue.svc.cluster.local:8080/"\
--from-literal=MAXIMUM_POOL_SIZE="20" \
--from-literal=MAX_RETRY_ATTEMPTS="3" \
--from-literal=PEN_API="http://student-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/" \
--from-literal=CRON_SCHEDULED_REFRESH_NON_GRAD_STATUS="0 */10 * ? * *" \
--dry-run=client -o yaml | oc apply -f -

echo Creating config map "$APP_NAME"-flb-sc-config-map
oc create -n "$GRAD_NAMESPACE"-"$envValue" configmap "$APP_NAME"-flb-sc-config-map \
--from-literal=fluent-bit.conf="$FLB_CONFIG" \
Expand Down

0 comments on commit bc4ecb9

Please sign in to comment.