Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Checking out the code

Create a remote fork of https://github.com/Taskana/TaskanaSimpleHistory/

Create a local clone

Code Block
languagebash
git clone https://github.com/<yourname>/Taskana/TaskanaSimpleHistory.git

Create a remote for the upstream project so that it is later easier to retrieve changes from the main repository.

Code Block
languagebash
cd taskana
git remote add upstream https://github.com/Taskana/TaskanaSimpleHistory.git

Build the plugin

Taskana history library

Code Block
languagebash
./mvnw clean install -f lib

Rest Api

Code Block
languagebash
./mvnw spring-boot:run -P history.plugin -pl :taskana-simplehistory-rest-spring-example-boot

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:

...