Merge branch 'DEVELOP' of ssh://git.eclipse.org:29418/openk-usermodules/org.eclipse.openk-usermodules.gridFailureInformation.backend into DEVELOP
diff --git a/gfsBackendService/deploy/keycloak/addKeycloakUsersGFI_ext.bat b/gfsBackendService/deploy/keycloak/addKeycloakUsersGFI_ext.bat
new file mode 100644
index 0000000..a4a3531
--- /dev/null
+++ b/gfsBackendService/deploy/keycloak/addKeycloakUsersGFI_ext.bat
@@ -0,0 +1,44 @@
+echo ------- Login Keycloak -------
+call kcadm config credentials --server http://localhost:8080/auth --realm master --user admin --password admin
+REM ***************** CREATING NEW USER *****************
+SET usernameVar=berta_qp
+echo ------- Creating User: %usernameVar% -------
+call kcadm create users -s username=%usernameVar% -s firstName=Berta -s lastName=QP  -s enabled=true -r Elogbook
+call kcadm set-password -r Elogbook --username %usernameVar% --new-password %usernameVar%
+echo pwd set
+call kcadm add-roles --uusername %usernameVar% --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-publisher -r Elogbook
+echo roles set
+REM ***************** CREATING NEW USER *****************
+SET usernameVar=rudi_qe
+echo ------- Creating User: %usernameVar% -------
+call kcadm create users -s username=%usernameVar% -s firstName=Rudi -s lastName=QE  -s enabled=true -r Elogbook
+call kcadm set-password -r Elogbook --username %usernameVar% --new-password %usernameVar%
+echo pwd set
+call kcadm add-roles --uusername %usernameVar% --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-creator -r Elogbook
+echo roles set
+REM ***************** CREATING NEW USER *****************
+SET usernameVar=lupin_qpe
+echo ------- Creating User: %usernameVar% -------
+call kcadm create users -s username=%usernameVar% -s firstName=Lupin -s lastName=QPE  -s enabled=true -r Elogbook
+call kcadm set-password -r Elogbook --username %usernameVar% --new-password %usernameVar%
+echo pwd set
+call kcadm add-roles --uusername %usernameVar% --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-publisher --rolename grid-failure-creator -r Elogbook
+echo roles set
+REM ***************** CREATING NEW USER *****************
+SET usernameVar=alexa_pe
+echo ------- Creating User: %usernameVar% -------
+call kcadm create users -s username=%usernameVar% -s firstName=Alexa -s lastName=PE  -s enabled=true -r Elogbook
+call kcadm set-password -r Elogbook --username %usernameVar% --new-password %usernameVar%
+echo pwd set
+call kcadm add-roles --uusername %usernameVar% --rolename grid-failure-access --rolename grid-failure-creator --rolename grid-failure-publisher -r Elogbook
+echo roles set
+REM ***************** CREATING NEW USER *****************
+SET usernameVar=delia_qpea
+echo ------- Creating User: %usernameVar% -------
+call kcadm create users -s username=%usernameVar% -s firstName=Delia -s lastName=QPEA  -s enabled=true -r Elogbook
+call kcadm set-password -r Elogbook --username %usernameVar% --new-password %usernameVar%
+echo pwd set
+call kcadm add-roles --uusername %usernameVar% --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-publisher --rolename grid-failure-creator --rolename grid-failure-admin -r Elogbook
+echo roles set
+
+echo ------- Finished -------
diff --git a/gfsBackendService/deploy/keycloak/addKeycloakUsersGFI_ext.sh b/gfsBackendService/deploy/keycloak/addKeycloakUsersGFI_ext.sh
new file mode 100644
index 0000000..3c0f715
--- /dev/null
+++ b/gfsBackendService/deploy/keycloak/addKeycloakUsersGFI_ext.sh
@@ -0,0 +1,46 @@
+#!/bin/sh
+echo ------- Login Keycloak -------
+sh kcadm.sh config credentials --server http://localhost:8380/auth --realm master --user admin --password admin
+realmVar="OpenKRealm"
+# ***************** CREATING NEW USER *****************
+usernameVar="berta_qp"
+echo ------- Creating User: $usernameVar -------
+sh kcadm.sh create users -s username=$usernameVar -s firstName=Berta -s lastName=QP -s enabled=true -r $realmVar
+sh kcadm.sh set-password -r $realmVar --username $usernameVar --new-password $usernameVar
+echo pwd set
+sh kcadm.sh add-roles --uusername $usernameVar --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-publisher -r $realmVar
+echo roles set
+# ***************** CREATING NEW USER *****************
+usernameVar="rudi_qe"
+echo ------- Creating User: $usernameVar -------
+sh kcadm.sh create users -s username=$usernameVar -s firstName=Rudi -s lastName=QE -s enabled=true -r $realmVar
+sh kcadm.sh set-password -r $realmVar --username $usernameVar --new-password $usernameVar
+echo pwd set
+sh kcadm.sh add-roles --uusername $usernameVar --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-creator -r $realmVar
+echo roles set
+# ***************** CREATING NEW USER *****************
+usernameVar="lupin_qpe"
+echo ------- Creating User: $usernameVar -------
+sh kcadm.sh create users -s username=$usernameVar -s firstName=Lupin -s lastName=QPE -s enabled=true -r $realmVar
+sh kcadm.sh set-password -r $realmVar --username $usernameVar --new-password $usernameVar
+echo pwd set
+sh kcadm.sh add-roles --uusername $usernameVar --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-publisher --rolename grid-failure-creator -r $realmVar
+echo roles set
+# ***************** CREATING NEW USER *****************
+usernameVar="alexa_pe"
+echo ------- Creating User: $usernameVar -------
+sh kcadm.sh create users -s username=$usernameVar -s firstName=Alexa -s lastName=PE -s enabled=true -r $realmVar
+sh kcadm.sh set-password -r $realmVar --username $usernameVar --new-password $usernameVar
+echo pwd set
+sh kcadm.sh add-roles --uusername $usernameVar --rolename grid-failure-access --rolename grid-failure-creator --rolename grid-failure-publisher -r $realmVar
+echo roles set
+# ***************** CREATING NEW USER *****************
+usernameVar="delia_qpea"
+echo ------- Creating User: $usernameVar -------
+sh kcadm.sh create users -s username=$usernameVar -s firstName=Delia -s lastName=QPEA -s enabled=true -r $realmVar
+sh kcadm.sh set-password -r $realmVar --username $usernameVar --new-password $usernameVar
+echo pwd set
+sh kcadm.sh add-roles --uusername $usernameVar --rolename grid-failure-access --rolename grid-failure-qualifier --rolename grid-failure-publisher --rolename grid-failure-creator --rolename grid-failure-admin -r $realmVar
+echo roles set
+
+echo ------- Finished -------