Projects



Changes between Version 2 and Version 3 of PetriNetSagas


Ignore:
Timestamp:
Feb 3, 2021, 5:40:46 PM (4 years ago)
Author:
roewekamp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PetriNetSagas

    v2 v3  
    1111
    1212''' Library files only: '''
     13
    1314''' Sample project: '''
     15
    1416''' Empty reference project: '''
    1517
    1618== Setup instructions ==
    1719
    18 (TODO)
     20The setup assumes a Linux environment. If you work under macOS or Windows details might differ from the here presented instructions.
     21It is recommended to prepare a local installation of Docker and docker-compose, as it greatly eases setup of the required service components.
     22Note, that under Windows Docker needs to run in Linux-image compatible mode, as some key images are only available for the Linux platform.
     23
     24A working Java JDK (e.g. OpenJDK) needs to be present with support for at least Java 11!
     25
     26The deployment requires a microservice environment (that can be supplied by just one machine for testing purposes) with the following applications:
     27* Apache Zookeeper
     28* Apache Kafka
     29* MySQL
     30* Zipkin
     31* Eventuate Tram CDC Service
     32
     33If you do not use the Docker-based setup please refer to the respective projects websites on information on how to set these up.
     34To set up all the dependencies it is sufficient to navigate to the folder "service_environment" and issue the command "docker-compose up -d".
     35Depending on your local setup you might need to supply elevated permissions (e.g. by using "sudo") to the docker-compose command.
     36The service infrastructure can be tore down again with the command "docker-compose down" from within the same directory.
     37
     38To start the sample application navigate to the main directory and run "./gradlew build"