HomeSoftware Heritage

Add 3 cli commands: runner, listener and api-server

Description

Add 3 cli commands: runner, listener and api-server

These commands do what they say, ie. start a runner, listener or API server
process.

Note that processes are not daemonized and run in front.

Typically used as:

swh-scheduler --cls local --database postgresql:///?service=swh api-server --host 127.0.0.1 --port 5008

swh-scheduler --cls remote --url http://127.0.0.1:5008 runner --period 10

swh-scheduler --cls remote --url http://127.0.0.1:5008 listener

Details

Provenance
douarddaAuthored on Jan 7 2019, 11:34 AM
douarddaPushed on Jan 10 2019, 3:53 PM
Differential Revision
D887: Improve cli and add 3 commands
Parents
rDSCH6eb80f560d8e: Use a dict as click context obj in cli
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3366
Build 4341: test-and-build