Accessible on /rest/conferences/499959
.
Data is being cached.
Data can be updated with URI /rest/conferences/update/499959
.
Therefor an authenticated request with role ROLE_ADMIN
is needed.
- Login with Keycloak
- Filters will be persisted with a record of each principal in the DB
- Write/save:
- HTTP method
PUT
- URL
http://localhost:8080/rest/filters
- Content-Type:
application/json
- Payload:
{"favourites":true,"levels":["Fortgeschritten"],"languages":["Englisch"],"tracks":["IDEs & Tools"],"locations":["Wintergarten", "Schauspielhaus"]}
- HTTP method
- Read:
- HTTP method
GET
- URL
http://localhost:8080/rest/filters
- HTTP method
Health check is available at /health
URI.
HTTP status code 200
of the response tells you that everything is ok.
- H2 in development mode
- In-Memory (
jdbc:h2:mem:testdb
) - DB console:
http://localhost:8080/develop/h2-console/
- In-Memory (
- PostgreSQL with profile "postgresql"
- activate with
-Dspring.profiles.active=postgresql
- to run the tests against the PostgreSQL db (and a previously reset of the db), you need the "postgresql-test" profile (
-Dspring.profiles.active=postgresql-test
)
- activate with
- Maven build fails in verify phase if declared dependencies are unused or used dependencies are undeclared
- mvn verify
- CI calls mvn deploy which includes verify
- the acutal goal is mvn dependency:analyze(-only) which may show warnings
- dependency analyzing may cause problems because of Spring Boot starter dependencies
- configure in pom.xml
Start org.dukecon.DukeConServerApplication from your IDE.