Maven setup¶
- Maven Central spring-persistent-tasks-core
- Maven Central spring-persistent-tasks-ui
- Maven Central spring-persistent-tasks-db
Core¶
- Allows the build of triggers
- the execution of tasks
- Adds also REST APIs to manage triggers and list existing tasks
Setup Spring for Core¶
Include corresponding annotation if you use:
@EntityScan->@EnableSpringPersistentTasksEntityScan@EnableJpaRepositories->@EnableSpringPersistentTasksJpaRepositories@EnableEnversRepositories->@EnableSpringPersistentTasksJpaRepositories
They break the spring auto configuration.
DB using liquibase¶
Dependency needed to setup the DB using liquibase
Option 1: Just include the master file¶
Option 2: import changesets on by one¶
Enable a SPA management UI¶
This dependency adds a spring react default UI to /task-ui. Assuming at least an instance of the spring persistent tasks is available on this node.