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

Issue 2275123002: Milo: pRPC endpoint for getting Buildbot master data (Closed)

Created:
4 years, 3 months ago by Ryan Tseng
Modified:
4 years, 3 months ago
Reviewers:
estaab, iannucci, hinoka
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Milo: pRPC endpoint for getting Buildbot master data g/prpc endpoints are done via a grpc.go file in each of the modules (in contrast to the html.go file) In addition: * Master fetches are done in getMasterEntry(), which performs the ACL check for both html and grpc endpoints * Added symlinks for rpcexplorer static assets BUG=639900 Committed: https://github.com/luci/luci-go/commit/1eff02f4e6c4deaaa26c9096eb87dfd47d4c9cd6

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : test fixes #

Patch Set 4 : Update config tests #

Total comments: 5

Patch Set 5 : Rebase #

Patch Set 6 : Rebase fix #

Patch Set 7 : Renamed stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+622 lines, -52 lines) Patch
A milo/api/proto/buildbot.proto View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
A milo/api/proto/buildbot.pb.go View 1 2 3 4 5 6 1 chunk +187 lines, -0 lines 0 comments Download
A + milo/api/proto/buildbotserver_dec.go View 1 2 3 4 5 6 2 chunks +7 lines, -7 lines 0 comments Download
A + milo/api/proto/generate.go View 1 chunk +2 lines, -2 lines 0 comments Download
A milo/api/proto/pb.discovery.go View 1 2 3 4 5 6 1 chunk +248 lines, -0 lines 0 comments Download
M milo/appengine/buildbot/builder.go View 1 2 3 4 5 3 chunks +1 line, -18 lines 0 comments Download
A milo/appengine/buildbot/grpc.go View 1 2 3 4 5 6 1 chunk +44 lines, -0 lines 0 comments Download
M milo/appengine/buildbot/master.go View 3 chunks +39 lines, -8 lines 0 comments Download
M milo/appengine/buildbot/pubsub_test.go View 1 2 6 chunks +29 lines, -10 lines 0 comments Download
M milo/appengine/frontend/milo.go View 1 2 3 4 3 chunks +20 lines, -1 line 0 comments Download
A milo/appengine/frontend/static/common/auth View 1 chunk +1 line, -0 lines 0 comments Download
A milo/appengine/frontend/static/common/bower_components View 1 chunk +1 line, -0 lines 0 comments Download
A milo/appengine/frontend/static/common/rpc View 1 chunk +1 line, -0 lines 0 comments Download
A milo/appengine/frontend/static/common/rpcexplorer View 1 chunk +1 line, -0 lines 0 comments Download
M milo/appengine/settings/acl_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M milo/appengine/settings/config.go View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M milo/appengine/settings/config_test.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M server/static/rpcexplorer/rpc-method.html View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 46 (33 generated)
Ryan Tseng
Cleanup
4 years, 3 months ago (2016-08-24 23:31:22 UTC) #3
Ryan Tseng
Update config tests
4 years, 3 months ago (2016-08-24 23:56:01 UTC) #12
Ryan Tseng
ptal to see if I'm doing prpc right
4 years, 3 months ago (2016-08-25 00:08:30 UTC) #18
Ryan Tseng
oh, also, demo: https://1082-63a9cfa-tainted-hinoka-dot-luci-milo.appspot.com/rpcexplorer/services/milo.Buildbot/GetMaster?request={%20%20%20%20%22name%22:%20%22tryserver.chromium.linux%22}
4 years, 3 months ago (2016-08-25 00:13:19 UTC) #19
Ryan Tseng
ptal, this will help us move off CBE
4 years, 3 months ago (2016-08-30 17:48:35 UTC) #21
Ryan Tseng
Hey robbie, dnj is out today so can you take a look at this pRPC ...
4 years, 3 months ago (2016-08-31 19:44:16 UTC) #23
iannucci
erik may want to take a look, but otherwise lgtm https://codereview.chromium.org/2275123002/diff/60001/milo/api/proto/buildbot.proto File milo/api/proto/buildbot.proto (right): https://codereview.chromium.org/2275123002/diff/60001/milo/api/proto/buildbot.proto#newcode13 ...
4 years, 3 months ago (2016-09-01 00:37:26 UTC) #25
Ryan Tseng
Rebase
4 years, 3 months ago (2016-09-03 00:31:34 UTC) #26
Ryan Tseng
Rebase fix
4 years, 3 months ago (2016-09-03 00:36:17 UTC) #31
Ryan Tseng
Renamed stuff
4 years, 3 months ago (2016-09-03 00:47:07 UTC) #36
hinoka
https://codereview.chromium.org/2275123002/diff/60001/milo/api/proto/buildbot.proto File milo/api/proto/buildbot.proto (right): https://codereview.chromium.org/2275123002/diff/60001/milo/api/proto/buildbot.proto#newcode13 milo/api/proto/buildbot.proto:13: rpc GetMaster (MasterRequest) returns (MasterReply) {} On 2016/09/01 00:37:26, ...
4 years, 3 months ago (2016-09-03 00:52:27 UTC) #40
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/2275123002/120001
4 years, 3 months ago (2016-09-03 00:52:44 UTC) #44
commit-bot: I haz the power
4 years, 3 months ago (2016-09-03 00:58:17 UTC) #46
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/luci-go/commit/1eff02f4e6c4deaaa26c9096eb87dfd47d4c9cd6

Powered by Google App Engine
This is Rietveld 408576698