Skip to content
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

Merged
merged 21 commits into from Apr 17, 2021

Conversation

voidzcy
Copy link
Contributor

@voidzcy voidzcy commented Apr 7, 2021

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.

…rpc.protobuf.services. Create a forwarding class for HealthStatusManager to avoid breakages. Others are mostly fine, as few people are using them.
@voidzcy voidzcy marked this pull request as ready for review April 13, 2021 16:50
@voidzcy voidzcy marked this pull request as draft April 13, 2021 17:03
… deprecated and suggest users to migrate new ones in io.grpc.protobuf.services
@voidzcy voidzcy force-pushed the impl/clean_up_io_grpc_services branch from 280ba67 to d8412ab Compare April 13, 2021 19:03
@voidzcy voidzcy marked this pull request as ready for review April 13, 2021 19:05
@voidzcy voidzcy force-pushed the impl/clean_up_io_grpc_services branch from 186f7a5 to 9989179 Compare April 13, 2021 20:22
@voidzcy voidzcy force-pushed the impl/clean_up_io_grpc_services branch from 8fb76c8 to 851628c Compare April 14, 2021 20:26
@voidzcy voidzcy closed this Apr 14, 2021
@voidzcy voidzcy reopened this Apr 14, 2021
@voidzcy voidzcy requested a review from ejona86 April 14, 2021 21:18
@ejona86
Copy link
Member

ejona86 commented Apr 15, 2021

To better organize classes in io.grpc.services

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.

@voidzcy voidzcy force-pushed the impl/clean_up_io_grpc_services branch from 72ea3bb to 1951bc2 Compare April 16, 2021 23:12
@voidzcy voidzcy force-pushed the impl/clean_up_io_grpc_services branch from e648129 to 312fe1c Compare April 16, 2021 23:19
@voidzcy voidzcy force-pushed the impl/clean_up_io_grpc_services branch from 312fe1c to 3f4dd94 Compare April 16, 2021 23:22
@@ -19,6 +19,7 @@
import io.grpc.BindableService;
import io.grpc.ExperimentalApi;
import io.grpc.ServerServiceDefinition;
import io.grpc.protobuf.services.ChannelzService;
Copy link
Contributor Author

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.

@voidzcy
Copy link
Contributor Author

voidzcy commented Apr 16, 2021

All addressed and self-reviewed. Should be good now. PTAL.

@voidzcy voidzcy merged commit bab1fe3 into grpc:master Apr 17, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 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.

None yet

2 participants