|
|
config: Update remote URL handling.
Remove ServiceURL from "common/config".Interface. The remote inteface
now takes in a "host" (e.g., "example.com") and a boolean, "insecure",
which determines if HTTPS (false) or HTTP (true) should be used.
Update "luci_config/server/cfgclient" to use the "host" and "insecure"
properties.
Update "gaeconfig" to use a host field. For backwards-compatibility
purposes, it will extract the host field from a URL if it has one.
Update the LogDog services API to include the configuration service
host in services.GetConfig.
BUG= chromium:682465
TEST=unit
Review-Url: https://codereview.chromium.org/2643803003
Committed: https://github.com/luci/luci-go/commit/b6f14156e798268e632ddbd6376842144c9c4ae6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+862 lines, -703 lines) |
Patch |
 |
M |
common/config/impl/filesystem/fs.go
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
common/config/impl/memory/memory.go
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
common/config/impl/remote/remote.go
|
View
|
|
2 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
common/config/impl/remote/remote_test.go
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
common/config/interface.go
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/services/v1/pb.discovery.go
|
View
|
|
1 chunk |
+590 lines, -584 lines |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/services/v1/service.proto
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
logdog/api/endpoints/coordinator/services/v1/service.pb.go
|
View
|
|
3 chunks |
+57 lines, -46 lines |
0 comments
|
Download
|
 |
M |
logdog/appengine/coordinator/endpoints/services/getConfig.go
|
View
|
|
2 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
logdog/appengine/coordinator/endpoints/services/getConfig_test.go
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
logdog/server/service/config/flag.go
|
View
|
|
3 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
 |
M |
logdog/server/service/config/flag_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
luci_config/appengine/gaeconfig/default.go
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
luci_config/appengine/gaeconfig/settings.go
|
View
|
1
2
|
8 chunks |
+55 lines, -22 lines |
0 comments
|
Download
|
 |
A |
luci_config/appengine/gaeconfig/settings_test.go
|
View
|
1
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
luci_config/server/cfgclient/backend/client/client.go
|
View
|
|
5 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
 |
M |
luci_config/server/cfgclient/backend/client/client_test.go
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
luci_config/server/cfgclient/backend/testconfig/local_service.go
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
luci_config/server/cfgclient/backend/testconfig/local_service_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 11 (5 generated)
|