-
Notifications
You must be signed in to change notification settings - Fork 44
Examples
The following script compiles the flux runtime.
./build.sh noTests
To run the end-to-end examples, you must have a mysql installation running on your system.
To keep it simple we assume that the root user has create database privileges and works without a password. If these are not the settings on your system, please change setup_db.sh appropriately
Run the following script to setup a skeleton database for use in Flux
./setup_db.sh
We've put up an example to demonstrate how you can take decisions in your workflow.
For this, please check out class com.flipkart.flux.examples.decision.UserVerificationWorkflow
To run the class, the codebase must be built and the database setup using steps documented above Then, you can run the class using:
cd examples
./run_example.sh com.flipkart.flux.examples.decision.RunUserVerificationWorkflow
Or, simply run com.flipkart.flux.examples.decision.RunUserVerificationWorkflow in your IDE