Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Issue 2622303003: Allows a user to create_health_reports. (Closed)

Created:
3 years, 11 months ago by jessimb
Modified:
3 years, 11 months ago
Reviewers:
eakuefner, sullivan
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Allows a user to create_health_reports. Creates the /create_health_report endpoint allowing for the upload of table configs. This is a step in the /speed_releasing effort. If you want to put something in the datastore, feel free to try so here: https://dev-jessimb-156d874e-dot-chromeperf.appspot.com/create_health_report BUG=catapult:#3141 Review-Url: https://codereview.chromium.org/2622303003 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/af5154d43a513b9977fef08e3c79dddf8f9c6567

Patch Set 1 #

Patch Set 2 : removing changes from other CL #

Total comments: 20

Patch Set 3 : Updated to polymer elements, validation of bots, other things related to code review comments. #

Patch Set 4 : Updated to polymer elements, validation of bots, other things related to code review comments. #

Total comments: 20

Patch Set 5 : added testing #

Total comments: 23

Patch Set 6 : response to comments #

Patch Set 7 : added check that table name was unique #

Total comments: 1

Patch Set 8 : updated a test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+690 lines, -0 lines) Patch
A dashboard/dashboard/create_health_report.py View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
A dashboard/dashboard/create_health_report_test.py View 1 2 3 4 5 6 7 1 chunk +176 lines, -0 lines 0 comments Download
M dashboard/dashboard/dispatcher.py View 1 2 chunks +2 lines, -0 lines 0 comments Download
A dashboard/dashboard/elements/create-health-report-page.html View 1 2 3 4 5 1 chunk +231 lines, -0 lines 0 comments Download
A dashboard/dashboard/elements/create-health-report-page-test.html View 1 2 3 4 5 1 chunk +66 lines, -0 lines 0 comments Download
A dashboard/dashboard/models/table_config.py View 1 2 3 4 5 6 1 chunk +106 lines, -0 lines 0 comments Download
A dashboard/dashboard/static/create_health_report.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (13 generated)
jessimb
PTAL
3 years, 11 months ago (2017-01-11 19:56:01 UTC) #3
eakuefner
lgtm, but I guess I'm still wondering about the whole Jinja thing. Again, eliminating it ...
3 years, 11 months ago (2017-01-11 20:18:49 UTC) #6
sullivan
On 2017/01/11 20:18:49, eakuefner wrote: > lgtm, but I guess I'm still wondering about the ...
3 years, 11 months ago (2017-01-11 20:59:09 UTC) #8
sullivan
https://codereview.chromium.org/2622303003/diff/20001/dashboard/app.yaml File dashboard/app.yaml (right): https://codereview.chromium.org/2622303003/diff/20001/dashboard/app.yaml#newcode116 dashboard/app.yaml:116: secure: always Why do we restrict report creation to ...
3 years, 11 months ago (2017-01-11 20:59:15 UTC) #9
jessimb
A couple open question in the comments for sullivan@ https://codereview.chromium.org/2622303003/diff/20001/dashboard/app.yaml File dashboard/app.yaml (right): https://codereview.chromium.org/2622303003/diff/20001/dashboard/app.yaml#newcode116 dashboard/app.yaml:116: ...
3 years, 11 months ago (2017-01-11 21:31:21 UTC) #10
sullivan
https://codereview.chromium.org/2622303003/diff/20001/dashboard/app.yaml File dashboard/app.yaml (right): https://codereview.chromium.org/2622303003/diff/20001/dashboard/app.yaml#newcode116 dashboard/app.yaml:116: secure: always On 2017/01/11 21:31:21, jessimb wrote: > On ...
3 years, 11 months ago (2017-01-11 21:38:03 UTC) #11
jessimb
PTAL I factored /create_health_report into a polymer element, added checks to the data in table_config.py, ...
3 years, 11 months ago (2017-01-12 02:10:30 UTC) #13
sullivan
This needs tests! create_health_report_test.py: testPost_CreateTable: Add some bots to the datastore post() valid table parameters ...
3 years, 11 months ago (2017-01-12 14:14:29 UTC) #14
jessimb
I have added much tests. Let me know if I am missing any or if ...
3 years, 11 months ago (2017-01-13 04:02:30 UTC) #15
jessimb
> https://codereview.chromium.org/2622303003/diff/60001/dashboard/dashboard/create_health_report.py#newcode31 > dashboard/dashboard/create_health_report.py:31: {'error': 'Unauthorized access, please use corp account to login.'})) > On ...
3 years, 11 months ago (2017-01-13 04:05:15 UTC) #17
sullivan
On 2017/01/13 04:05:15, jessimb wrote: > > > https://codereview.chromium.org/2622303003/diff/60001/dashboard/dashboard/create_health_report.py#newcode31 > > dashboard/dashboard/create_health_report.py:31: {'error': 'Unauthorized > ...
3 years, 11 months ago (2017-01-13 14:12:26 UTC) #18
sullivan
On 2017/01/13 04:02:30, jessimb wrote: > I have added much tests. Let me know if ...
3 years, 11 months ago (2017-01-13 14:44:14 UTC) #19
jessimb
PTAL. I fixed the issues in the comments (in particular cleaned up the python testing ...
3 years, 11 months ago (2017-01-13 22:25:09 UTC) #20
sullivan
lgtm Just one more test fix inline then fine to submit. https://codereview.chromium.org/2622303003/diff/120001/dashboard/dashboard/create_health_report_test.py File dashboard/dashboard/create_health_report_test.py (right): ...
3 years, 11 months ago (2017-01-13 22:48:56 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2622303003/140001
3 years, 11 months ago (2017-01-13 23:14:21 UTC) #26
jessimb
On 2017/01/13 at 22:48:56, sullivan wrote: > lgtm > > Just one more test fix ...
3 years, 11 months ago (2017-01-13 23:14:34 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 23:59:16 UTC) #30
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698