Skip to content

rls: add proto and converter - #6743

Merged
creamsoup merged 11 commits into
grpc:masterfrom
creamsoup:rls_pr
Feb 29, 2020
Merged

rls: add proto and converter#6743
creamsoup merged 11 commits into
grpc:masterfrom
creamsoup:rls_pr

Conversation

@creamsoup

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread rls/src/main/java/io/grpc/rls/RlsProtoConverters.java Outdated
Comment thread rls/src/main/java/io/grpc/rls/RlsProtoConverters.java
protected RlsProtoData.RouteLookupRequest doForward(RouteLookupRequest routeLookupRequest) {
return
new RlsProtoData.RouteLookupRequest(
routeLookupRequest.getServer(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add /* server = */ to let linter check the arguments are passed in the right order

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea, done

Comment thread rls/src/test/java/io/grpc/rls/internal/RlsProtoConvertersTest.java
Comment thread rls/src/main/java/io/grpc/rls/internal/RlsProtoConverters.java Outdated
Comment thread rls/src/main/java/io/grpc/rls/internal/RlsProtoData.java Outdated
Comment thread rls/src/main/java/io/grpc/rls/internal/RlsProtoConverters.java Outdated
import java.util.concurrent.TimeUnit;

/**
* RlsProtoConverters is a collection of {@link Converter} between RouteLookupService proto messages

@dapengzhang0 dapengzhang0 Feb 29, 2020

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proto or raw config messages

Comment thread rls/src/test/java/io/grpc/rls/internal/RlsProtoConvertersTest.java

@dapengzhang0 dapengzhang0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@creamsoup
creamsoup merged commit 0fd4975 into grpc:master Feb 29, 2020
@creamsoup
creamsoup deleted the rls_pr branch February 29, 2020 05:41
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants