No description, website, or topics provided.
Groovy Java Shell Batchfile Other
Clone or download
Pull request Compare This branch is 6 commits ahead, 234 commits behind dukecon:develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.mvn/wrapper
api
impl
jqassistant
src
.gitattributes
.gitignore
.travis.yml
GUITESTING.adoc
LICENSE
README.md
mvnw
mvnw.cmd
pom.xml
xvfb.sh

README.md

DukeCon Server

Build & Dependency Status

  • Build Status

  • Reactor: Dependency Status

  • API: Dependency Status

  • Impl: Dependency Status

REST Services

Talks

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.

Meta-Information

User-Preferences (Talk favorites)

User-Filter

  • 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"]}
  • Read:
    • HTTP method GET
    • URL http://localhost:8080/rest/filters

Health Check

Health check is available at /health URI.
HTTP status code 200 of the response tells you that everything is ok.

DB

  • H2 in development mode
    • In-Memory (jdbc:h2:mem:testdb)
    • DB console: http://localhost:8080/develop/h2-console/
  • 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)

Dependency Management

  • 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