/event_service

Simple Spring Boot RESTful service for adding and retrieving events. An event has a type, value, time, and UUID.

Primary LanguageJavaApache License 2.0Apache-2.0

Event Service

Simple Spring Boot RESTful service for adding and retrieving events. An event has a type, value, time, and UUID.

Build

./gradlew build

Install & run

mkdir /opt/event_service
cp event_service-<version>.jar /opt/event_service
cp scripts/event_service /etc/init.d
systemctl enable event_service
systemctl start event_service

Note: certbot files need to be moved to the appropriate /etc/letsencrypt directory.

Run Manually

java -jar event_service-<version>.jar

Overriding default configuration options

Add application.yml with overrides to same directory as the jar file.

Build javadoc

./gradlew javadoc
./gradlew javadocJar # builds a javadoc jar for each module

Run unit/integration tests

./gradlew test # runs both unit and integration tests

License

Apache License, Version 2.0