8655d473ad
credentials/alts: Add example of authz in ALTS ( #2814 )
2019-05-16 14:58:44 -07:00
e1d95c39ad
credentials/alts: Support UDS addresses in ALTS interop test server ( #2763 )
...
* Support UDS addresses in ALTS interop test server
* Fix flag description
* Fixed comment
* Fix comment
2019-04-11 16:49:01 -07:00
ee9f7f0c9a
interop: add test case for "pick_first" ( #2762 )
2019-04-11 14:22:58 -07:00
6d8271a06c
credentials: add compute engine channel creds ( #2708 )
2019-03-25 14:47:12 -07:00
17f2449821
Add google_default_credentials interop test case for go ( #2600 )
...
Implementing the [google default creds](https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md#google_default_credentials ) interop test for go.
This test case was added in https://github.com/grpc/grpc/pull/17213 . The existing OAuth creds test cases turned out to not be great first for google default creds testing, so https://github.com/grpc/grpc/pull/17213 got rid of those tests and created a new dedicated test for google default creds. This PR does that and also gets rid of the now-unneeded (we thought they would be needed earlier) OAuth test scenarios with plain ALTS.
2019-01-29 11:49:49 -08:00
04ea82009c
cleanup: replace "x/net/context" import with "context" ( #2439 )
2018-11-12 13:30:41 -08:00
431e4028c5
Provide a fake grpclb balancer server that can be used for testing ( #2338 )
2018-10-02 18:26:40 -07:00
4dedfdc82c
credentials: support google default creds ( #2315 )
...
Google default creds is a combo of ALTS, TLS and OAuth2. The right set of creds will be picked to use based on environment.
This PR contains:
- A new `creds.Bundle` type
- changes to use it in ClientConn and transport
- dial option to set the bundle for a ClientConn
- balancer options and NewSubConnOption to set it for SubConn
- Google default creds implementation by @cesarghali
- grpclb changes to use different creds mode for different servers
- interop client changes for google default creds testing
2018-09-25 13:17:25 -07:00
5fe10fccaf
Remove unused symbols ( #2287 )
2018-09-05 12:29:02 -07:00
8fbeaf87a6
interop: implement special_status_message interop test ( #2241 )
...
fixes #2240
2018-07-30 13:33:50 -07:00
4f4261e767
interop: loosen restrictions on creds per test in interop client ( #2231 )
2018-07-19 10:53:08 -07:00
6a43dcc2ac
Allow interop client to use call creds on any secure channel ( #2185 )
2018-06-28 10:41:13 -07:00
b519e3d28d
interop: set dns as default scheme in interop client ( #2165 )
...
this is to allow use of grpclb-in-DNS in the interop client
2018-06-20 12:19:01 -07:00
7e6dc36bea
Import grpclb package in the interop client ( #2155 )
...
This can allow the interop client to start running in scenarios in which the target is grpclb balanced.
2018-06-15 15:00:04 -07:00
39a411827d
internal: Update proto generated code ( #2133 )
2018-06-08 17:54:26 -07:00
f669235193
internal: update proto generated code ( #2093 )
2018-05-21 09:59:26 -07:00
a36eb4675a
regenerate *.pb.go files due to proto-gen-go update ( #2070 )
2018-05-11 18:57:54 -07:00
0bc7c3280e
Revert "Less mem ( #1987 )" ( #2049 )
...
This reverts commit 7a8c9895074e03bc7fcff30bd561eaef4fa76dfa.
2018-05-03 11:37:59 -07:00
3592bccfd9
interop: Fix unimplemented method test ( #2040 )
...
* Don't send nil requests.
* Fix import name and get rid of condition.
* Let registered encoder deal with nil requests.
* Break encode into encode and compress.
2018-05-02 16:08:12 -07:00
f8dbc38bdc
Fix "deprecated" function godoc comments to match standard formatting ( #2027 )
2018-05-02 08:52:49 -07:00
e538e04cad
proto: update generated code ( #2039 )
2018-05-01 12:53:20 -07:00
75d37eff66
credentials/alts: Add ServiceOption for server-side ALTS creation ( #2009 )
...
* Move handshaker_service_address flag to binaries
2018-04-23 11:11:20 -07:00
5d8897144f
Remove unnecessary type conversions (unconvert) ( #1995 )
...
This fixes:
grpc/interop/test_utils.go:156:17: unnecessary conversion
interop/test_utils.go:201:17: unnecessary conversion
resolver/dns/dns_resolver.go:190:31: unnecessary conversion
transport/flowcontrol.go:36:47: unnecessary conversion
transport/flowcontrol.go:41:47: unnecessary conversion
transport/flowcontrol.go:42:47: unnecessary conversion
transport/flowcontrol.go:43:47: unnecessary conversion
transport/http2_client.go:788:16: unnecessary conversion
transport/http2_client.go:798:36: unnecessary conversion
transport/http2_client.go:809:28: unnecessary conversion
transport/http2_client.go:834:31: unnecessary conversion
transport/http2_client.go:839:30: unnecessary conversion
transport/http2_client.go:864:23: unnecessary conversion
transport/http2_server.go:513:16: unnecessary conversion
transport/http2_server.go:524:36: unnecessary conversion
transport/http2_server.go:534:28: unnecessary conversion
transport/http2_server.go:557:31: unnecessary conversion
transport/http2_server.go:562:30: unnecessary conversion
transport/http_util.go:350:31: unnecessary conversion
2018-04-16 10:18:17 -07:00
211a7b7ec0
credentials/alts: Update ALTS "New" APIs ( #1921 )
2018-03-19 09:07:54 -07:00
3ae2a613bc
interop: Add use_alts flag to client and server binaries ( #1896 )
2018-03-07 10:21:48 -08:00
5190b068e2
ALTS: Simplify "New" APIs ( #1895 )
...
ALTS NewClientALTS and NewServerALTS APIs are in the grpc/credentials/alts package. Having the term ALTS in the API names is redundant. This PR removes it.
2018-03-07 09:14:47 -08:00
a1de3b2bd6
alts: Change ALTS proto package name ( #1886 )
2018-02-26 18:05:53 -08:00
2e7e633fea
Add ALTS code ( #1865 )
2018-02-26 17:02:59 -08:00
6c48c7f5c8
interop test: Expect io.EOF from stream.Send() ( #1858 )
2018-02-12 14:41:34 -08:00
f4b523765c
status: add Code convenience function ( #1754 )
2017-12-18 15:00:50 -08:00
4e393e0b21
grpc: fix deprecation comments to conform to standard ( #1691 )
2017-12-18 09:23:42 -08:00
865013bc17
*: replace deprecated grpc.Errorf calls with status.Errorf ( #1651 )
2017-11-06 10:24:20 -08:00
faebfcb7bf
Remove single-entry var blocks ( #1589 )
2017-10-18 09:59:23 -07:00
5131c1f096
Use proto3 in interop tests and end2end tests ( #1574 )
2017-10-12 14:05:19 -07:00
4b49faaf06
Make interop client dial blocking ( #1559 )
...
This should not be necessary once the new balancer API is done.
Currently interop clients don't use balancer. With a non-blocking dial, the first failfast RPC will fail because there's no connection available.
This is a known bug, and will be fixed by the new balancer APIs.
This is a temp fix to make interop tests pass.
2017-10-03 16:57:48 -07:00
a68137c927
Revert "Added localhost to net.Listen() calls to avoid macOS firewall dialog." ( #1541 )
...
This reverts commit c67cd636f91e849f8677733bcdd60ea8c15d4aa6.
2017-09-27 00:01:17 -07:00
c67cd636f9
Added localhost to net.Listen() calls to avoid macOS firewall dialog. ( #1539 )
2017-09-26 10:19:45 -07:00
956d689a24
Use Type() method for OAuth tokens instead of accessing TokenType field. ( #1537 )
...
This covers the case where the TokenType field is empty, and thus
calling the Type() method will return "Bearer".
2017-09-25 11:38:05 -07:00
25b4a426b4
go-generate pb.go files and check in Travis to make sure they don't change ( #1426 )
2017-08-17 16:00:51 -07:00
66c9ed803b
Add flags for tls file path ( #1419 )
2017-08-03 15:23:02 -07:00
b31f0c6036
Assign testdata path to correct variable ( #1397 )
2017-07-27 16:02:51 -07:00
e64ff5d75c
Do not call testdata.Path when defining flags ( #1394 )
2017-07-27 14:00:18 -07:00
ca9e0c3458
Add testdata package and unify testdata to only one dir ( #1297 )
2017-07-25 10:24:45 -07:00
3c33c26290
add license for some proto files ( #1322 )
2017-06-27 09:54:34 -07:00
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
0c1d39df28
Separate incoming and outgoing metadata in context
...
This will prevent the incoming RPCs' metadata from appearing in outgoing RPCs
unless it is explicitly copied, e.g.:
incomingMD, ok := metadata.FromContext(ctx)
if ok {
ctx = metadata.NewContext(ctx, incomingMD)
}
Fixes #1148
2017-04-07 11:54:56 -07:00
4acc9108c1
Merge pull request #1022 from ncteisen/http_interop
...
Add Go Client to Test Negative HTTP2 Conditions
2017-02-10 15:46:57 -08:00
97c325c956
Replace "127.0.0.1" with "localhost" to support IPv6-only environments.
2017-02-07 16:08:24 -08:00
a050dbc887
Fix and modify logging.
2017-02-06 18:01:02 -08:00
9d8ac14538
Add Go interop http2 client
2017-01-10 15:05:15 -08:00