Commit Graph

73 Commits

Author SHA1 Message Date
Joshua Humphries 224c3acd1d
enable more linters in CI; fix some issues caught by them (#23) 2018-03-24 10:33:21 -04:00
Johannes Kohnen f203c2cddf Flag to override server name when validating TLS cert (#20) 2018-03-22 20:47:51 -04:00
Joshua Humphries 585cd1bae8
print summary message only when verbose flag is set (#19) 2018-03-13 16:49:09 -04:00
Joshua Humphries f7eb17819d
add more control over request metadata; add message templates (#17)
* add more control over request metadata between reflection calls and main RPC invocation
* add flag to print a message template (when describing message types)
* relax some command-line argument issues to warnings
2018-03-08 11:29:06 -05:00
Frederik 99a3346b94 Allow reflection calls to carry headers (#15) 2018-03-02 12:01:37 -05:00
Joshua Humphries fd0131d472
don't bother testing 1.6
I have not been able to figure out the severe flakiness in Go 1.6. And I'm tired of digging for it. Go 1.6 is two years old now, so I suppose it's not valuable to support it. (I had added to the matrix originally just to match the actual grpc-go project, which also supports Go 1.6.)

It's always the same issue: `TestPlainText` in `tls_settings_test.go`. And the behavior appears to be as if the server keeps closing the connection. But it doesn't plague any other test case, which is very mysterious. It's as if the server were configured for TLS and closes the connection when it sees the HTTP/2 preface (which doesn't look like a TLS handshake). But I just don't see how that could be possible, so it must be something else going awry.
2018-03-02 11:58:30 -05:00
Peter Edge ceba64b971 Delete references to json.RawMessage (#12) 2018-02-20 15:03:05 -05:00
Joshua Humphries 620796528e
fix nil dereference (#10) 2018-02-19 22:28:26 -05:00
Joshua Humphries 2a6ef4e19e
attempt to fix flaky test (#8) 2018-02-19 18:22:19 -05:00
Joshua Humphries 46121b1305
fix bad port number in README examples (#7) 2018-02-19 14:01:04 -05:00
Peter Edge 9f7485fd04 Add Makefile (#5)
Replaces ci.sh, provides add'l static analysis (which isn't yet enabled in CI since the code doesn't yet pass them all)
2018-02-17 18:15:13 -05:00
Peter Edge cdea962127 Add DescriptorSourceFromFileDescriptorSet (#4) 2018-02-17 17:30:03 -05:00
Stephan Renatus 7d304729b4 make jsonpb marshaler emit defaults (#3)
add `-emit-defaults` flag so that output will include default values (e.g. "false" for boolean flags)
2018-02-05 10:52:29 -05:00
Joshua Humphries cf5e463f0a
Merge pull request #2 from fullstorydev/jh/support-binary-headers
support binary headers
2017-12-13 22:50:11 -05:00
Josh Humphries eda00e475b fix test that is flaky and is failing in CI more than is acceptable 2017-12-13 21:59:30 -05:00
Josh Humphries 4f202d18f3 support binary headers; flesh out doc for some exported symbols that were previously undocumented 2017-12-13 16:01:48 -05:00
Joshua Humphries 58aba8cee5
Merge pull request #1 from fullstorydev/jh/fix-tls-test
provide custom dialer to yield good error messages for dial errors, including TLS handshakes
2017-12-13 15:57:54 -05:00
Josh Humphries 1eec3bcbd6 oops -- remove some unused code 2017-12-13 15:46:56 -05:00
Josh Humphries 91fb94b700 fix CI tests to work with go 1.6; add another error message that was observed in CI 2017-12-13 15:31:48 -05:00
Josh Humphries 6c05311fb9 use custom dialer so we can show better error messages when things like TLS handshakes go awry; restore error message checks in tls tests 2017-12-13 15:30:57 -05:00
Josh Humphries 45e17ae10b grpc connection management no longer yields same errors from dial; also fix fmt issue in error message 2017-12-05 01:53:17 -05:00
Joshua Humphries a8483857e4
be consistent about capitalization of gRPC 2017-11-20 13:18:09 -05:00
Josh Humphries 9dfaded6cf initial commit, functioning grpcurl command-line util 2017-11-20 13:15:15 -05:00