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

Issue 1970823005: LogDog: Add prefix registration endpoint. (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-project-archivist-useconfig
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Add prefix registration endpoint. Add an prefix registration API and endpoint to LogDog coordinator. This is exposed in a separate registration module. Implementation of this endpoint is left to a future CL. Add Coordinator awareness of project WRITE permission. This will be checked in the RegisterPrefix endpoint and prefix creation/access is gated on WRITE permission. BUG= Committed: https://github.com/luci/luci-go/commit/b1900dca518ac21c33e269fa7f289264826f4fbc

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated patchset dependency #

Total comments: 22

Patch Set 3 : Updated patchset dependency #

Patch Set 4 : Remove separate register module, comments. #

Patch Set 5 : Updated patchset dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+658 lines, -94 lines) Patch
M appengine/cmd/logdog_coordinator/services/main.go View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M appengine/cmd/logdog_coordinator/vmuser/main.go View 1 2 chunks +3 lines, -0 lines 0 comments Download
M appengine/logdog/coordinator/auth.go View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M appengine/logdog/coordinator/context.go View 1 2 3 3 chunks +44 lines, -19 lines 0 comments Download
M appengine/logdog/coordinator/coordinatorTest/context.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M appengine/logdog/coordinator/endpoints/logs/list.go View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/logs/list_test.go View 1 chunk +1 line, -1 line 0 comments Download
M appengine/logdog/coordinator/endpoints/logs/service.go View 1 chunk +1 line, -1 line 0 comments Download
A appengine/logdog/coordinator/endpoints/registration/registerPrefix.go View 1 chunk +16 lines, -0 lines 0 comments Download
A + appengine/logdog/coordinator/endpoints/registration/service.go View 1 2 3 3 chunks +11 lines, -31 lines 0 comments Download
M appengine/logdog/coordinator/endpoints/services/service.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M appengine/logdog/coordinator/hierarchy/hierarchy.go View 1 chunk +1 line, -1 line 0 comments Download
M appengine/logdog/coordinator/hierarchy/hierarchy_test.go View 1 chunk +1 line, -1 line 0 comments Download
M appengine/logdog/coordinator/logStreamState_test.go View 1 chunk +1 line, -1 line 0 comments Download
M client/internal/logdog/butler/bundler/bundler.go View 2 chunks +0 lines, -5 lines 0 comments Download
A + common/api/logdog_coordinator/registration/v1/gen.go View 1 2 3 1 chunk +4 lines, -10 lines 0 comments Download
A common/api/logdog_coordinator/registration/v1/pb.discovery.go View 1 chunk +260 lines, -0 lines 0 comments Download
A + common/api/logdog_coordinator/registration/v1/registrationserver_dec.go View 1 chunk +5 lines, -7 lines 0 comments Download
A common/api/logdog_coordinator/registration/v1/service.proto View 1 chunk +62 lines, -0 lines 0 comments Download
A common/api/logdog_coordinator/registration/v1/service.pb.go View 1 chunk +223 lines, -0 lines 0 comments Download
A + common/api/logdog_coordinator/registration/v1/util.go View 1 1 chunk +3 lines, -5 lines 0 comments Download
M common/proto/logdog/logpb/butler.proto View 1 chunk +3 lines, -6 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 11 (5 generated)
dnj (Google)
PTAL
4 years, 7 months ago (2016-05-11 21:52:40 UTC) #2
nodir
https://codereview.chromium.org/1970823005/diff/1/common/api/logdog_coordinator/registration/v1/service.proto File common/api/logdog_coordinator/registration/v1/service.proto (right): https://codereview.chromium.org/1970823005/diff/1/common/api/logdog_coordinator/registration/v1/service.proto#newcode18 common/api/logdog_coordinator/registration/v1/service.proto:18: // The protobuf version string for this stream. please ...
4 years, 7 months ago (2016-05-19 16:43:17 UTC) #5
dnj (Google)
https://codereview.chromium.org/1970823005/diff/20001/appengine/cmd/logdog_coordinator/register/doc.go File appengine/cmd/logdog_coordinator/register/doc.go (right): https://codereview.chromium.org/1970823005/diff/20001/appengine/cmd/logdog_coordinator/register/doc.go#newcode5 appengine/cmd/logdog_coordinator/register/doc.go:5: // Package module is the main entry point for ...
4 years, 7 months ago (2016-05-19 22:52:05 UTC) #6
nodir
lgtm https://codereview.chromium.org/1970823005/diff/20001/appengine/logdog/coordinator/context.go File appengine/logdog/coordinator/context.go (right): https://codereview.chromium.org/1970823005/diff/20001/appengine/logdog/coordinator/context.go#newcode94 appengine/logdog/coordinator/context.go:94: nc, err := info.Get(*c).Namespace(pns) On 2016/05/19 22:52:04, dnj ...
4 years, 7 months ago (2016-05-25 17:34:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970823005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970823005/80001
4 years, 7 months ago (2016-05-26 16:35:13 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 16:39:53 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-go/commit/b1900dca518ac21c33e269fa7f289264826f4fbc

Powered by Google App Engine
This is Rietveld 408576698