Michael Lumish
|
220a70289c
|
Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.18.x_upmerge
|
2023-07-13 14:14:29 -07:00 |
Michael Lumish
|
713a2c9bd1
|
grpc-js: Enable the noUnusedLocals TypeScript compiler option
|
2023-07-12 15:22:15 -07:00 |
Michael Lumish
|
b53f5882f1
|
grpc-js: Disallow pick_first as child of outlier_detection
|
2023-06-22 14:32:09 -07:00 |
Michael Lumish
|
89cd8f7bc3
|
grpc-js: Idle timeout: format files
|
2023-06-20 15:46:27 -07:00 |
Michael Lumish
|
fcff72b941
|
grpc-js: Implement channel idle timeout
|
2023-06-20 14:47:14 -07:00 |
Dan Rumney
|
cd24d6956d
|
style: run eslint fix on codebase
Fixes #2464
|
2023-06-15 13:04:57 -05:00 |
Dan Rumney
|
1880faf8a0
|
fix(packages/grpc-js/test/assert2): move assert2 into its own file
Moving from exporting a namespace to just putting assert2 functions into their own files
Fixes #2464
|
2023-06-15 12:52:45 -05:00 |
Michael Lumish
|
3709998012
|
grpc-js: Fix a couple of errors from a previous PR
|
2023-04-13 09:25:38 -07:00 |
Michael Lumish
|
43d42dcf3f
|
grpc-js: Fix connectivity state change event sequencing
|
2023-04-11 14:50:41 -07:00 |
Michael Lumish
|
b3b6310f04
|
grpc-js: Don't end calls when receiving GOAWAY
|
2023-01-10 15:24:22 -08:00 |
Nick Kleinschmidt
|
677c009385
|
grpc-js: Add support for grpc.service_config_disable_resolution
|
2022-12-17 15:19:32 -07:00 |
Michael Lumish
|
fa21e13ef3
|
Limit maxAttempts to 5 for retries and hedging
|
2022-11-17 11:51:49 -08:00 |
Michael Lumish
|
a120aa06b3
|
Merge branch 'master' into grpc-js_retry2
|
2022-11-16 14:19:46 -08:00 |
Michael Lumish
|
5a5e42498c
|
grpc-js: Enable servers to send trailers-only responses
|
2022-11-16 14:09:40 -08:00 |
Michael Lumish
|
24c4cd7bb8
|
grpc-js: Add more outlier detection tests and tracing
|
2022-10-18 16:29:22 -07:00 |
Michael Lumish
|
67bec19b4e
|
Merge branch 'master' into grpc-js_retry
|
2022-10-11 16:42:19 -07:00 |
Michael Lumish
|
339eb37efd
|
grpc-js: Refactor in preparation for retries
|
2022-10-11 14:52:43 -07:00 |
Michael Lumish
|
b0e28f7f93
|
grpc-js: Add test for sending metadata from call creds on channel creds
|
2022-09-12 11:20:19 -07:00 |
Michael Lumish
|
f438191182
|
grpc-js: Add tests for outlier detection validation rules
|
2022-09-07 16:35:29 -07:00 |
Michael Lumish
|
07b73ad129
|
grpc-js: Add a test for compressing large messages
|
2022-06-07 11:07:47 -07:00 |
Michael Lumish
|
cd58695674
|
grpc-js: Add regression tests for repeated DNS requests
|
2022-04-21 16:09:24 -07:00 |
Michael Lumish
|
6c686772cb
|
grpc-js: Fix handling of calls after resolution failure
|
2022-04-12 16:16:57 -07:00 |
Michael Lumish
|
312fb9b737
|
Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.5.x' into v1.5.x_upmerge
|
2022-03-24 10:11:52 -07:00 |
Michael Lumish
|
2062062a5c
|
grpc-js: Add outlier detection LB policy
|
2022-03-07 13:05:24 -08:00 |
Michael Lumish
|
0a5a2321b4
|
grpc-js: Fix pick first shutdown reference handling
|
2022-01-20 09:31:09 -08:00 |
Michael Lumish
|
ba375e7371
|
Skip a test because it behaves weirdly on Mac
|
2021-12-09 10:48:38 -05:00 |
Michael Lumish
|
e41b99dffc
|
Fix a couple of issues with tests on Windows
|
2021-12-09 10:46:03 -05:00 |
Michael Lumish
|
c52cb842af
|
Add detailed assertion output for some resolver tests, skip IPv4+IPv6 test
|
2021-12-08 13:42:50 -05:00 |
Michael Lumish
|
575c2004f3
|
Skip some tests to make the Linux test job green
|
2021-12-06 12:02:52 -05:00 |
Michael Lumish
|
9cdd36f929
|
Merge branch 'master' into grpc-js_compression_support
|
2021-11-08 12:17:11 -08:00 |
Robert
|
96ae102eaf
|
fix path for loading test_service proto
|
2021-11-05 19:59:03 -07:00 |
Michael Lumish
|
bb26dcfd1e
|
grpc-js: Fix handling of grpc.enable_channelz option
|
2021-11-05 10:12:12 -07:00 |
Robert
|
c4d7fab13e
|
simplify compression filter handling of server supported encoding headers
|
2021-11-02 19:17:44 -07:00 |
Robert
|
7a31b4a65a
|
change test to use write instead of _write
|
2021-10-26 14:03:14 -07:00 |
Robert
|
d68d94a5f4
|
re-enable NoCompress flag behavior and check Compressed Flag byte on server
|
2021-10-25 20:21:48 -07:00 |
Robert
|
af010071fe
|
have client restore default sendCompression if server doesnt support compression, and fix test file generation
|
2021-10-25 19:43:40 -07:00 |
Robert
|
cec7e64a2b
|
cleanup test file
|
2021-10-24 22:21:24 -07:00 |
Robert
|
7aa5b62008
|
grpc-js: Allow per-channel request compression from the client and decompression from the server
|
2021-10-24 21:46:23 -07:00 |
Michael Lumish
|
d60c4ea16f
|
Add channelz tests and fix some bugs
|
2021-09-27 10:46:39 -07:00 |
Michael Lumish
|
bd1571fa94
|
Merge pull request #1852 from murgatroid99/grpc-js_bind_creds_typecheck
grpc-js: Tighten server.bindAsync creds typecheck
|
2021-07-19 13:15:29 -07:00 |
murgatroid99
|
af1676a5a5
|
Add test for passing client credentials to server
|
2021-07-16 16:39:26 -07:00 |
murgatroid99
|
9e4039d86b
|
Updated text in bindAsync error test
|
2021-07-16 10:45:40 -07:00 |
murgatroid99
|
6359bf066f
|
Remove test for exact default logger identity
|
2021-07-15 10:55:50 -07:00 |
Michael Lumish
|
8605ef2ded
|
Fix subchannel address import, resolver test setup
|
2021-06-29 10:43:45 -07:00 |
Michael Lumish
|
82fada33ff
|
Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.3.x' into grpc-js_upmerge_from_1.3
|
2021-06-29 10:02:33 -07:00 |
Michael Lumish
|
031ae9472e
|
grpc-js: Refactor code to eliminate runtime dependency cycles
|
2021-06-24 09:50:02 -07:00 |
Michael Lumish
|
d51551f6d7
|
grpc-js-xds: Add support for timeout xDS interop test
Add more logging
|
2021-05-19 13:25:33 -07:00 |
Michael Lumish
|
c9aad43358
|
grpc-js: Add support for ipv4 and ipv6 schemes
|
2021-04-16 13:35:42 -07:00 |
Michael Lumish
|
fe4bd2641a
|
Merge pull request #1654 from 418sec/1-npm-grpc
Security Fix for Prototype Pollution - huntr.dev
|
2021-01-07 12:54:54 -08:00 |
d3v53c
|
6101694397
|
added test case
|
2020-12-07 22:40:14 -08:00 |
Michael Lumish
|
a006be07f4
|
grpc-js-xds: Shutdown the xDS client used by the resolver when the channel shuts down
|
2020-11-25 12:33:36 -08:00 |
Michael Lumish
|
ae2b64bd65
|
grpc-js: Implement deadline and cancellation propagation
|
2020-10-30 11:38:30 -07:00 |
Daniel Shmuglin
|
51ca00298e
|
implement Server#unregisterService(serviceDefinition)
|
2020-10-29 11:33:29 +02:00 |
Daniel Shmuglin
|
7c3ccda8ff
|
implement Server#unregister(handlerName)
|
2020-10-29 10:54:33 +02:00 |
Daniel Shmuglin
|
e49524a2ba
|
Server#addService - lift the limitation of adding a new service to started server
|
2020-10-29 10:24:31 +02:00 |
Michael Lumish
|
967eeb5443
|
grpc-js: Prevent prototype pollution in loadPackageDefinition
|
2020-10-20 11:19:22 -07:00 |
Michael Lumish
|
1fc284f59d
|
Revert "fix(grpc-js): Add support for impl type to server.addService"
|
2020-09-02 15:17:57 -07:00 |
Slavo Vojacek
|
fba1ee0cc3
|
fix(grpc): Fix typings
|
2020-09-02 20:32:31 +01:00 |
Slavo Vojacek
|
38e988ea03
|
fix(grpc-js): Add support for impl type to server.addService
|
2020-08-31 20:34:14 +01:00 |
Michael Lumish
|
52eb0df1f8
|
grpc-js: Add XdsResolver and corresponding XdsClient behavior
|
2020-08-03 10:44:28 -07:00 |
Michael Lumish
|
69d4116057
|
Merge pull request #1413 from murgatroid99/grpc-js_pick_first_reconnect_fix
grpc-js: Fix pick_first handling of IDLE subchannels.
|
2020-05-21 10:29:58 -07:00 |
Michael Lumish
|
c6deb79269
|
Test header splitting behavior
|
2020-05-21 10:12:08 -07:00 |
Michael Lumish
|
3d8c9af401
|
grpc-js: Fix pick_first handling of IDLE subchannels. Also stop reporting IDLE on LB creation
|
2020-05-08 10:30:56 -07:00 |
Alexander Fenster
|
ebfc5c9594
|
fix: make stream.write() synchronous in server-call
|
2020-04-22 13:58:26 -07:00 |
Michael Lumish
|
e0533363ec
|
Fix "other" resolver test
|
2020-04-21 10:55:06 -07:00 |
Michael Lumish
|
23e2353ea0
|
Update tests and add new ones
|
2020-04-21 09:58:34 -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
|
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 |
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 |
Richard Willis
|
615a3c65b1
|
grpc-js: Add test for client.waitForReady. Refs #1352
|
2020-04-18 09:45:22 +01: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 |
Patrick Remy
|
53f3daa685
|
Revert "grpc-js: allow any for linting globally"
This reverts commit 16ec0f0f64 and
replaces tslint-disable statements by eslint-disable.
|
2020-04-10 11:03:53 +02:00 |
Patrick Remy
|
0d927e6872
|
grpc-js: remove tslint disable statements
|
2020-04-09 12:10:39 +02:00 |
Patrick Remy
|
16ec0f0f64
|
grpc-js: allow any for linting globally
The any type is purposely used. All functions validate their input at runtime.
|
2020-04-09 11:52:24 +02:00 |
Michael Lumish
|
2f953e4457
|
grpc-js: Don't wait for TXT record to return DNS lookup result
|
2020-03-26 16:30:48 -07:00 |
murgatroid99
|
ca18cca813
|
grpc-js: tests: skip checking for IPv6 addresses from DNS servers
|
2020-03-10 10:47:17 -07:00 |
Michael Lumish
|
f2b740f6ce
|
grpc-js: Always return IPv6 addresses from DNS resolver
|
2020-03-03 10:17:10 -08:00 |
murgatroid99
|
1fe6432d92
|
Differentiate more strongly between TCP and IPC addresses
|
2020-01-29 16:50:29 -08:00 |
murgatroid99
|
c5428c5733
|
lint and formatting fixes
|
2020-01-29 09:56:49 -08:00 |
murgatroid99
|
57c18382d8
|
grpc-js: Use an object to represent subchannel addresses
|
2020-01-29 09:42:13 -08:00 |
murgatroid99
|
8af2bc83f8
|
Don't test irrelevant parts of output
|
2019-12-12 14:17:46 -08:00 |
James Sharp
|
ad9e53ada6
|
grpc-js: fix explicit ipv6 addresses not resolving correctly
|
2019-11-22 12:28:57 +00:00 |
James Sharp
|
dd414b6ddc
|
grpc-js: fix error messages truncating at commas
|
2019-11-20 17:36:05 +00:00 |
Jared Dellitt
|
54a95106a6
|
Change getDefaultAuthority in resolver to look at the registered resolvers instead of registerDefaultResolver function
|
2019-11-10 18:00:27 -06:00 |
Natan Sągol
|
50067fe9c4
|
style(grpc-js): format files using gts
|
2019-11-08 08:01:18 +01:00 |
Natan Sągol
|
845cfe1bd9
|
build: add full gts configuration and fix TSLint issues
|
2019-11-07 22:14:24 +01:00 |
Michael Lumish
|
974cb30a27
|
Merge pull request #1037 from murgatroid99/grpc-js_client_error_construction
Add function for creating errors from statuses
|
2019-10-09 14:43:32 -07:00 |
murgatroid99
|
50a3ead062
|
Don't test value of error.message
|
2019-10-09 13:14:30 -07:00 |
murgatroid99
|
4e7f4dff17
|
Also use original call metadata
|
2019-09-30 15:56:15 -07:00 |
murgatroid99
|
ce119ead0b
|
Merge branch 'master' into grpc-js_uds_resolver
|
2019-09-27 14:24:07 -07:00 |
murgatroid99
|
06f6065692
|
Increase resolver test timeout
|
2019-09-26 17:06:51 -07:00 |
murgatroid99
|
4fb254ddb6
|
grpc-js: Fix TLS server name handling
|
2019-09-26 14:32:54 -07:00 |
murgatroid99
|
5ab1806b44
|
Add UDS resolver
|
2019-09-25 17:53:05 -07:00 |
Michael Lumish
|
fe601286e6
|
Undo domain name change
|
2019-09-25 10:51:06 -07:00 |
Michael Lumish
|
d27ca5d725
|
Switch to a more reliable domain name with a hyphen
Co-Authored-By: Natan Sągol <m@merlinnot.com>
|
2019-09-25 09:27:02 -07:00 |
murgatroid99
|
9238ad07cb
|
Fix DNS name regex and add tests
|
2019-09-24 18:22:38 -07:00 |
murgatroid99
|
adf7b08096
|
Merge branch 'master' into grpc-js_disconnect_status
|
2019-09-24 12:11:03 -07:00 |
murgatroid99
|
fba9664f35
|
Remove fragile test file
|
2019-09-24 12:09:57 -07:00 |