Commit Graph

3144 Commits

Author SHA1 Message Date
Michael Lumish 5df87c9ac9
Merge pull request #1365 from murgatroid99/grpc-js_1.0
Bump grpc-js to 1.0 and stop calling it "beta"
2020-04-20 13:33:33 -07:00
Michael Lumish ae61562be2
Merge pull request #1364 from murgatroid99/grpc-js_uri_parsing
grpc-js: Use a more structured representation of URIs internally
2020-04-20 12:19:18 -07:00
Michael Lumish 238a91c985
Merge pull request #1373 from murgatroid99/grpc-js_callback_type_name_2
grpc-js: Make request callback type match the other library
2020-04-20 12:18:34 -07:00
Michael Lumish 8b16b3b699
Merge pull request #1368 from badsyntax/client-waitforready-fix
grpc-js: Client waitForReady callback fix.  Fixes #1352
2020-04-20 12:18:15 -07:00
Michael Lumish b62e22677d
Merge pull request #1319 from xpirt/patch-1
grpc-js: export InterceptorOptions
2020-04-20 11:32:30 -07:00
Michael Lumish 98e46260ef Fix merge error with proxy fixes 2020-04-20 11:22:56 -07:00
Richard Willis 7e381f7f2a grpc-js: Simplify client.waitForReady tests. Refs #1352
No need to add a service to the server to test the client.
2020-04-20 19:14:20 +01:00
Michael Lumish 5aa7817c7e
Merge branch 'master' into grpc-js_uri_parsing 2020-04-20 11:08:23 -07:00
Michael Lumish c5424a53a9
Merge pull request #1369 from mrfelton/proxy-tls
grpc-js: initiate tls connection through http proxy
2020-04-20 11:05:13 -07:00
Michael Lumish 6e3ab74e64 grpc-js: Make request callback type match the other library 2020-04-20 10:32:19 -07:00
Gintautas Miselis bbec4514d2 Don't use bundledDependencies 2020-04-20 13:29:35 +03:00
Tom Kirkpatrick eef75a5c1b
grpc-js: use tls.ConnectionOptions type for proxy connection options 2020-04-19 20:07:45 +02:00
Tom Kirkpatrick 48072d5f4f
grpc-js: setting ALPNProtocols option for tls proxy 2020-04-19 20:07:45 +02:00
Tom Kirkpatrick b9e84f499f
grpc-js: commenting working for node issue 32922 2020-04-19 20:07:45 +02:00
Tom Kirkpatrick 11965fb0af
grpc-js: dont set createConnection when connecting with TLS and without a proxy 2020-04-18 23:16:07 +02:00
Tom Kirkpatrick 2c5a8b1a30
grpc-js: ensure tls connection is used when requested 2020-04-18 21:25:24 +02:00
Tom Kirkpatrick 4e61f21c2f
grpc-js: do not set host when instantiating tls socket 2020-04-18 17:58:40 +02:00
Tom Kirkpatrick 5af582e31c
grpc-js: pass secureContext through to proxied tls connection 2020-04-18 13:59:49 +02:00
Tom Kirkpatrick c650e59563
grpc-js: always explicitly establish connection 2020-04-18 12:56:51 +02:00
Tom Kirkpatrick af7f4f798d
grpc-js: initiate tls connection through http proxy 2020-04-18 11:04:13 +02:00
Richard Willis 615a3c65b1 grpc-js: Add test for client.waitForReady. Refs #1352 2020-04-18 09:45:22 +01:00
Richard Willis 4e7b94ab35 grpc-js: Remove watcher from queue before calling watcher callback. Fixes #1352
In the case where a new watcher is synchronously added to the watcher queue via the
watcher callback, this can result in the callback being called multiple times.

To support this case, the watcher needs to be move removed from the queue
before calling the watcher callback.
2020-04-18 09:41:46 +01:00
Michael Lumish 03fdeedc78
Merge pull request #1366 from murgatroid99/health_check_1.8.0
Bump grpc-health-check to 1.8.0
2020-04-17 10:33:05 -07:00
Michael Lumish a440ebcb3f Bump grpc-health-check to 1.8.0 2020-04-16 15:11:10 -07:00
Michael Lumish 37d4acdc6b
Merge pull request #1351 from doochik/export-health-check-messages
Export health-check messages
2020-04-16 15:09:38 -07:00
Michael Lumish 2db1aff5ff Bump grpc-js to 1.0 and stop calling it "beta" 2020-04-16 14:32:25 -07:00
Michael Lumish dbe98ad090 Fix "other" resovler registration code 2020-04-16 08:34:24 -07:00
Michael Lumish 1cd0ef12f2 Fix target name in "other" resolver test 2020-04-16 07:45:29 -07:00
Michael Lumish 13cc016e4e grpc-js: Use a more structured representation of URIs internally 2020-04-15 18:04:49 -07:00
Michael Lumish 4d1bdc4f20
Merge pull request #1356 from murgatroid99/grpc-js_proxy_support_take_2
grpc-js: Interact with proxies properly
2020-04-14 14:51:07 -07:00
Michael Lumish 5566f1d5ce
Merge pull request #1358 from murgatroid99/grpc-js_js_pack_fix
grpc-js: Fix how package.json is loaded
2020-04-14 14:50:54 -07:00
Michael Lumish b489935b7c grpc-js: Fix how package.json is loaded 2020-04-14 13:58:12 -07:00
Michael Lumish e73c96298f Add error on DNS parsing failure, fix proxy DNS name 2020-04-14 11:32:07 -07:00
Michael Lumish cba41bc487 grpc-js: Interact with proxies properly 2020-04-14 10:43:36 -07:00
Michael Lumish 227a35e899
Merge pull request #1346 from murgatroid99/grpc-js_max_message_size
grpc-js: Add max message size enforcement
2020-04-13 15:45:00 -07:00
Michael Lumish 70b2a954e0
Merge branch 'master' into grpc-js_max_message_size 2020-04-13 14:13:03 -07:00
Michael Lumish 4ec023c271
Merge pull request #1345 from Patrick-Remy/patch/grpc-js-linting
grpc-js fix linting
2020-04-13 10:49:18 -07:00
Patrick Remy e7b25e3070
gprc-js: upgrade to gts v2.0.0
Remove deprecated google-ts-style
2020-04-12 18:04:45 +02:00
Patrick Remy 70a92d2fc3
grpc-js: resolve node/no-unpublished-require 2020-04-12 17:20:28 +02:00
Patrick Remy 2c3c22ea2a
grpc-js: Merge remote-tracking branch 'upstream/master' into patch/grpc-js-linting 2020-04-12 16:56:44 +02:00
Aleksei Androsov ab09c552de
Export health-check messages
To use in serviceMap

const grpcHealthCheck = require('grpc-health-check');
const statusMap = {
    '': grpcHealthCheck.messages.HealthCheckResponse.ServingStatus.SERVING,
};
2020-04-12 12:38:11 +03:00
Patrick Remy a4d3f290eb
grpc-js: linter disable no-unused-vars
Make prettier happy and move eslint-disable comment
2020-04-11 16:11:13 +02:00
Michael Lumish 7eca188ae1
Merge pull request #1348 from murgatroid99/grpc-js_proxy_error_reporting
grpc-js: Add more information to proxy errors
2020-04-10 11:48:42 -07:00
Michael Lumish cb39daede2
Merge pull request #1349 from murgatroid99/grpc-js_authority_no_port
grpc-js: Don't include the port in :authority
2020-04-10 11:48:28 -07:00
Michael Lumish f1c1dafae4 grpc-js: Don't include the port in :authority 2020-04-10 10:16:56 -07:00
Michael Lumish 19d960074b grpc-js: Add more information to proxy errors 2020-04-10 10:09:54 -07:00
Patrick Remy 873e6d411c
gprc-js: Merge remote-tracking branch 'upstream/master' into patch/grpc-js-linting 2020-04-10 11:32:51 +02:00
Patrick Remy ac14e1ac54
grpc-js: Resolve eslint node/no-deprecated-api
Remove unused imports
2020-04-10 11:15:10 +02:00
Patrick Remy e9172f043a
grpc-js: resolve eslint error eqeqeq 2020-04-10 11:12:00 +02:00
Patrick Remy 490217c059
grpc-js: resolve eslint no-prototype-builtins 2020-04-10 11:09:42 +02:00