...
Build the
...
Create a remote fork of https://github.com/Taskana/TaskanaSimpleHistory/
Create a local clone
plugin
Taskana history library
Code Block | ||
---|---|---|
|
...
. |
...
Create a remote for the upstream project so that it is later easier to retrieve changes from the main repository.
Code Block | ||
---|---|---|
| ||
cd taskana
git remote add upstream https://github.com/Taskana/TaskanaSimpleHistory.git |
Build the plugin
...
/mvnw clean install |
REST API
with console:
Code Block | ||
---|---|---|
| ||
cd lib
mvn clean install |
Rest Api
Code Block | ||
---|---|---|
| ||
cd lib\taskana-simplehistory./mvnw spring-boot:run -P history.plugin -pl :taskana-rest-spring-example mvn spring-boot:run |
...
with Intellij:
- Open the Maven tab on the right
- Open the first entry 'Profiles'
- Select the checkbox 'history.plugin'
- Start ExampleRestApplication
REST API will be available: http://localhost:8080/v1/task-history-event
How to include History service into taskana application?
Since history service is thought to be a plugin we have to include it into taskana application following next simple steps:
...