This project was developed as part of the CSE2115 course in TUDelft. The repository does not capture all commits, branches, pull requests and other version managements that took place in the original repository in GitLab.
gradle bootRun
gradle test
To generate a coverage report:
gradle jacocoTestCoverageVerification
And
gradle jacocoTestReport
The coverage report is generated in: build/reports/jacoco/test/html, which does not get pushed to the repo. Open index.html in your browser to see the report.
gradle checkStyleMain
gradle checkStyleTest
gradle pmdMain
gradle pmdTest
- You should have a local .gitignore file to make sure that any OS-specific and IDE-specific files do not get pushed to the repo (e.g. .idea). These files do not belong in the .gitignore on the repo.
- If you change the name of the repo to something other than template, you should also edit the build.gradle file.
- You can add issue and merge request templates in the .gitlab folder on your repo.
- To begin, run (either with IntelliJ or gradle bootRun) the
discovery-serverSpring Application, followed byuser-authentication-service,room,groupandreservation. Then, runapi-gateway. - Make a request to
localhost:8090/user/register(returning 200 if accepted and 400 if netId already exists) with body:
{
"netId": <your net id>,
"name": <your name>,
"password": <your password>
"type": <type> (USER | SECRETARY | ADMIN)
}
- After this, make a request to
localhost:8090/user/loginwith body:
{
"netId": <your net id>,
"password": <your password>
}
- You will receive a response body with a JWT; copy this, and then add it to the header "Authorization", with value "Bearer ". This will be needed for all next requests.
Anna Nikolcheva, Cherin Kim, Pau Faraldos, Thijs Penning, Timo Heijnemans