Skip to content

Latest commit

 

History

History
executable file
·
30 lines (25 loc) · 1.2 KB

README.md

File metadata and controls

executable file
·
30 lines (25 loc) · 1.2 KB

OpenTrapp

Build Status

Open Time Registration Application

In order to build:

  gradle clean test

Starting server:

  gradle jettyRun -Dspring.profiles.active={profilesToActivate}

Available profiles:

  • transients - use in memory transient persistence (fastest, all data is lost after server restart),
  • mongo - use mongo persistence,
  • mongo-lab - connect to mongolab database (requires mongo profile),
  • mongo-dev - connect to embedded mongo database (requires mongo profile, all data is lost after server restart),
  • mock-security - every request is authenticated as mock user (homer.simpson),
  • spring-security - authentication against Google OpenID authentication provider,
  • demo - populate database with sample data.

Examples:

  • gradle jettyRun -Dspring.profiles.active=transients,mock-security,demo
  • gradle jettyRun -Dspring.profiles.active=mongo,mongo-lab,spring-security

REST API executable specification:

http://pragmatists.github.io/OpenTrapp