travis encrypt-file --pro google-key.json --add
google-key.json.enc
file is safe to commit to the repositorygoogle-key.json
contains google service account private key DO NOT commit this file
- Start the application either through command-line or IDE
- Set spring profile in
Application.kt
todev
- The application will then be accessible through
localhost:8080
- Set spring profile in
- All measurements are done in controller classes with micrometer
- And these can be found under
controller
package - How see them
- Start influxdb then navigate to
localhost:8083
- Change database to
mydb
- Play around with endpoints
- Do
SHOW MEASUREMENTS
and see if measurements are there - Query for example
SELECT * FROM long_running_task
or anything that were used
- Start influxdb then navigate to
GET /
GET /api/courses
GET /api/courses/:courseCode
POST /api/courses
{"courseCode":"your_value", "courseName":"your_value"}
GET /api/students
GET /api/students/:studentId
GET /api/students/:studentId/exams
POST /api/students/signup
{"studentId":"your_value"}
PUT /api/students/:studentId/exams/:courseCode