138 Commits

Author SHA1 Message Date
f63a4eec38 rename an error 2015-02-23 11:51:15 -08:00
e44eba4d2d Merge pull request #55 from iamqizhao/master
Add GCE and JWT interop tests
2015-02-23 11:12:04 -08:00
d6af38a7dc Add GCE and JWT interop tests 2015-02-23 11:10:18 -08:00
2b4fb6c958 Merge pull request #54 from iamqizhao/master
err := styple nits
2015-02-22 18:01:45 -08:00
8a32815cd1 err := styple nits 2015-02-22 18:00:33 -08:00
8694dc4d77 Merge pull request #53 from iamqizhao/master
rename an error string and desc and check in a missing former change.
2015-02-22 17:23:38 -08:00
2d61160597 rename an error string and desc. 2015-02-22 17:21:06 -08:00
265a75b74b fix date format in codegen.sh 2015-02-20 11:05:26 -08:00
bbd8084138 Merge pull request #50 from iamqizhao/master
migrate to the new codegen solution
2015-02-19 18:46:00 -08:00
2f821c8afc migrate to the new codegen solution 2015-02-19 18:43:28 -08:00
a864c122fc Merge pull request #45 from mugurm/mugurm-patch-1
Adding a link to documentation.
2015-02-19 16:57:25 -08:00
0fd7205b5f Merge pull request #49 from iamqizhao/master
Let RecvProto return nil for client stream rpc
2015-02-19 16:50:58 -08:00
fc10c7b40c Let RecvProto return nil for client stream rpc 2015-02-19 16:48:59 -08:00
350d065180 Merge pull request #48 from iamqizhao/master
Remove port when assignning to CallHdr.Host
2015-02-19 13:56:22 -08:00
dbe8c6ed11 Remove port when assignning to CallHdr.Host 2015-02-19 13:55:18 -08:00
f60b56c6d8 Merge pull request #47 from iamqizhao/master
fix a comment
2015-02-19 13:36:19 -08:00
bdce4ae018 fix a comment 2015-02-19 13:35:28 -08:00
6870bdd20f Merge pull request #46 from iamqizhao/master
:authority is a pseudo-header
2015-02-19 13:26:14 -08:00
ad3b2b5492 :authority is a pseudo-header 2015-02-19 13:25:27 -08:00
633cee57c6 Adding a status section
Indicating Go is in Alpha.
2015-02-19 11:27:22 -08:00
6370668cd0 Adding a link to documentation.
And a few other small readme changes.
2015-02-19 11:21:17 -08:00
0639042e75 Merge pull request #44 from matttproud/refactor/idiomatic-errors
Make error conveyance more idiomatic.
2015-02-19 11:01:45 -08:00
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
940841bf56 Merge pull request #43 from iamqizhao/master
Remove the 2nd RecvProto in the generated code for client streaming
2015-02-18 22:21:08 -08:00
634392a1c6 Remove the 2nd RecvProto in the generated code for client streaming 2015-02-18 22:18:01 -08:00
43c0bbeb1f Merge pull request #42 from iamqizhao/master
Always CloseStream when some error happen (especailly when reading heade...
2015-02-18 14:02:11 -08:00
24d7933267 Always CloseStream when some error happen (especailly when reading header metadata returns an error). That is the only way to remove the stream from ClientTransport.activeStreams. 2015-02-18 14:00:26 -08:00
f760d15dfd Merge pull request #41 from iamqizhao/master
remove a TODO which is not needed
2015-02-18 13:56:39 -08:00
1ebe2fc5be remove a TODO which is not needed 2015-02-18 13:54:39 -08:00
241a61900a Merge pull request #40 from iamqizhao/master
Migrated to the latest google.org/x/oauth2 package and added support for...
2015-02-18 13:50:57 -08:00
6148d0a55d Migrated to the latest google.org/x/oauth2 package and added support for JWT. 2015-02-18 12:02:43 -08:00
8af97ae4e4 Merge pull request #39 from iamqizhao/master
Make the generated code return nil intead of io.EOF when everything succ...
2015-02-13 17:13:03 -08:00
78d3bc72bf Make the generated code return nil intead of io.EOF when everything succeeds. 2015-02-13 17:10:37 -08:00
9548db4087 Merge pull request #38 from iamqizhao/master
Fix some comments
2015-02-13 16:46:50 -08:00
fe60321708 Fix some comments 2015-02-13 16:43:51 -08:00
7c8904db07 Merge pull request #37 from iamqizhao/master
cpp updates interop proto for auth interop testing. Update the proto cor...
2015-02-13 11:14:04 -08:00
a205ce5f65 cpp updates interop proto for auth interop testing. Update the proto correspondingly. 2015-02-13 11:11:33 -08:00
2b1aeaf211 Merge pull request #36 from iamqizhao/master
Use the generated code from the upcoming new grpc codegen.
2015-02-12 17:08:16 -08:00
ece135da8b Use the generated code from upcoming new grpc codegen 2015-02-12 17:04:32 -08:00
7bc6e8d36a Merge pull request #35 from iamqizhao/master
Replace end2end_test proto with the one for interop. The latter is better on testing error and corner cases.
2015-02-11 19:09:53 -08:00
2b6078284c gofmt on end2end_test.go 2015-02-11 19:05:22 -08:00
9c9eb38d0d Replace rpc with grpc in a error message. 2015-02-11 19:03:57 -08:00
5c0599c9f0 Use interop proto to replace the one used in end2end_test.go because interop proto is better for testing corner and error cases. The code change is mostly copied/pasted from interop client & server. 2015-02-11 19:00:55 -08:00
ff233bbf2b Merge pull request #33 from iamqizhao/master
fix an error formatting
2015-02-09 19:17:30 -08:00
fd7185b96f fix an error formatting 2015-02-09 19:16:31 -08:00
7b43d3b019 Merge pull request #32 from iamqizhao/master
prepare for google3 porting
2015-02-09 16:41:08 -08:00
38fe463420 add the missing license in the previous commit 2015-02-09 16:39:03 -08:00
f61c1dbb05 rename the proto dir, prepare for porting into google3 2015-02-09 16:35:10 -08:00
00231015a6 Merge pull request #31 from dsymonds/master
Add import comments to grpc packages.
2015-02-08 19:13:19 -08:00
3981839a52 Add import comments to grpc packages.
This enforces that these packages are used with these import paths.
See http://golang.org/cmd/go/#hdr-Import_path_checking for documentation.
2015-02-09 13:46:16 +11:00