Pre-release version of a Stroom annotation service.
A service that handles CRUD operations for Annotations and the Annotation Types
This module connects to a MariaDB database for storing the annotations. Uses the Flyway module to build the database
Obviously you'll lose test data if you do this.
- Stop the database container and delete it
- Change the migrations to whatever SQL you need
- Run the app to perform the migrations (or use the Flyway command line)
- Delete the old models at
stroom-persistence/src/main/java/stroom
. - Run
./gradlew generateAnnotationdbJooqSchemaSource
to generate the models again - Restart app