Skip to content

shh-jupyter/python-overseer-client

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

python-overseer-client

Interact with overseer workflow tasks from python

The following code will register as a runtime with the overseer scheduler and accept a matching task. Finally the wrapper reports completion or failure of the command.

export PYTHON_OVERSEER_CLIENT_PROPS="/projects1/python-overseer-client.properties"
export OVERSEER_WORKFLOW_INSTANCE_UUID="59da8818-2e88-48e0-bad4-48541a8427f8"
export OVERSEER_WORKFLOW_STEP_NAME=":work"
with-overseer-client YOUR_COMMAND_HERE

The properties file describes how to connect to the message queue(s).

overseer.context.host = localhost
overseer.context.port = 60000
overseer.context.username = shh-overseer-client-user
overseer.context.password = foo
overseer.context.timeout = 10
overseer.rx.address = jms.topic.topic.shh.overseer.rx
overseer.tx.address = jms.topic.topic.shh.overseer.tx

You can supply a comma separated list of hosts and ports to connect to reserve message queues.

Installation

Clone the repo and build a wheel

cd python-overseer-client
# pip3 install wheel
# ^ provides the bdist_wheel target
python3 setup.py bdist_wheel
pip3 install dist/overseer-0.1.0-py3-none-any.whl

About

Interact with overseer workflows from python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages