Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 8 Next »

Checking out the code

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

  2. Create a local clone

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


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

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

Build the plugin

Taskana history library

./mvnw clean install -f lib

Rest Api

./mvnw spring-boot:run -pl :taskana-simplehistory-rest-spring-example

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:

  1. Generate client bundle typing npm run build:prod at taskana/web folder (if it is not already generated)
  2. Install taskana rest project with the option -P history.plugin at taskana/rest folder v./mvnw clean install -P history.plugin -f rest  (It will create taskana-rest-spring-example-boot with history plugin dependencies)
  3. Run taskana application, just do ./mvnw spring-boot:run -P history.plugin -pl :taskana-rest-spring-example-boot at taskana\rest\taskana-rest-spring-example-boot folder
  4. Go to http://localhost:8080 and you will get History module available.
  • No labels