Граф коммитов

48 Коммитов

Автор SHA1 Сообщение Дата
Menghan Li 59486d9c17 Rename TransportAuthenticator to TransportCredentials 2016-06-08 11:19:25 -07:00
Menghan Li 62a892fc16 Move interop log from utils to client main 2016-04-04 16:00:19 -07:00
iamqizhao 453b255dda gofmt 2015-12-18 16:50:38 -08:00
iamqizhao 7239e4afea Refactor interop tests 2015-12-18 16:26:06 -08:00
Julien Boeuf 123c91d04f Updating the test SSL certs.
- For interoperability testing, we need the same certs everywhere.
- This was not possible before because Go could not deal with some field
  being encoded as PRINTABLESTRING in the CA and UTF8STRING in the
  server1 cert. However, the certs have been fixed in:
  https://github.com/grpc/grpc/pull/4096
- Also changed the go root testdata cert to avoid confusion (maybe there
  should not be that many copy of the certs in the repo but I will leave
  this to the repo maintainers).
2015-11-11 14:50:21 -08:00
iamqizhao 7afe4e5cec rename some interop client flags 2015-10-20 16:49:37 -07:00
iamqizhao 6be470f058 Credentials API and jwtAccess implementation tunning 2015-08-28 16:51:45 -07:00
iamqizhao 100ca6a0da fix benchmark, interop and examples 2015-08-27 17:32:57 -07:00
iamqizhao d12ff72146 allow access of some info of client certificate 2015-08-21 15:49:53 -07:00
iamqizhao 1fedb82059 correct a test case name 2015-08-17 13:23:09 -07:00
yangzhouhan dd6b930e09 minor change 2015-08-14 17:18:12 -07:00
yangzhouhan 7f81611b64 remove extra space 2015-08-14 16:24:06 -07:00
yangzhouhan 25c36604b9 add oauth2 and perrpc interop tests 2015-08-14 16:22:19 -07:00
Qi Zhao 362136bea2 Merge pull request #288 from yangzhouhan/master
add interop test jwt_token_creds
2015-08-14 11:39:42 -07:00
yangzhouhan 32444cd24d minor changes 2015-08-14 11:35:15 -07:00
yangzhouhan 41ee26a353 add JWTAccessTokenFromKey 2015-08-14 11:20:13 -07:00
iamqizhao 3d7251c81c minor fix 2015-08-13 10:53:48 -07:00
iamqizhao db71b8f965 fix Timeout interop test 2015-08-13 10:50:38 -07:00
yangzhouhan 9f5d4180bd fix the space 2015-08-12 18:29:17 -07:00
yangzhouhan 3a245b8cab fix the space 2015-08-12 18:28:16 -07:00
yangzhouhan 5ef857242f add jwt_token_creds interop test 2015-08-12 18:26:30 -07:00
Qi Zhao fb14f48984 Merge pull request #281 from yangzhouhan/interop
add 2 interop tests
2015-08-12 13:16:24 -07:00
yangzhouhan 6eb790420c fix merge conflict 2015-08-12 12:49:51 -07:00
yangzhouhan dd17fced98 modify the error info 2015-08-12 12:40:07 -07:00
yangzhouhan d1b30b7195 modify the error information 2015-08-12 12:34:38 -07:00
yangzhouhan bf963e1bb3 change end2end test 2015-08-10 16:59:16 -07:00
yangzhouhan 54f53f005e remove unused code 2015-08-10 16:10:19 -07:00
yangzhouhan f0e1a2ac75 add 2 interop tests
add 2 interop tests

fix the space

delete swp
2015-08-07 18:34:01 -07:00
yangzhouhan 2a4442cda2 Delete client.go.swp 2015-08-07 16:10:08 -07:00
yangzhouhan 8b80bf491f fix the space 2015-08-07 15:31:13 -07:00
yangzhouhan 62388cbe30 add 2 interop tests 2015-08-07 15:26:32 -07:00
yangzhouhan a1c5391b54 add interop empty_stream test and timeout_on_sleeping_server test 2015-08-07 15:06:59 -07:00
Tamir Duberstein aeca1aff71 Remove OAuth support from `credentials`
Fixes #219.
2015-07-22 22:14:33 -04:00
Peter Edge 7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00
Peter Edge 101c1e1935 change log package references to grpc/log 2015-05-09 01:16:40 +02:00
Peter Edge 5700d19d0e Fix golint errors for non-generated code 2015-05-08 21:46:16 +02:00
iamqizhao 571bcddd7c Add cancel_after_begin and cancel_afer_first_response test cases 2015-04-22 15:04:17 -07:00
iamqizhao 2b993cd479 rename the convenience function to set TLS creds 2015-02-25 22:57:07 -08:00
iamqizhao c5f55a615d revert 2015-02-25 18:53:11 -08:00
iamqizhao eebb1f0588 init serverName correctly 2015-02-25 18:48:21 -08:00
iamqizhao ba60f33ca1 rename --tls_server_name to --server_host_override for the interop client to make it consistent with other languages 2015-02-24 18:47:19 -08:00
iamqizhao d6af38a7dc Add GCE and JWT interop tests 2015-02-23 11:10:18 -08:00
Matt T. Proud a720ae6f48 Make error conveyance more idiomatic.
This commit applies two bulk changes to the grpc error reporting
mechanisms:

(1.) Error strings for errors that originate within grpc are prefixed
    with the package name for better clarity for where they originate
    since they could percolate up in the users call chains to the
    originator.

(2.) Errors that are, in fact, singletons have been converted from
    fmt.Errorf to errors.New and assigned as package-level variables.
    This bodes particularly well for enabling API customers to elect to
    handle these errors upon receipt via equality comparison.  This had
    been previous impossible with the original API.

Supplementarily, ``gofmt -w -s=true`` has been run on the repository to
cleanup residual defects, and it has detected and repaired a few.

TEST=Manual go test ./...
2015-02-19 13:17:17 +01:00
iamqizhao 78d3bc72bf Make the generated code return nil intead of io.EOF when everything succeeds. 2015-02-13 17:10:37 -08:00
iamqizhao f61c1dbb05 rename the proto dir, prepare for porting into google3 2015-02-09 16:35:10 -08:00
David Symonds 49a2ba59b6 Fix up a couple of other imports to use the new package name. 2015-02-09 11:50:54 +11:00
David Symonds 416f68f4b3 Update import paths to use the new official location of the Go gRPC package. 2015-02-09 11:46:20 +11:00
David Symonds e71095e0ec Move source files up one level.
The top-level directory in this repository is going to be
the main "grpc" package.
2015-02-09 11:33:38 +11:00