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

Issue 1967273002: LogDog: Implement RegisterPrefix RPC. (Closed)

Created:
4 years, 7 months ago by dnj
Modified:
4 years, 7 months ago
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, andrew.wang, todd, tandrii+luci-go_chromium.org, M-A Ruel
Base URL:
https://github.com/luci/luci-go@logdog-butler-register-coordinator-endpoint
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Implement RegisterPrefix RPC. Implement the register prefix RPC. Remove prefix creation from the register stream RPC. Prefix creation and access to prefix namepace is gated on WRITE ACL for the user. Expiration is currently not retained or enforced, and will be implemented in a future CL. LogDog Coordinator is no longer usable by the current Butler. A future CL will enable the Butler to call RegisterStream appropriately. BUG= Committed: https://github.com/luci/luci-go/commit/f53ba305ee6fd50d62bfdf2abc02ea9c943b506a

Patch Set 1 #

Patch Set 2 : Add missing test. #

Total comments: 37

Patch Set 3 : Updated from comments. #

Total comments: 8

Patch Set 4 : Fixed comment. #

Patch Set 5 : Updated patchset dependency #

Patch Set 6 : Updated patchset dependency #

Patch Set 7 : Updated patchset dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+598 lines, -508 lines) Patch
M appengine/logdog/coordinator/coordinatorTest/logStream.go View 3 chunks +15 lines, -7 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/registration/registerPrefix.go View 1 2 1 chunk +141 lines, -3 lines 0 comments Download
A appengine/logdog/coordinator/endpoints/registration/registerPrefix_test.go View 1 chunk +91 lines, -0 lines 0 comments Download
D appengine/logdog/coordinator/endpoints/services/registerPrefix.go View 1 chunk +0 lines, -139 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/services/registerStream.go View 1 2 3 4 5 5 chunks +27 lines, -33 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/services/registerStream_test.go View 1 2 3 chunks +25 lines, -17 lines 0 comments Download
M appengine/logdog/coordinator/hierarchy/hierarchy.go View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M appengine/logdog/coordinator/logPrefix.go View 1 chunk +5 lines, -2 lines 0 comments Download
M appengine/logdog/coordinator/logStream.go View 1 chunk +0 lines, -3 lines 0 comments Download
M common/api/logdog_coordinator/registration/v1/pb.discovery.go View 1 chunk +237 lines, -246 lines 0 comments Download
M common/api/logdog_coordinator/registration/v1/service.proto View 2 chunks +6 lines, -8 lines 0 comments Download
M common/api/logdog_coordinator/registration/v1/service.pb.go View 3 chunks +22 lines, -27 lines 0 comments Download
M common/logdog/types/streamname.go View 1 2 2 chunks +13 lines, -15 lines 0 comments Download
M common/logdog/types/streamsecret.go View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M common/proto/logdog/svcconfig/config.proto View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M common/proto/logdog/svcconfig/config.pb.go View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
dnj (Google)
PTAL
4 years, 7 months ago (2016-05-13 04:47:37 UTC) #2
nodir
https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/registration/registerPrefix.go File appengine/logdog/coordinator/endpoints/registration/registerPrefix.go (right): https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/registration/registerPrefix.go#newcode20 appengine/logdog/coordinator/endpoints/registration/registerPrefix.go:20: "google.golang.org/grpc/codes" this block should go before the luci one ...
4 years, 7 months ago (2016-05-17 02:46:00 UTC) #3
dnj (Google)
https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/registration/registerPrefix.go File appengine/logdog/coordinator/endpoints/registration/registerPrefix.go (right): https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/registration/registerPrefix.go#newcode20 appengine/logdog/coordinator/endpoints/registration/registerPrefix.go:20: "google.golang.org/grpc/codes" On 2016/05/17 02:45:59, nodir wrote: > this block ...
4 years, 7 months ago (2016-05-17 14:44:33 UTC) #4
nodir
https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go File appengine/logdog/coordinator/endpoints/services/registerStream.go (right): https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go#newcode128 appengine/logdog/coordinator/endpoints/services/registerStream.go:128: On 2016/05/17 14:44:33, dnj (Google) wrote: > On 2016/05/17 ...
4 years, 7 months ago (2016-05-17 16:19:47 UTC) #5
dnj (Google)
https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go File appengine/logdog/coordinator/endpoints/services/registerStream.go (right): https://codereview.chromium.org/1967273002/diff/20001/appengine/logdog/coordinator/endpoints/services/registerStream.go#newcode128 appengine/logdog/coordinator/endpoints/services/registerStream.go:128: On 2016/05/17 16:19:47, nodir wrote: > On 2016/05/17 14:44:33, ...
4 years, 7 months ago (2016-05-17 16:32:54 UTC) #6
nodir
lgtm https://codereview.chromium.org/1967273002/diff/40001/appengine/logdog/coordinator/endpoints/registration/registerPrefix.go File appengine/logdog/coordinator/endpoints/registration/registerPrefix.go (right): https://codereview.chromium.org/1967273002/diff/40001/appengine/logdog/coordinator/endpoints/registration/registerPrefix.go#newcode62 appengine/logdog/coordinator/endpoints/registration/registerPrefix.go:62: cfgTransport := cfg.Transport On 2016/05/17 16:32:54, dnj (Google) ...
4 years, 7 months ago (2016-05-19 00:48:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1967273002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1967273002/120001
4 years, 7 months ago (2016-05-26 16:40:14 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 16:49:31 UTC) #14
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/luci-go/commit/f53ba305ee6fd50d62bfdf2abc02ea9c943b506a

Powered by Google App Engine
This is Rietveld 408576698