generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PO-179 added insert scripts for OPAL test users and match them to Leg…
…acy GoB users
- Loading branch information
1 parent
f4cdb53
commit 6649ec5
Showing
7 changed files
with
2,081 additions
and
0 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
src/main/resources/db/migration/V20240216_083__insert_users.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/** | ||
* OPAL Program | ||
* | ||
* MODULE : insert_users.sql | ||
* | ||
* DESCRIPTION : Inserts rows of data into the USERS table. These are users that also exist in Legacy GoB. | ||
* | ||
* VERSION HISTORY: | ||
* | ||
* Date Author Version Nature of Change | ||
* ---------- ------- -------- --------------------------------------------------------------------------------------------------------- | ||
* 16/02/2024 A Dennis 1.0 PO-179 Inserts rows of data into the USERS table. These are users that also exist in Legacy GoB. | ||
* | ||
**/ | ||
INSERT INTO users | ||
( | ||
user_id | ||
,username | ||
,password | ||
,description | ||
) | ||
VALUES | ||
( | ||
'gl.userfour' | ||
,'[email protected]' | ||
,'ZjaCcP/VFBjsWL15Py2bGw==!' | ||
,'Recreating a User with access to 27 business units in Legacy GoB' | ||
); | ||
|
||
INSERT INTO users | ||
( | ||
user_id | ||
,username | ||
,password | ||
,description | ||
) | ||
VALUES | ||
( | ||
'gl.firstuser' | ||
,'[email protected]' | ||
,NULL | ||
,'Recreating a User with no access to a business unit in Legacy GoB' | ||
); | ||
|
||
INSERT INTO users | ||
( | ||
user_id | ||
,username | ||
,password | ||
,description | ||
) | ||
VALUES | ||
( | ||
'Suffolk.user' | ||
,'[email protected]' | ||
,'OQWXJPc6mWmEXf5BRsVmDg==!' | ||
,'Recreating a User with access to just 1 business unit in Legacy GoB' | ||
); | ||
|
||
INSERT INTO users | ||
( | ||
user_id | ||
,username | ||
,password | ||
,description | ||
) | ||
VALUES | ||
( | ||
'humber.usertwo' | ||
,'[email protected]' | ||
,'W4rdKl2YsaZS6n/XLZQtrA==!' | ||
,'Recreating a User with access to 3 business units in Legacy GoB' | ||
); |
Oops, something went wrong.