Skip to content

Commit a4c2106

Browse files
authored
Merge pull request #2758 from murgatroid99/grpc-js_1.10.x_upmerge
Merge 1.10.x branch into master
2 parents 15b7d4d + 7185340 commit a4c2106

File tree

180 files changed

+4368
-5190
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+4368
-5190
lines changed

packages/grpc-js-xds/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @grpc/grpc-js xDS plugin
22

3-
This package provides support for the `xds://` URL scheme to the `@grpc/grpc-js` library. The latest version of this package is compatible with `@grpc/grpc-js` version 1.9.x.
3+
This package provides support for the `xds://` URL scheme to the `@grpc/grpc-js` library. The latest version of this package is compatible with `@grpc/grpc-js` version 1.10.x.
44

55
## Installation
66

@@ -30,5 +30,8 @@ const client = new MyServiceClient('xds:///example.com:123');
3030
- [Client Status Discovery Service](https://github.com/grpc/proposal/blob/master/A40-csds-support.md)
3131
- [Outlier Detection](https://github.com/grpc/proposal/blob/master/A50-xds-outlier-detection.md)
3232
- [xDS Retry Support](https://github.com/grpc/proposal/blob/master/A44-xds-retry.md)
33-
- [xDS Aggregate and Logical DNS Clusters](https://github.com/grpc/proposal/blob/master/A37-xds-aggregate-and-logical-dns-clusters.md)'
33+
- [xDS Aggregate and Logical DNS Clusters](https://github.com/grpc/proposal/blob/master/A37-xds-aggregate-and-logical-dns-clusters.md)
3434
- [xDS Federation](https://github.com/grpc/proposal/blob/master/A47-xds-federation.md) (Currently experimental, enabled by environment variable `GRPC_EXPERIMENTAL_XDS_FEDERATION`)
35+
- [xDS Custom Load Balancer Configuration](https://github.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md) (Custom load balancer registration not currently supported)
36+
- [xDS Ring Hash LB Policy](https://github.com/grpc/proposal/blob/master/A42-xds-ring-hash-lb-policy.md)
37+
- [`pick_first` via xDS](https://github.com/grpc/proposal/blob/master/A62-pick-first.md#pick_first-via-xds-1) (Currently experimental, enabled by environment variable `GRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG`)

packages/grpc-js-xds/gulpfile.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ const compile = checkTask(() => execNpmCommand('compile'));
6262

6363
const runTests = checkTask(() => {
6464
process.env.GRPC_EXPERIMENTAL_XDS_FEDERATION = 'true';
65-
process.env.GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG = 'true';
6665
process.env.GRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG = 'true';
67-
if (Number(process.versions.node.split('.')[0]) > 14) {
68-
process.env.GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH = 'true';
66+
if (Number(process.versions.node.split('.')[0]) <= 14) {
67+
process.env.GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH = 'false';
6968
}
7069
return gulp.src(`${outDir}/test/**/*.js`)
7170
.pipe(mocha({reporter: 'mocha-jenkins-reporter',

packages/grpc-js-xds/interop/generated/grpc/testing/ClientConfigureRequest.ts

Lines changed: 22 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/grpc-js-xds/interop/generated/grpc/testing/GrpclbRouteType.ts

Lines changed: 40 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/grpc-js-xds/interop/generated/grpc/testing/LoadBalancerAccumulatedStatsResponse.ts

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/grpc-js-xds/interop/generated/grpc/testing/LoadBalancerStatsResponse.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/grpc-js-xds/interop/generated/grpc/testing/LoadBalancerStatsService.ts

Lines changed: 22 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/grpc-js-xds/interop/generated/grpc/testing/Payload.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/grpc-js-xds/interop/generated/grpc/testing/PayloadType.ts

Lines changed: 18 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)