Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
removed references of HealthGrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindanr committed Jan 31, 2022
1 parent a85f68f commit 4f9c4d7
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
public class GRPCServerProvider implements Provider<Optional<GRPCServer>> {

private final GRPCServerConfiguration configuration;
private final BindableService healthServiceImpl;
private final BindableService eventServiceImpl;
private final BindableService metadataServiceImpl;
private final BindableService taskServiceImpl;
Expand All @@ -27,14 +26,12 @@ public class GRPCServerProvider implements Provider<Optional<GRPCServer>> {
@Inject
public GRPCServerProvider(
GRPCServerConfiguration grpcServerConfiguration,
HealthGrpc.HealthImplBase healthServiceImpl,
EventServiceGrpc.EventServiceImplBase eventServiceImpl,
MetadataServiceGrpc.MetadataServiceImplBase metadataServiceImpl,
TaskServiceGrpc.TaskServiceImplBase taskServiceImpl,
WorkflowServiceGrpc.WorkflowServiceImplBase workflowServiceImpl
) {
this.configuration = grpcServerConfiguration;
this.healthServiceImpl = healthServiceImpl;

this.eventServiceImpl = eventServiceImpl;
this.metadataServiceImpl = metadataServiceImpl;
Expand All @@ -51,7 +48,6 @@ public Optional<GRPCServer> get() {

private GRPCServer buildGRPCServer(GRPCServerConfiguration grpcServerConfiguration) {
ImmutableList.Builder<BindableService> services = ImmutableList.<BindableService>builder().add(
healthServiceImpl,
eventServiceImpl,
metadataServiceImpl,
taskServiceImpl,
Expand Down

0 comments on commit 4f9c4d7

Please sign in to comment.