-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
services: move classes with protobuf dependency into io.grpc.protobuf.services #8056
Conversation
…rpc.protobuf.services. Create a forwarding class for HealthStatusManager to avoid breakages. Others are mostly fine, as few people are using them.
… existing users migrate.
…_io_grpc_services
… deprecated and suggest users to migrate new ones in io.grpc.protobuf.services
280ba67
to
d8412ab
Compare
186f7a5
to
9989179
Compare
services/src/main/java/io/grpc/protobuf/services/BinaryLogProvider.java
Outdated
Show resolved
Hide resolved
8fb76c8
to
851628c
Compare
For a bit more context, it isn't just for organization. But to avoid protobuf dependency in some classes. That is to say, it is for dependency organization, and not as much "make things look nice" organization. |
services/src/main/java/io/grpc/protobuf/services/BinaryLogProvider.java
Outdated
Show resolved
Hide resolved
services/src/test/java/io/grpc/services/ChannelzProtoUtilTest.java
Outdated
Show resolved
Hide resolved
services/src/test/java/io/grpc/services/BinaryLogProviderTest.java
Outdated
Show resolved
Hide resolved
services/src/main/java/io/grpc/protobuf/services/BinaryLogProvider.java
Outdated
Show resolved
Hide resolved
72ea3bb
to
1951bc2
Compare
e648129
to
312fe1c
Compare
312fe1c
to
3f4dd94
Compare
@@ -19,6 +19,7 @@ | |||
import io.grpc.BindableService; | |||
import io.grpc.ExperimentalApi; | |||
import io.grpc.ServerServiceDefinition; | |||
import io.grpc.protobuf.services.ChannelzService; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dependency should be ok. Or we can change it when making io.grpc.protobuf.services a separate artifact.
All addressed and self-reviewed. Should be good now. PTAL. |
To separately manage services/classes with and without protobuf dependency in services package, we are moving classes with protobuf dependency into
io.grpc.protobuf.services
. This includes healthchecking, reflection, channelz, and binlogging.Forwarding classes are created to avoid breaking existing users, while they are marked as deprecated to notify users to migrate.