Skip to content
Permalink
Browse files
Encode password, fix typo error and add missing env variable
  • Loading branch information
Anh3h committed Oct 29, 2019
1 parent 1b85975 commit 4d8bdb2ab4a3ed23ebe25c429f044e128274ff7e
Showing 3 changed files with 12 additions and 8 deletions.
@@ -283,11 +283,12 @@ create-tenant ${TENANT} "${TENANT}" "All in one Demo Server" ${TENANT}
assign-identity-ms ${TENANT}
login ${TENANT} "antony" $ADMIN_PASSWORD
create-scheduler-role ${TENANT}
create-user ${TENANT} "antony" "imhotep" "p4ssw0rd" "scheduler"
login ${TENANT} "imhotep" "p4ssw0rd"
update-password ${TENANT} "imhotep" "p4ssw0rd"
# Base64Encode(p4ssw0rd) = cDRzc3cwcmQ=
create-user ${TENANT} "antony" "imhotep" "cDRzc3cwcmQ=" "scheduler"
login ${TENANT} "imhotep" "cDRzc3cwcmQ="
update-password ${TENANT} "imhotep" "cDRzc3cwcmQ="
provision-app ${TENANT} $RHYTHM_MS_NAME
login ${TENANT} "imhotep" "p4ssw0rd"
login ${TENANT} "imhotep" "cDRzc3cwcmQ="
# Rhythm is not available at the moment
# set-application-permission-enabled-for-user ${TENANT} $RHYTHM_MS_NAME "identity__v1__app_self" "imhotep"
provision-app ${TENANT} $OFFICE_MS_NAME
@@ -305,7 +306,9 @@ provision-app ${TENANT} $GROUP_MS_NAME
provision-app ${TENANT} $NOTIFICATIONS_MS_NAME
login ${TENANT} "antony" $ADMIN_PASSWORD
create-org-admin-role ${TENANT}
create-user ${TENANT} "antony" "operator" "init1@l23" "orgadmin"
login ${TENANT} "operator" "init1@l"
# Base64Encode(init1@l23) = aW5pdDFAbDIz
create-user ${TENANT} "antony" "operator" "aW5pdDFAbDIz" "orgadmin"
login ${TENANT} "operator" "aW5pdDFAbDIz"
update-password ${TENANT} "operator" "aW5pdDFAbDIz"

echo "COMPLETED PROVISIONING PROCESS."
echo "COMPLETED PROVISIONING PROCESS."
@@ -549,7 +549,7 @@ services:
ipv4_address: ${GROUP_IP}

notifications-ms:
image: apache/fineract-cn-notifications:latestC
image: apache/fineract-cn-notifications:latest
ports:
- "2033:2033"
environment:
@@ -14,6 +14,7 @@ POSTGRESQL_USER=postgres
RIBBON_EUREKA_SERVER=eureka:9090
SCHEDULER_USER_NAME=imhotep
SYSTEM_INITIAL_CLIENT_ID=service-runner
SERVER_MAX_HTTP_HEADER_SIZE=16384

PROVISIONER_IP=172.16.238.20
IDENTITY_IP=172.16.238.21

0 comments on commit 4d8bdb2

Please sign in to comment.