+
-
- {{ displayName(props.item.raw['usualFirstName'], props.item.raw['usualMiddleNames'], props.item.raw['usualLastName']) }}
+
+ {{ props.item.raw['usualLastName'] }}
+
+ ,
+ {{ props.item.raw['usualFirstName'] }}
+ ({{ props.item.raw['usualMiddleNames'] }})
-
@@ -169,6 +208,7 @@ import {appStore} from '@/store/modules/app';
import {mapState} from 'pinia';
import {authStore} from '@/store/modules/auth';
import {sanitizeUrl} from '@braintree/sanitize-url';
+import {DateTimeFormatter, LocalDateTime} from '@js-joda/core';
export default {
name: 'CustomTable',
@@ -200,6 +240,18 @@ export default {
type: Boolean,
required: true,
default: false
+ },
+ highlightChanges: {
+ type: Boolean,
+ default: false
+ },
+ showLinks: {
+ type: Boolean,
+ default: true
+ },
+ clickable: {
+ type: Boolean,
+ default: true
}
},
emits: ['reload', 'openStudentDetails', 'selections', 'editSelectedRow'],
@@ -290,6 +342,10 @@ export default {
}
this.masterCheckbox = this.selected.length > 0 && this.isAllSelected();
},
+ formatDateFromDateTime(inputDate) {
+ const date = LocalDateTime.parse(inputDate);
+ return date.format(DateTimeFormatter.ofPattern('yyyy/MM/dd'));
+ },
getSdcStudentStatusIconColor(status) {
if (status === 'FUNDWARN') {
return '#ff9800';
@@ -340,7 +396,7 @@ export default {
display: none;
}
- tr:hover td {
+ .hoverTable tr:hover td {
background-color: #e8e8e8 !important;
cursor: pointer;
}
@@ -358,4 +414,8 @@ export default {
cursor: not-allowed;
text-decoration: none;
}
+.highlight {
+ font-weight: bold;
+ color: #008000 !important;
+}
diff --git a/frontend/src/components/data-collection/AllStudents/DetailComponent.vue b/frontend/src/components/data-collection/AllStudents/DetailComponent.vue
index 20d35ca71..bffa98811 100644
--- a/frontend/src/components/data-collection/AllStudents/DetailComponent.vue
+++ b/frontend/src/components/data-collection/AllStudents/DetailComponent.vue
@@ -101,6 +101,7 @@
>
diff --git a/frontend/src/components/data-collection/AllStudents/EditStudent.vue b/frontend/src/components/data-collection/AllStudents/EditStudent.vue
index cc8d7d174..9e5fcd8ba 100644
--- a/frontend/src/components/data-collection/AllStudents/EditStudent.vue
+++ b/frontend/src/components/data-collection/AllStudents/EditStudent.vue
@@ -90,7 +90,7 @@
:maxlength="9"
:rules="penRules"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -101,7 +101,7 @@
variant="underlined"
:maxlength="12"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -114,7 +114,7 @@
:rules="[rules.required()]"
model-type="yyyyMMdd"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -128,7 +128,7 @@
variant="underlined"
:rules="[rules.required()]"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -142,7 +142,7 @@
:rules="[rules.required()]"
:maxlength="25"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -153,7 +153,7 @@
variant="underlined"
:maxlength="25"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -166,7 +166,7 @@
variant="underlined"
:maxlength="25"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -177,7 +177,7 @@
variant="underlined"
:maxlength="25"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -190,7 +190,7 @@
variant="underlined"
:maxlength="25"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -201,7 +201,7 @@
variant="underlined"
:maxlength="25"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -217,7 +217,7 @@
item-title="dropdownText"
:rules="[rules.required()]"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -230,7 +230,7 @@
item-value="schoolFundingCode"
item-title="dropdownText"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -244,7 +244,7 @@
variant="underlined"
density="compact"
autocomplete="off"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -255,7 +255,7 @@
variant="underlined"
:items="sdcCollection.otherCoursesValidNumbers"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -268,7 +268,7 @@
variant="underlined"
:items="sdcCollection.supportBlocksValidNumbers"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -281,7 +281,7 @@
item-value="specialEducationCategoryCode"
item-title="dropdownText"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -297,7 +297,7 @@
item-title="dropdownText"
density="compact"
:rules="[rules.required()]"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -310,7 +310,7 @@
item-value="bandCode"
item-title="dropdownText"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -325,7 +325,7 @@
item-value="homeLanguageSpokenCode"
item-title="dropdownText"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -336,7 +336,7 @@
variant="underlined"
:maxlength="6"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -351,7 +351,7 @@
item-value="careerProgramCode"
item-title="dropdownText"
density="compact"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
/>
@@ -366,7 +366,7 @@
multiple
density="compact"
:rules="enrolledProgramRules"
- :disabled="isSchoolCollectionSubmitted"
+ :readonly="readonly"
@update:model-value="syncWithEnrolledProgramCodeOnUserInput"
/>
@@ -444,6 +444,7 @@
:maxlength="sdcFieldMappings[field]?.options.maxlength"
density="compact"
variant="underlined"
+ :readonly="readonly"
/>
@@ -487,6 +491,7 @@
:label="sdcFieldMappings[field]?.label"
:rules="sdcFieldMappings[field].options.rules"
model-type="yyyyMMdd"
+ :readonly="readonly"
/>
@@ -525,7 +530,7 @@
@update:model-value="navigate"
/>
@@ -606,9 +611,13 @@ export default {
type: String,
required: false,
default: null
+ },
+ readonly: {
+ type: Boolean,
+ default: false
}
},
- emits: ['next', 'show-issues', 'clear-filter', 'filter-pen', 'form-validity', 'reset-parent', 'student-object', 'close-success', 'reset-pagination'],
+ emits: ['show-issues', 'clear-filter', 'filter-pen', 'form-validity', 'reset-parent', 'student-object', 'close-success', 'reset-pagination'],
data() {
return {
page: 1,
@@ -688,16 +697,6 @@ export default {
this.courseOptions.push(i.toFixed(2).padStart(5, '0'));
}
},
- next() {
- if(sdcCollectionStore().currentStepInCollectionProcess.isComplete) {
- this.$emit('next');
- } else {
- this.markStepAsComplete();
- }
- },
- clearFilter() {
- this.$emit('clear-filter');
- },
navigate() {
this.getSdcSchoolCollectionStudentDetail(this.selectedStudents[this.page - 1]);
},
diff --git a/frontend/src/components/data-collection/AllStudents/ViewStudentDetailsComponent.vue b/frontend/src/components/data-collection/AllStudents/ViewStudentDetailsComponent.vue
index cf29895d4..66ff2bfa6 100644
--- a/frontend/src/components/data-collection/AllStudents/ViewStudentDetailsComponent.vue
+++ b/frontend/src/components/data-collection/AllStudents/ViewStudentDetailsComponent.vue
@@ -30,6 +30,7 @@
:total-students="1"
:save-event="saveStudent"
:show-funding-eligibility-detail="showFundingEligibilitySection()"
+ :readonly="readonly"
@form-validity="isValid"
@show-issues="cancel"
@reset-parent="reset()"
@@ -104,6 +105,10 @@ export default {
type: Array,
required: true,
default: null,
+ },
+ readonly: {
+ type: Boolean,
+ default: false
}
},
emits: ['close', 'reload-students'],
diff --git a/frontend/src/components/penreg/student/StudentSLDHistory.vue b/frontend/src/components/penreg/student/StudentSLDHistory.vue
index 13da366ed..2692d383d 100644
--- a/frontend/src/components/penreg/student/StudentSLDHistory.vue
+++ b/frontend/src/components/penreg/student/StudentSLDHistory.vue
@@ -1,288 +1,30 @@
-
-
-
-
- {{ formatPen(student.pen) }}
- {{ getStudentName(student) }}
-
-
-
-
-
-
-
-
-
-
-
- {{ column.text }}
-
-
-
-
-
-
- {{ item.item.raw.distNo + item.item.raw.schlNo }}
-
-
-
- {{ item.item.raw[header.value] }}
- {{ item.item.raw['usualSurname'] }}
-
-
- {{ item.item.raw[header.value] }}
- {{ item.item.raw['usualGivenName'] }}
-
-
- {{ item.item.raw[header.value] }}
- {{ item.item.raw['usualMiddleName'] }}
-
-
- {{ formatDob(item.item.raw[header.value],'uuuuMMdd','uuuu/MM/dd') }}
-
-
-
- {{ item.item.raw[header.value] }}
-
-
- |
-
-
-
-
-
-
+
-
+ >
-
-
diff --git a/frontend/src/components/penreg/student/StudentSLDHistoryV1.vue b/frontend/src/components/penreg/student/StudentSLDHistoryV1.vue
new file mode 100644
index 000000000..eb4da8576
--- /dev/null
+++ b/frontend/src/components/penreg/student/StudentSLDHistoryV1.vue
@@ -0,0 +1,288 @@
+
+
+
+
+
+ {{ formatPen(student.pen) }}
+ {{ getStudentName(student) }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ column.text }}
+
+
+
+
+
+
+ {{ item.item.raw.distNo + item.item.raw.schlNo }}
+
+
+
+ {{ item.item.raw[header.value] }}
+ {{ item.item.raw['usualSurname'] }}
+
+
+ {{ item.item.raw[header.value] }}
+ {{ item.item.raw['usualGivenName'] }}
+
+
+ {{ item.item.raw[header.value] }}
+ {{ item.item.raw['usualMiddleName'] }}
+
+
+ {{ formatDob(item.item.raw[header.value],'uuuuMMdd','uuuu/MM/dd') }}
+
+
+
+ {{ item.item.raw[header.value] }}
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/penreg/student/StudentSLDHistoryV2.vue b/frontend/src/components/penreg/student/StudentSLDHistoryV2.vue
new file mode 100644
index 000000000..a8cc0a3bf
--- /dev/null
+++ b/frontend/src/components/penreg/student/StudentSLDHistoryV2.vue
@@ -0,0 +1,155 @@
+
+
+
+
+
+ {{ formatPen(student.pen) }}
+ {{ getStudentName(student) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/frontend/src/components/util/DatePicker.vue b/frontend/src/components/util/DatePicker.vue
index b57fea1d9..65c765c95 100644
--- a/frontend/src/components/util/DatePicker.vue
+++ b/frontend/src/components/util/DatePicker.vue
@@ -40,6 +40,10 @@ export default defineComponent({
type: Boolean,
required: false,
default: false
+ },
+ readonly: {
+ type: Boolean,
+ default: true
}
},
emits: ['update:model-value', 'clearDate'],
@@ -72,6 +76,7 @@ export default defineComponent({
position="left"
:teleport="allowTeleport ? '.v-overlay-container' : false"
auto-apply
+ :readonly="readonly"
@update:model-value="saveDate"
>
@@ -84,7 +89,8 @@ export default defineComponent({
:disabled="disabled"
variant="underlined"
placeholder="yyyy/mm/dd"
- :clearable="true"
+ :clearable="!readonly"
+ :readonly="readonly"
hide-details="auto"
@input="onInput"
@keydown.enter.prevent="onEnter"
diff --git a/tools/config/update-configmap.sh b/tools/config/update-configmap.sh
index 2b5e1f8e1..dd71ed435 100644
--- a/tools/config/update-configmap.sh
+++ b/tools/config/update-configmap.sh
@@ -675,15 +675,18 @@ if [ "$envValue" = "dev" ]; then
bannerColor="#8d28d7"
SCHEDULER_CRON_DOC_TYPE_MIGRATION="0 0 0 * * *"
disableSdcFunctionality=false
+ ENABLE_EDX_RELEASE="true"
elif [ "$envValue" = "test" ]; then
bannerEnvironment="TEST"
bannerColor="#58fe01"
SCHEDULER_CRON_DOC_TYPE_MIGRATION="0 0 0 * * *"
disableSdcFunctionality=false
+ ENABLE_EDX_RELEASE="false"
else
SCHEDULER_CRON_DOC_TYPE_MIGRATION="0 0 0 17 9 *"
disableSdcFunctionality=true
EDUC_EDX_FRONTEND="https://educationdataexchange.gov.bc.ca"
+ ENABLE_EDX_RELEASE="false"
fi
BANNER_ENVIRONMENT="$bannerEnvironment"
@@ -694,7 +697,7 @@ RATE_LIMIT_WINDOW_IN_SEC="60"
RATE_LIMIT_LIMIT="1000"
echo Creating config map $APP_NAME-backend-config-map
-oc create -n $PEN_NAMESPACE-$envValue configmap $APP_NAME-backend-config-map --from-literal=IS_RATE_LIMIT_ENABLED="$IS_RATE_LIMIT_ENABLED" --from-literal=RATE_LIMIT_WINDOW_IN_SEC="$RATE_LIMIT_WINDOW_IN_SEC" --from-literal=RATE_LIMIT_LIMIT="$RATE_LIMIT_LIMIT" --from-literal=WEB_SOCKET_URL="$WEB_SOCKET_URL" --from-literal=BANNER_COLOR="$BANNER_COLOR" --from-literal=BANNER_ENVIRONMENT="$BANNER_ENVIRONMENT" --from-literal=TZ=$TZVALUE --from-literal=UI_PRIVATE_KEY="$UI_PRIVATE_KEY_VAL" --from-literal=SITEMINDER_LOGOUT_ENDPOINT="$siteMinderLogoutUrl" --from-literal=UI_PUBLIC_KEY="$UI_PUBLIC_KEY_VAL" --from-literal=ID=$APP_NAME-soam --from-literal=SECRET=$studentAdminClientSecret --from-literal=SERVICE_CLIENT_ID=$APP_NAME-service --from-literal=SERVICE_CLIENT_SECRET=$studentAdminServiceClientSecret --from-literal=SERVER_FRONTEND=https://$SERVER_FRONTEND --from-literal=ISSUER=STUDENT_ADMIN_APPLICATION --from-literal=SOAM_PUBLIC_KEY="$formattedPublicKey" --from-literal=PEN_REQUEST_EMAIL_API_URL="http://student-profile-email-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/gmp" --from-literal=PEN_REQUEST_API_URL="http://pen-request-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/pen-request" --from-literal=DISCOVERY=https://$SOAM_KC/auth/realms/$SOAM_KC_REALM_ID/.well-known/openid-configuration --from-literal=KC_DOMAIN=https://$SOAM_KC/auth/realms/$SOAM_KC_REALM_ID --from-literal=PEN_DEMOGRAPHICS_URL="http://pen-demographics-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080" --from-literal=DIGITAL_ID_URL="http://digitalid-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/digital-id" --from-literal=STUDENT_API_URL="http://student-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student" --from-literal=LOG_LEVEL=info --from-literal=IDIR_IDP_HINT=keycloak_bcdevexchange_idir --from-literal=REDIS_HOST=redis --from-literal=REDIS_PORT=6379 --from-literal=STUDENT_PROFILE_API_URL="http://student-profile-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student-profile" --from-literal=SCHOOL_API_URL="http://school-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=STUDENT_PROFILE_EMAIL_API_URL="http://student-profile-email-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/ump" --from-literal=PROFILE_REQUEST_SAGA_API_URL="http://student-profile-saga-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student-profile-saga" --from-literal=NATS_URL="$NATS_URL" --from-literal=NATS_CLUSTER="$NATS_CLUSTER" --from-literal=UMP_ROLES="STUDENT_PROFILE_ADMIN,STUDENT_PROFILE_READ_ONLY" --from-literal=GMP_ROLES="STUDENT_ADMIN,STUDENT_ADMIN_READ_ONLY" --from-literal=STUDENT_SEARCH_ADMIN="STUDENT_SEARCH_ADMIN" --from-literal=STUDENT_SEARCH_ROLES="STUDENT_SEARCH_ADMIN,STUDENT_SEARCH_READ_ONLY" --from-literal=STUDENT_ADMIN_ADMINISTRATOR="STUDENT_ADMIN_ADMINISTRATOR" --from-literal=UMP_ROLE_ADMIN="STUDENT_PROFILE_ADMIN" --from-literal=GMP_ROLE_ADMIN="STUDENT_ADMIN" --from-literal=PEN_REQUEST_BATCH_ADMIN="PEN_REQUEST_BATCH_ADMIN" --from-literal=EDX_ADMIN="EDX_ADMIN" --from-literal=PEN_REQUEST_BATCH_API_URL="http://pen-reg-batch-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=PEN_MATCH_API_URL="http://pen-match-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/pen-match" --from-literal=SESSION_MAX_AGE=$sessionMaxAge --from-literal=TOKEN_EXPIRES_IN=$tokenExpiresIn --from-literal=SCHEDULER_CRON_STALE_SAGA_RECORD_REDIS="0/30 * * * * *" --from-literal=MIN_TIME_BEFORE_SAGA_IS_STALE_IN_SECONDS=10 --from-literal=PEN_SERVICES_API_URL="http://pen-services-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/pen-services" --from-literal=PEN_TRAX_API_URL="http://pen-trax-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=SLD_API_URL="http://sld-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=QUEUE_GROUP_NAME="student-admin-node-queue-group" --from-literal=STAN_ENABLED="true" --from-literal=NODE_ENV="openshift" --from-literal=SCHEDULER_CRON_DOC_TYPE_MIGRATION="$SCHEDULER_CRON_DOC_TYPE_MIGRATION" --from-literal=ENABLE_PRR_STUDENT_DEMOGRAPHICS="$ENABLE_PRR_STUDENT_DEMOGRAPHICS" --from-literal=NOMINAL_ROLL="NOMINAL_ROLL_EDIT" --from-literal=MACRO_API_URL="http://macro-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/macro" --from-literal=NOMINAL_ROLL_API_URL="http://pen-nominal-roll-api-main.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/nominal-roll" --from-literal=STUDENT_ANALYTICS_STUDENT_PROFILE="STUDENT_ANALYTICS_STUDENT_PROFILE" --from-literal=STUDENT_ANALYTICS_BATCH="STUDENT_ANALYTICS_BATCH" --from-literal=NOMINAL_ROLL_ROLES="NOMINAL_ROLL,NOMINAL_ROLL_EDIT" --from-literal=EDX_API_URL="http://edx-api-master.$EDX_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/edx" --from-literal=SDC_API_URL="http://student-data-collection-api-master.$EDX_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student-data-collection" --from-literal=INSTITUTE_API_URL="http://institute-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/institute" --from-literal=EDX_PEN_TEAM_ROLES="PEN_TEAM_ROLE" --from-literal=INSTITUTE_ROLES="OFFSHORE_SCHOOLS_ADMIN" --from-literal=DISABLE_SDC_FUNCTIONALITY=$disableSdcFunctionality --from-literal=EDX_URL=$EDUC_EDX_FRONTEND --dry-run -o yaml | oc apply -f -
+oc create -n $PEN_NAMESPACE-$envValue configmap $APP_NAME-backend-config-map --from-literal=IS_RATE_LIMIT_ENABLED="$IS_RATE_LIMIT_ENABLED" --from-literal=RATE_LIMIT_WINDOW_IN_SEC="$RATE_LIMIT_WINDOW_IN_SEC" --from-literal=RATE_LIMIT_LIMIT="$RATE_LIMIT_LIMIT" --from-literal=WEB_SOCKET_URL="$WEB_SOCKET_URL" --from-literal=BANNER_COLOR="$BANNER_COLOR" --from-literal=BANNER_ENVIRONMENT="$BANNER_ENVIRONMENT" --from-literal=TZ=$TZVALUE --from-literal=UI_PRIVATE_KEY="$UI_PRIVATE_KEY_VAL" --from-literal=SITEMINDER_LOGOUT_ENDPOINT="$siteMinderLogoutUrl" --from-literal=UI_PUBLIC_KEY="$UI_PUBLIC_KEY_VAL" --from-literal=ID=$APP_NAME-soam --from-literal=SECRET=$studentAdminClientSecret --from-literal=SERVICE_CLIENT_ID=$APP_NAME-service --from-literal=SERVICE_CLIENT_SECRET=$studentAdminServiceClientSecret --from-literal=SERVER_FRONTEND=https://$SERVER_FRONTEND --from-literal=ISSUER=STUDENT_ADMIN_APPLICATION --from-literal=SOAM_PUBLIC_KEY="$formattedPublicKey" --from-literal=PEN_REQUEST_EMAIL_API_URL="http://student-profile-email-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/gmp" --from-literal=PEN_REQUEST_API_URL="http://pen-request-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/pen-request" --from-literal=DISCOVERY=https://$SOAM_KC/auth/realms/$SOAM_KC_REALM_ID/.well-known/openid-configuration --from-literal=KC_DOMAIN=https://$SOAM_KC/auth/realms/$SOAM_KC_REALM_ID --from-literal=PEN_DEMOGRAPHICS_URL="http://pen-demographics-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080" --from-literal=DIGITAL_ID_URL="http://digitalid-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/digital-id" --from-literal=STUDENT_API_URL="http://student-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student" --from-literal=LOG_LEVEL=info --from-literal=IDIR_IDP_HINT=keycloak_bcdevexchange_idir --from-literal=REDIS_HOST=redis --from-literal=REDIS_PORT=6379 --from-literal=STUDENT_PROFILE_API_URL="http://student-profile-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student-profile" --from-literal=SCHOOL_API_URL="http://school-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=STUDENT_PROFILE_EMAIL_API_URL="http://student-profile-email-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/ump" --from-literal=PROFILE_REQUEST_SAGA_API_URL="http://student-profile-saga-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student-profile-saga" --from-literal=NATS_URL="$NATS_URL" --from-literal=NATS_CLUSTER="$NATS_CLUSTER" --from-literal=UMP_ROLES="STUDENT_PROFILE_ADMIN,STUDENT_PROFILE_READ_ONLY" --from-literal=GMP_ROLES="STUDENT_ADMIN,STUDENT_ADMIN_READ_ONLY" --from-literal=STUDENT_SEARCH_ADMIN="STUDENT_SEARCH_ADMIN" --from-literal=STUDENT_SEARCH_ROLES="STUDENT_SEARCH_ADMIN,STUDENT_SEARCH_READ_ONLY" --from-literal=STUDENT_ADMIN_ADMINISTRATOR="STUDENT_ADMIN_ADMINISTRATOR" --from-literal=UMP_ROLE_ADMIN="STUDENT_PROFILE_ADMIN" --from-literal=GMP_ROLE_ADMIN="STUDENT_ADMIN" --from-literal=PEN_REQUEST_BATCH_ADMIN="PEN_REQUEST_BATCH_ADMIN" --from-literal=EDX_ADMIN="EDX_ADMIN" --from-literal=PEN_REQUEST_BATCH_API_URL="http://pen-reg-batch-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=PEN_MATCH_API_URL="http://pen-match-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/pen-match" --from-literal=SESSION_MAX_AGE=$sessionMaxAge --from-literal=TOKEN_EXPIRES_IN=$tokenExpiresIn --from-literal=SCHEDULER_CRON_STALE_SAGA_RECORD_REDIS="0/30 * * * * *" --from-literal=MIN_TIME_BEFORE_SAGA_IS_STALE_IN_SECONDS=10 --from-literal=PEN_SERVICES_API_URL="http://pen-services-api-master.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/pen-services" --from-literal=PEN_TRAX_API_URL="http://pen-trax-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=SLD_API_URL="http://sld-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1" --from-literal=QUEUE_GROUP_NAME="student-admin-node-queue-group" --from-literal=STAN_ENABLED="true" --from-literal=NODE_ENV="openshift" --from-literal=SCHEDULER_CRON_DOC_TYPE_MIGRATION="$SCHEDULER_CRON_DOC_TYPE_MIGRATION" --from-literal=ENABLE_PRR_STUDENT_DEMOGRAPHICS="$ENABLE_PRR_STUDENT_DEMOGRAPHICS" --from-literal=NOMINAL_ROLL="NOMINAL_ROLL_EDIT" --from-literal=MACRO_API_URL="http://macro-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/macro" --from-literal=NOMINAL_ROLL_API_URL="http://pen-nominal-roll-api-main.$PEN_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/nominal-roll" --from-literal=STUDENT_ANALYTICS_STUDENT_PROFILE="STUDENT_ANALYTICS_STUDENT_PROFILE" --from-literal=STUDENT_ANALYTICS_BATCH="STUDENT_ANALYTICS_BATCH" --from-literal=NOMINAL_ROLL_ROLES="NOMINAL_ROLL,NOMINAL_ROLL_EDIT" --from-literal=EDX_API_URL="http://edx-api-master.$EDX_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/edx" --from-literal=SDC_API_URL="http://student-data-collection-api-master.$EDX_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/student-data-collection" --from-literal=INSTITUTE_API_URL="http://institute-api-master.$COMMON_NAMESPACE-$envValue.svc.cluster.local:8080/api/v1/institute" --from-literal=EDX_PEN_TEAM_ROLES="PEN_TEAM_ROLE" --from-literal=INSTITUTE_ROLES="OFFSHORE_SCHOOLS_ADMIN" --from-literal=DISABLE_SDC_FUNCTIONALITY=$disableSdcFunctionality --from-literal=EDX_URL=$EDUC_EDX_FRONTEND --from-literal=ENABLE_EDX_RELEASE=$ENABLE_EDX_RELEASE --dry-run -o yaml | oc apply -f -
echo
echo Setting environment variables for $APP_NAME-backend-$SOAM_KC_REALM_ID application
oc -n $PEN_NAMESPACE-$envValue set env --from=configmap/$APP_NAME-backend-config-map dc/$APP_NAME-backend-$SOAM_KC_REALM_ID