diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2017-12-20 12:55:28 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2017-12-20 12:55:28 -0500 |
commit | fc52e89492c20ca7a93d4e48f0cfa01ddacf7fa8 (patch) | |
tree | 1102bbb4e7e7a40711f9e2600516fe4b97e773a0 /dashboard/src/pharos_dashboard/settings.py | |
parent | 30f389c70e8a0a8bd2ef27be09839eef243ab7f5 (diff) |
Added sensor and rules
JIRA: PHAROS-318
Adds pharos.py which talks with the pharos dashboard to detect when bookings
are created and stores the needed information in the stackstorm datastore.
By default, the sensor will poll the dashboard every 30 seconds to check for changes.
The dashboard sensor will dispatch the triggers defined in dashboard_listener.yaml.
The rules in rules/* links the triggers thrown by the api sensor to workflows which will
do the work of deploying / cleaning the hosts.
Change-Id: I7411a16ebbb48739a8f1f5b924dea6493c400071
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/pharos_dashboard/settings.py')
0 files changed, 0 insertions, 0 deletions