Skip to content

Commit 9eac2c9

Browse files
authored
OZ-960: Fix typos in start.sh script. (#187)
1 parent e10a3c7 commit 9eac2c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scripts/ozone-urls-template.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
HIS Component,URL,Username,Password,Service
1+
HIS App,URL,Username,Password,Service
22
-,-,-,-
33
OpenMRS 3,${SERVER_SCHEME}://${O3_HOSTNAME}/openmrs/spa,admin,Admin123,openmrs
44
Bahmni EMR,${SERVER_SCHEME}://${BAHMNI_EMR_HOSTNAME}/bahmni/home,superman,Admin123,bahmniemr

scripts/utils.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function extractServicesFromComposeFiles() {
247247
}
248248

249249
function displayAccessURLsWithCredentials {
250-
echo "HIS Component,URL,Username,Password" > .urls_1.txt
250+
echo "HIS App,URL,Username,Password" > .urls_1.txt
251251
echo "-,-,-,-" >> .urls_1.txt
252252

253253
definedServices=()
@@ -273,13 +273,13 @@ function displayAccessURLsWithCredentials {
273273
envsubst < .urls_1.txt > .urls_2.txt
274274

275275
echo ""
276-
echo "$INFO 🔗 Access each ${OZONE_LABEL:-Ozone FOSS} components at the following URL:"
276+
echo "$INFO 🔗 Access each ${OZONE_LABEL:-Ozone FOSS} app at the following URL:"
277277
echo ""
278278
if [ "$ENABLE_SSO" == "true" ]; then
279279
if [ "$DEMO" == "true" ]; then
280-
awk -F, 'NR==1 {printf "%-15s %-40s\n", $1, $2} NR>2 && $1 != "Keycloak" {printf "%-15s %-40s\n", $1, $2} END {print "-\nUsername: jdoe\nPassword: password\n-\nIdentity Provider(IDP)\nKeycloak -", $2, " Username:", $3, " Password:", $4}' .urls_2.txt
280+
awk -F, 'NR==1 {printf "%-15s %-40s\n", $1, $2} NR>2 && $1 != "Keycloak" {printf "%-15s %-40s\n", $1, $2} END {print "-\nUsername: jdoe\nPassword: password\n-\nIdentity Provider(IdP)\nKeycloak -", $2, " Username:", $3, " Password:", $4}' .urls_2.txt
281281
else
282-
awk -F, 'NR==1 {printf "%-15s %-40s\n", $1, $2} NR>2 && $1 != "Keycloak" {printf "%-15s %-40s\n", $1, $2} END {print "-\n⚠️ No demo users are available. Please create users manually in Keycloak.\n-\nIdentity Provider(IDP)\nKeycloak -", $2, " Username:", $3, " Password:", $4}' .urls_2.txt
282+
awk -F, 'NR==1 {printf "%-15s %-40s\n", $1, $2} NR>2 && $1 != "Keycloak" {printf "%-15s %-40s\n", $1, $2} END {print "-\n⚠️ No demo users are available. Please create users manually in Keycloak.\n-\nIdentity Provider(IdP)\nKeycloak -", $2, " Username:", $3, " Password:", $4}' .urls_2.txt
283283
fi
284284
else
285285
awk -F, 'NR==1 {printf "%-15s %-40s %-15s %-15s\n", $1, $2, $3, $4} NR>2 && $1 != "Keycloak" {printf "%-15s %-40s %-15s %-15s\n", $1, $2, $3, $4}' .urls_2.txt

0 commit comments

Comments
 (0)