red-ui/README.md
2020-10-29 14:34:27 +02:00

49 lines
1.6 KiB
Markdown

# Redaction
## Swagger Generated Code
To regnerate http rune swaagger
```
BASE=https://timo-redaction-dev.iqser.cloud/
URL="$BASE"v2/api-docs?group=redaction-gateway-v1
mkdir -p /tmp/swagger
swagger-codegen generate -i "$URL" -l typescript-angular -o /tmp/swagger
```
## To Create a new Stack in rancher
Goto rancher.iqser.com: Select Cluster `Development`,
go to apps, click launch and select `Redaction` from the `dev` section.
Add a new name and a new namespace.
Select `answers-development.yaml` and add it to answers `Edit as yaml`.
For HTTPS / Cloudflare domain go to `workloads` -> `Loadbalancing` -> `select your stack`
Add cloudflare certificate and specify a hostname to use `timo-redaction-dev.iqser.cloud`
## Keycloak Staging Config
keycloak:
authServerUrl: 'https://redkc-staging.iqser.cloud/auth'
client:
secret: 'a4e8aa56-03b0-4e6b-b822-8ac1f41280c4'
## Default Testing URL
`https://timo-redaction-dev.iqser.cloud/`
Hostname:
timo-redaction-dev.iqser.cloud
## Test Users
| username | role | comment |
| ------------ | ------------------------------ | -------------------------- |
| guest | | cannot use the application |
| user | RED_USER | |
| red_manager | RED_MANAGER | |
| useradmin | RED_ADMIN, RED_USER | has super power ! |
| manageradmin | RED_ADMIN RED_MANAGER RED_USER | has super super power ! |
Password for all users is `OsloImWinter`