diff --git a/README.md b/README.md index fd7a94ab2f08235c1fb0223b6d923eb8fdd03c87..f04cd4228d17dc7888c031a8e12e70acac7bc90e 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,18 @@ - **Running just the modules using docker**: ~~~console - sudo docker run -d -p 5001:5001 xpokorn8/sprachschulsystem:certificate && - sudo docker run -d -p 5002:5002 xpokorn8/sprachschulsystem:exercise && - sudo docker run -d -p 5000:5000 xpokorn8/sprachschulsystem:language-school && - sudo docker run -d -p 5003:5003 xpokorn8/sprachschulsystem:mail + sudo docker run -d -p 8082:8082 xpokorn8/sprachschulsystem:confidentialClient && + sudo docker run -d -p 8082:8082 xpokorn8/sprachschulsystem:certificate && + sudo docker run -d -p 8083:8083 xpokorn8/sprachschulsystem:exercise && + sudo docker run -d -p 8081:8081 xpokorn8/sprachschulsystem:language-school && + sudo docker run -d -p 8084:8084 xpokorn8/sprachschulsystem:mail ~~~ + **Using app** +- use confidentialClient [authentication](https://localhost:8080/token) and login through MUNI Login + - select the scopes required: test_1 = admin, test_2 = lecturer, no test scopes = student + - upon successful authentication user is automaticaly registered in the system +- Copy the bearer token that is displayed + - paste the token into Swagger authentication option (green lock button) or use the token in auth options of Postman # Metrics and Monitoring Dashboards Our application uses Prometheus and Grafana to collect metrics and display them. @@ -71,6 +78,7 @@ System has three authorization roles - **Lecturer**, **Student** and **Admin**. ## Module services +- **confidentialClient** - **module-language-school** - **module-certificate** - **module-exercice**