Skip to content

Commit

Permalink
Add SignalService http handler (flyteorg#506)
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
wild-endeavor authored Dec 28, 2022
1 parent ee8de0f commit ec5528d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ func newHTTPServer(ctx context.Context, cfg *config.ServerConfig, _ *authConfig.
return nil, errors.Wrap(err, "error registering data proxy service")
}

err = service.RegisterSignalServiceHandlerFromEndpoint(ctx, gwmux, grpcAddress, grpcConnectionOpts)
if err != nil {
return nil, errors.Wrap(err, "error registering signal service")
}

mux.Handle("/", gwmux)

return mux, nil
Expand Down

0 comments on commit ec5528d

Please sign in to comment.