Skip to content

Rhizomatic-IO/rhizomatic-samples

Repository files navigation

Rhizomatic Samples

Launch the Gradle Build System

From the root directory, ./gradlew clean jar rhizomaticAssembly (*Nix) or gradlew clean jar rhizomaticAssembly (Windows)

From the rhizomatic-samples/runtime/build/image/ directory, execute:

java -p libraries:system:<rhizomatic-samples>/bootstrap-message-gradle/build/classes/java/main/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic

On Windows, change ':' to ';'

Launch the Development System

Configure your IDE (currently IntelliJ is supported) to enable incremental compile and build the project.

From the rhizomatic-samples/runtime/build/image/ directory, execute:

java -p libraries:system:<rhizomatic-samples>/bootstrap-message-dev/out/production/classes/ -m io.rhizomatic.kernel/io.rhizomatic.kernel.Rhizomatic

On Windows, change ':' to ';'

Invoke the Service

Go to:

http://localhost:8080/api/tests/test

Debugging

To debug tests, launch Gradle with the debug option and set your IDE to listen on port 5005:

./gradlew clean test --debug-jvm