Commit Graph

2313 Commits

Author SHA1 Message Date
murgatroid99 f6ea3c31f9 Bump grpc-js to 0.4.2 2019-06-04 09:53:07 -07:00
Michael Lumish 9c274034d0
Merge pull request #796 from murgatroid99/metadata_options
Add metadata options
2019-06-03 10:48:23 -07:00
murgatroid99 69ffb0ece8 Remove test of default behavior 2019-06-03 09:53:59 -07:00
murgatroid99 f2990d03ce Make tests actually reflect expected behavior 2019-05-31 12:43:45 -07:00
murgatroid99 c3041e8b9a Test that waitForReady option changes default behavior 2019-05-30 18:05:42 -07:00
Michael Lumish 840cea2164
Merge pull request #890 from cjihrig/ts
grpc-js: update typescript and enable incremental builds
2019-05-29 13:30:25 -07:00
cjihrig ea254dfc62
grpc-js: enable incremental compiles
This commit enables incremental TypeScript builds.
2019-05-29 15:22:18 -04:00
cjihrig d7c23b066e
grpc-js: update to typescript@3.5
This commit updates to TypeScript, which is supposed to be
faster.

Refs: https://devblogs.microsoft.com/typescript/announcing-typescript-3-5/
2019-05-29 15:18:33 -04:00
Michael Lumish 5689ba720d
Merge pull request #889 from murgatroid99/grpc-js_0.4.1
Update grpc-js to 0.4.1
2019-05-29 09:54:04 -07:00
Michael Lumish 5eb17fc559
Merge pull request #887 from murgatroid99/grpc-js_connect_metadata_promise
grpc-js: Change how filters access connectivity information
2019-05-29 09:53:51 -07:00
murgatroid99 ffaade2e6f Update grpc-js to 0.4.1 2019-05-28 16:18:37 -07:00
Michael Lumish 000e15eb02
Merge pull request #873 from cjihrig/deadline-tests
grpc-js: support client cancellation
2019-05-28 14:29:34 -07:00
murgatroid99 45f37f1a9e Fix missing custom metadata 2019-05-28 10:53:08 -07:00
murgatroid99 477c4a4c18 grpc-js: Change how filters access connectivity information 2019-05-28 10:36:07 -07:00
cjihrig f30a5d8588
grpc-js: support client cancellation
This commit adds client cancellation support and tests for
cancellation and deadlines.
2019-05-20 13:38:35 -04:00
Michael Lumish 2ab15fef4f
Merge pull request #874 from cjihrig/gts
grpc-js: update to gts@1.x.x
2019-05-20 10:28:43 -07:00
cjihrig 4e0162cf22
grpc-js: skip gulp tasks based on Node version
This commit wraps the grpc-js Gulp tasks in a version check
so they only run on supported versions of Node.
2019-05-18 11:25:06 -04:00
cjihrig be6bdb8c3d
grpc-js: update to gts@1.x.x
This commit updates the gts dependency to 1.x.x.
2019-05-17 17:03:04 -04:00
Michael Lumish 6cd6ead8d9
Merge pull request #872 from cjihrig/cleanup
grpc-js: misc small cleanup
2019-05-17 12:12:46 -07:00
cjihrig f6689d51a6
grpc-js: update dependencies
This commit resolves issues from `npm outdated`. The gts
dependency will be updated separately, as it comes with
significant code churn.
2019-05-17 12:30:42 -04:00
Michael Lumish 778b542108
Merge pull request #871 from murgatroid99/proto-loader_0.5.1
Bump proto-loader to 0.5.1
2019-05-17 09:20:40 -07:00
cjihrig a7372e2b1c
grpc-js: slight cleanup of server imports/exports
This commit removes some unnecessary imports and exports
from the server code.
2019-05-17 12:14:27 -04:00
cjihrig 212439eb83
grpc-js: make serdes APIs consistent
During initial implementation, the serialize and deserialize
APIs of ServerReadableStream, ServerWritableStream, and
ServerDuplexStream became inconsistent. This commit brings
back consistency.
2019-05-17 11:40:29 -04:00
Michael Lumish 2bb268afdb
Merge pull request #868 from cjihrig/bidi
grpc-js: add bidirectional streaming RPC support
2019-05-16 17:05:49 -07:00
murgatroid99 643dc6c25c Bump proto-loader to 0.5.1 2019-05-16 16:04:11 -07:00
Michael Lumish e5acca5a76
Merge pull request #806 from jroper/multi-filenames
Fixed load/loadSync filename parameter type
2019-05-16 14:10:43 -07:00
Michael Lumish 8e2e2b25c2
Merge branch 'master' into multi-filenames 2019-05-16 10:28:15 -07:00
cjihrig 1aa11525fd
grpc-js: add bidirectional streaming RPC support
This commit adds bidi streaming RPC support to the server.
2019-05-16 11:23:54 -04:00
Michael Lumish 1d1d2b9d7e
Merge pull request #867 from murgatroid99/log_merge_improvement
Handle parse failures when merging test logs
2019-05-15 17:06:37 -07:00
murgatroid99 61c8bdf10f Handle parse failures when merging test logs 2019-05-15 15:23:17 -07:00
Michael Lumish 3bebc2230a
Merge pull request #859 from cjihrig/client-stream
grpc-js: add client streaming RPC support
2019-05-15 10:22:35 -07:00
cjihrig 4857c63d01
grpc-js: simplify ServerReadableStream's deserialize()
This commit removes null and undefined checks from deserialize().
2019-05-15 09:08:28 -04:00
cjihrig e0a30907f9
grpc-js: add setupReadable() to Http2ServerCallStream
This commit adds a setupReadable() method to
Http2ServerCallStream. This is used to set up the plumbing
between the HTTP2 stream and the surface readable/bidi
calls.
2019-05-14 15:07:12 -04:00
murgatroid99 d3d50ea57b Increase test timeout 2019-05-13 13:28:19 -07:00
murgatroid99 fbace6417c Use a different invalid DNS name in the test 2019-05-13 12:08:50 -07:00
Michael Lumish 74b4b9f2c2
Merge pull request #865 from murgatroid99/gulp_interop_setup_script_fix
Actually export the new script in the gulp file
2019-05-10 11:12:06 -07:00
murgatroid99 3a5284acbe Actually export the new script in the gulp file 2019-05-10 10:06:09 -07:00
Michael Lumish 879135c1d6
Merge pull request #862 from murgatroid99/interop_setup_scripts
Add scripts for setting up interop clients and servers
2019-05-10 09:30:13 -07:00
murgatroid99 1b0f058e24 Add #!/bin/sh and copyright notice to new scripts 2019-05-09 17:46:25 -07:00
murgatroid99 3eb9e2f48f Add scripts for setting up interop clients and servers 2019-05-09 17:28:27 -07:00
Michael Lumish 5e3141b5cf
Merge pull request #861 from murgatroid99/v1.20_upmerge
V1.20 upmerge
2019-05-08 14:29:17 -07:00
murgatroid99 904d820bd2 Merge remote-tracking branch 'upstream/grpc@1.20.x' into v1.20_upmerge 2019-05-08 13:32:11 -07:00
cjihrig b8af8c9474
grpc-js: add client streaming RPC support
This commit adds client streaming RPC support.
2019-05-07 14:23:34 -04:00
Michael Lumish b36b285f4c
Merge pull request #856 from cjihrig/stream-decoder
grpc-js: extract reusable stream decoding logic
2019-05-06 12:44:06 -07:00
cjihrig 7aa45eb55e
grpc-js: extract reusable stream decoding logic
This commit pulls the stream decoding logic into a separate
class so that it can be reused by the server code.
2019-05-06 13:56:23 -04:00
Michael Lumish 11bd4309bb
Merge pull request #854 from eoogbe/chan-cred-types
Native: Remove unused ChannelCredential type definitions
2019-05-06 10:51:17 -07:00
Eva Ogbe a11bdbb0a2 Native: Remove unused ChannelCredential type definitions
Removes:
- getCallCredentials
- getSecureContext

These functions no longer exist, so their presence in the type 
definitions is invalid.
2019-05-03 15:03:02 -07:00
Michael Lumish f7f098b117
Merge pull request #832 from cjihrig/server
grpc-js: support unary and server streaming rpcs
2019-05-03 13:30:57 -07:00
cjihrig 7009d25593
grpc-js: wrestle with typescript handler types
This commit is mindless TypeScript busy work.
2019-05-03 14:49:49 -04:00
cjihrig ec9e82554b
fixup! grpc-js: support unary and server streaming rpcs 2019-05-03 12:21:41 -04:00