Commit Graph

12 Commits

Author SHA1 Message Date
mpl 1e69b9f784 vendor: update cloud.google.com/go/logging to V2 API
In addition to API changes, the V2 logging API uses
google.golang.org/grpc, which does not rely directly on net/http. This
is a problem for us because, among other things, when needed (on
CoreOS), we insert the system Root CAs in the TLSConfig of the
default http client through httputil.InstallCerts, which has no effect
on google.golang.org/grpc calls. Therefore, we switch to
github.com/bradfitz/grpc-go instead, which does rely on net/http.

And since GRPC requires HTTP/2, we also now need to manually configure
the default transport (since we're already modifying it) to be HTTP/2
enabled.

Related dependencies updated/added:

updated:

cloud.google.com/go/logging
a64eb5d53f434cc548fd6b2898b5a3e8a0c31b78

github.com/golang/protobuf
8ee79997227bf9b34611aee7946ae64735e6fd93

added:

github.com/bradfitz/grpc-go
188a132adcfba339f1f2d5da52498451341f9ee8
as a replacement for google.golang.org/grpc

github.com/googleapis/gax-go
da06d194a00e19ce00d9011a13931c3f6f6887c7

google.golang.org/genproto/googleapis/logging
08f135d1a31b6ba454287638a3ce23a55adace6f

google.golang.org/genproto/googleapis/datastore
08f135d1a31b6ba454287638a3ce23a55adace6f

google.golang.org/api/support/bundler
e4c04685e5d7db47ff294aa9e514b3a638c431c9

google.golang.org/genproto/googleapis/rpc/status
08f135d1a31b6ba454287638a3ce23a55adace6f

Fixes #873

Change-Id: I3ba14c94122dd9f1b88ef61c2dc26430690d28a9
2017-02-06 19:59:24 +01:00
mpl 6297d0d570 website: update google cloud dependencies
This change follows the changes at
ab06dbd80d

google.golang.org/genproto/googleapis/datastore updated to
44808ed2d86e258615bb701d395cbbfe6686a3e6

As a consequence:
google.golang.org/genproto/protobuf added at
44808ed2d86e258615bb701d395cbbfe6686a3e6
google.golang.org/genproto/googleapis/api/{label, metric, monitoredres,
serviceconfig} added/updated to 44808ed2d86e258615bb701d395cbbfe6686a3e6
github.com/golang/protobuf/ptypes{any, struct, timestamp, wrappers}
added/updated to 1f49d83d9aa00e6ce4fc8258c71cc7786aec968a

Test locally, and in "pseudo-production", i.e. with -cloudlaunch but with
a different projectID (hence with some of the hard-coded stuff changed).

Change-Id: Iad0caa78b19619bf153bf05870e6cb3a2ab669dd
2016-09-30 18:08:44 +02:00
Brad Fitzpatrick 4486071e26 website: logging to Google Cloud Logging 2015-08-16 18:39:10 +02:00
Brad Fitzpatrick e5dd09807c website: refactor logging in prep for Google Cloud Logging support 2015-08-16 14:30:09 +02:00
Brad Fitzpatrick 525060ce06 update camweb to Go 1
Change-Id: Id4a5ecec68587b0c35b30bb710f681c19315ee11
2012-02-21 02:11:28 -08:00
Brad Fitzpatrick 8f38212408 Update for gofix httpheaders 2011-06-16 18:38:21 -07:00
Brad Fitzpatrick c56f82c5dd Updates for Go Open changes. 2011-04-07 10:58:29 -07:00
Brad Fitzpatrick f70cc6d2e5 Updates to latest Go language + library changes. 2011-03-12 12:32:40 -08:00
Brad Fitzpatrick bf61b6edbf Oh, you can embed interfaces in structs. 2011-02-08 13:29:53 -08:00
Brad Fitzpatrick 35628787f2 camweb: rotate log files 2011-01-29 12:31:35 -08:00
Brad Fitzpatrick 876266f680 camweb: use Apache's Combined Log Format 2011-01-29 12:17:59 -08:00
Brad Fitzpatrick a4546ebd0a website/http: basic logging support 2011-01-29 11:53:22 -08:00