Port Mozilla's Graph Server
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jan 2012 08:28:57 +0000 (08:28 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jan 2012 08:28:57 +0000 (08:28 +0000)
commit2ae6220226e07630d57e331fb24907a36c9bbee6
treee221ee6cff18880deb4f59eb5972289cd0da71b0
parent1ecd2fd644d6d369a056e1a25cafd8b808af9a4d
Port Mozilla's Graph Server
https://bugs.webkit.org/show_bug.cgi?id=76312

Reviewed by Adam Barth.

Add the app engine backend for the Mozilla's graph server used on perf-webkit.appspot.com.

To deploy webkit-perf.appspot.com, you also need to pull index.html, embed.html, graph.html, jq,
js (except config.js), and css (except title.png) from https://github.com/mozilla/graphs.

* Websites/perf-webkit.appspot.com: Added.
* Websites/perf-webkit.appspot.com/app.yaml: Added.
* Websites/perf-webkit.appspot.com/create_handler.py: Added.
(CreateHandler):
(CreateHandler.post):
(CreateHandler._createBuilder):
(CreateHandler._createBuilder.execute):
(CreateHandler._createBranch):
(CreateHandler._createBranch.execute):
(CreateHandler._createPlatform):
(CreateHandler._createPlatform.execute):
* Websites/perf-webkit.appspot.com/dashboard_handler.py: Added.
(DashboardHandler):
(DashboardHandler.get):
* Websites/perf-webkit.appspot.com/index.yaml: Added.
* Websites/perf-webkit.appspot.com/main.py: Added.
(main):
* Websites/perf-webkit.appspot.com/manifest_handler.py: Added.
(ManifestHandler):
(ManifestHandler.get):
* Websites/perf-webkit.appspot.com/models.py: Added.
(NumericIdHolder):
(NumericIdHolder.whose):
(createInTransactionWithNumericIdHolder):
(modelFromNumericId):
(Branch):
(Platform):
(Builder):
(Builder.authenticate):
(Builder.hashedPassword):
(Build):
(Test):
(TestResult):
(ReportLog):
* Websites/perf-webkit.appspot.com/report_handler.py: Added.
(ReportHandler):
(ReportHandler.post):
(ReportHandler._modelByKeyNameInBodyOrError):
(ReportHandler._integerInBody):
(ReportHandler._timestampInBody):
(ReportHandler._output):
(ReportHandler._resultsAreValid):
(ReportHandler._createBuildIfPossible):
(ReportHandler._createBuildIfPossible.execute):
(ReportHandler._addTestIfNeeded):
(ReportHandler._addTestIfNeeded.execute):
* Websites/perf-webkit.appspot.com/runs_handler.py: Added.
(RunsHandler):
(RunsHandler.get):
* Websites/perf-webkit.appspot.com/static: Added.
* Websites/perf-webkit.appspot.com/static/create-models.html: Added.
* Websites/perf-webkit.appspot.com/static/manual-submit.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@105971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
ChangeLog
Websites/webkit-perf.appspot.com/app.yaml [new file with mode: 0644]
Websites/webkit-perf.appspot.com/create_handler.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/dashboard_handler.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/index.yaml [new file with mode: 0644]
Websites/webkit-perf.appspot.com/js/config.js [new file with mode: 0644]
Websites/webkit-perf.appspot.com/main.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/manifest_handler.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/models.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/report_handler.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/runs_handler.py [new file with mode: 0644]
Websites/webkit-perf.appspot.com/static/create-models.html [new file with mode: 0644]
Websites/webkit-perf.appspot.com/static/manual-submit.html [new file with mode: 0644]