Quick start
This page runs a Process from the Rust examples, juiz_examples_rust.
Install the juiz command first (see Installation).
Build the examples
Section titled “Build the examples”git clone https://github.com/OpenJUIZ/juiz_examples_rust.gitcd juiz_examples_rustcargo buildEach example is built as a shared library that juiz loads as a plugin.
The config files look for plugins in ./target/debug, so run juiz from the repository root.
juiz -f increment_process.conf -dincrement_process simply adds 1 to its argument. With -d, juiz starts an HTTP broker on port 8000 and waits (Ctrl+C to quit).
Call it
Section titled “Call it”Open this URL to call the Process from Swagger UI:
http://127.0.0.1:8000/docsSwagger UI is available in juiz 0.0.17 and later. In 0.0.16 and earlier, only the OpenAPI definition is available at http://127.0.0.1:8000/api-docs/openapi.json.
Examples in other languages
Section titled “Examples in other languages”- Python: juiz_examples_python
- C++: juiz_examples_cpp