Implement periodic tasks 71/19071/1
authormaxbr <maxbr@mi.fu-berlin.de>
Fri, 19 Aug 2016 15:11:58 +0000 (17:11 +0200)
committermaxbr <maxbr@mi.fu-berlin.de>
Fri, 19 Aug 2016 15:11:58 +0000 (17:11 +0200)
commit66eb4d851e63d20031502ec0c96aaabe34c6fd32
tree98248b6faf6b3c742efef258e34f06cc92d1a888
parent3b5ef3b0a88247eeafeee878de528aad71f9fd4b
Implement periodic tasks

JIRA: RELENG-12

The dashboard is now querying jenkins periodically and saving the
results in the database. This fixes delays that were caused by calling
the jenkins API.

Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
28 files changed:
tools/pharos-dashboard/account/middleware.py
tools/pharos-dashboard/account/migrations/0001_initial.py
tools/pharos-dashboard/booking/migrations/0001_initial.py
tools/pharos-dashboard/booking/tests/test_models.py
tools/pharos-dashboard/booking/tests/test_views.py
tools/pharos-dashboard/celerybeat-schedule [new file with mode: 0644]
tools/pharos-dashboard/dashboard/fixtures/dashboard.json
tools/pharos-dashboard/dashboard/migrations/0001_initial.py
tools/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py [new file with mode: 0644]
tools/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py [new file with mode: 0644]
tools/pharos-dashboard/dashboard/migrations/0004_resource_slave.py [new file with mode: 0644]
tools/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py [new file with mode: 0644]
tools/pharos-dashboard/dashboard/models.py
tools/pharos-dashboard/dashboard/templatetags/__init__.py [new file with mode: 0644]
tools/pharos-dashboard/dashboard/templatetags/jenkins_filters.py [new file with mode: 0644]
tools/pharos-dashboard/dashboard/views.py
tools/pharos-dashboard/jenkins/adapter.py
tools/pharos-dashboard/jenkins/migrations/0001_initial.py [new file with mode: 0644]
tools/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py [new file with mode: 0644]
tools/pharos-dashboard/jenkins/migrations/__init__.py [new file with mode: 0644]
tools/pharos-dashboard/jenkins/models.py [new file with mode: 0644]
tools/pharos-dashboard/jenkins/tasks.py [new file with mode: 0644]
tools/pharos-dashboard/pharos_dashboard/__init__.py
tools/pharos-dashboard/pharos_dashboard/celery.py [new file with mode: 0644]
tools/pharos-dashboard/pharos_dashboard/settings.py
tools/pharos-dashboard/templates/dashboard/ci_pods.html
tools/pharos-dashboard/templates/dashboard/dev_pods.html
tools/pharos-dashboard/templates/dashboard/jenkins_slaves.html