-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abeca60
commit eeb4863
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -54,3 +54,41 @@ Click DIGIT-Install workflow. | |
Select Run workflow. | ||
When prompted, type "destroy". This action starts the terraform_infra_destruction job. | ||
You can observe the progress of the destruction job in the actions window. | ||
|
||
**Create Superuser** | ||
kubectl port-forward svc/egov-user -n egov 8080:8080 | ||
And run the below curl: | ||
|
||
curl --location 'http://localhost:8080/user/users/_createnovalidate' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"requestInfo": { | ||
"apiId": "Rainmaker", | ||
"ver": ".01", | ||
"ts": null, | ||
"action": "_update", | ||
"did": "1", | ||
"key": "", | ||
"msgId": "20170310130900|en_IN", | ||
"authToken": "51e00caf-3218-4f15-ba70-a45f7d40abc1" | ||
}, | ||
"user": { | ||
"userName": "admin", | ||
"name": "Admin User", | ||
"gender": null, | ||
"mobileNumber": "9898989898", | ||
"type": "EMPLOYEE", | ||
"active": true, | ||
"password": "eGov@123", | ||
"roles": [ | ||
{ | ||
"name": "Super User", | ||
"code": "SUPERUSER", | ||
"tenantId": "mz" | ||
} | ||
], | ||
"emailId": "[email protected]", | ||
"tenantId": "mz" | ||
} | ||
}' | ||
|