An orchestrator prototype, built on top of postgres
Link or copy and edit the config file
ln -s env.default .env
docker-compose up --build
Install orch:
python -m pip install --user -e .
Migrate the database:
alembic upgrade head
Run the API listening on port 8000:
uvicorn orch:app
Run example flow:
curl --request POST \
--url http://localhost:8000/flows \
--header 'Content-Type: application/json' \
--data '{
"name": "example",
"args": {
"wait_time": 10
}
}' | jq
Retrieve executed flows:
curl --request GET --url http://localhost:8000/flows | jq