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

Issue 1970463005: LogDog: enable services to fetch project configs (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-coordinator-config
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

LogDog: Enable services to fetch project configs Update the microservice configuration layer to load per-project configurations. This is a staging CL; nothing currently uses this facility. BUG= Committed: https://github.com/luci/luci-go/commit/e9e25279d5f5c869e21c713467a56993e7c26f1e

Patch Set 1 #

Patch Set 2 : Enable project ID, use for project configs. #

Patch Set 3 : Updated patchset dependency #

Total comments: 12

Patch Set 4 : Slightly reorder logging keys. #

Total comments: 3

Patch Set 5 : Use "service ID" instead of "project ID" for cloud project name. #

Total comments: 4

Patch Set 6 : Fix comment, error text. #

Patch Set 7 : Updated patchset dependency #

Patch Set 8 : Updated patchset dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -0 lines) Patch
M server/internal/logdog/service/config/config.go View 1 2 3 4 5 5 chunks +63 lines, -0 lines 0 comments Download
M server/internal/logdog/service/service.go View 1 2 3 4 9 chunks +64 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (5 generated)
dnj (Google)
PTAL! This uses proccache, hopefully well. It is also not used yet, but small CLs ...
4 years, 7 months ago (2016-05-11 01:43:37 UTC) #2
nodir
https://codereview.chromium.org/1970463005/diff/40001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/40001/server/internal/logdog/service/config/config.go#newcode32 server/internal/logdog/service/config/config.go:32: ProjectID string Better call it AppID so it is ...
4 years, 7 months ago (2016-05-18 16:25:52 UTC) #4
dnj (Google)
https://codereview.chromium.org/1970463005/diff/40001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/40001/server/internal/logdog/service/config/config.go#newcode32 server/internal/logdog/service/config/config.go:32: ProjectID string On 2016/05/18 16:25:51, nodir wrote: > Better ...
4 years, 7 months ago (2016-05-18 16:50:31 UTC) #5
nodir
https://codereview.chromium.org/1970463005/diff/40001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/40001/server/internal/logdog/service/config/config.go#newcode32 server/internal/logdog/service/config/config.go:32: ProjectID string On 2016/05/18 16:50:31, dnj (Google) wrote: > ...
4 years, 7 months ago (2016-05-18 17:02:19 UTC) #6
nodir
https://codereview.chromium.org/1970463005/diff/60001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/60001/server/internal/logdog/service/config/config.go#newcode177 server/internal/logdog/service/config/config.go:177: "hash": cfg.ContentHash, This is not sorted?
4 years, 7 months ago (2016-05-18 17:05:56 UTC) #7
dnj (Google)
https://codereview.chromium.org/1970463005/diff/60001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/60001/server/internal/logdog/service/config/config.go#newcode177 server/internal/logdog/service/config/config.go:177: "hash": cfg.ContentHash, On 2016/05/18 17:05:56, nodir wrote: > This ...
4 years, 7 months ago (2016-05-18 17:21:29 UTC) #8
nodir
https://codereview.chromium.org/1970463005/diff/60001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/60001/server/internal/logdog/service/config/config.go#newcode177 server/internal/logdog/service/config/config.go:177: "hash": cfg.ContentHash, On 2016/05/18 17:21:29, dnj (Google) wrote: > ...
4 years, 7 months ago (2016-05-18 18:01:10 UTC) #9
nodir
I am not sure you saw message #6
4 years, 7 months ago (2016-05-18 23:40:08 UTC) #10
dnj (Google)
Okay, went with "service ID".
4 years, 7 months ago (2016-05-19 01:00:33 UTC) #11
nodir
lgtm https://codereview.chromium.org/1970463005/diff/80001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/80001/server/internal/logdog/service/config/config.go#newcode28 server/internal/logdog/service/config/config.go:28: // ServiceID is the service's ID. This is ...
4 years, 7 months ago (2016-05-19 01:36:34 UTC) #12
dnj (Google)
https://codereview.chromium.org/1970463005/diff/80001/server/internal/logdog/service/config/config.go File server/internal/logdog/service/config/config.go (right): https://codereview.chromium.org/1970463005/diff/80001/server/internal/logdog/service/config/config.go#newcode28 server/internal/logdog/service/config/config.go:28: // ServiceID is the service's ID. This is used ...
4 years, 7 months ago (2016-05-19 02:10:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1970463005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1970463005/140001
4 years, 7 months ago (2016-05-19 23:07:10 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 23:11:11 UTC) #18
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://github.com/luci/luci-go/commit/e9e25279d5f5c869e21c713467a56993e7c26f1e

Powered by Google App Engine
This is Rietveld 408576698