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

add server reflection #34

Merged
merged 3 commits into from
Nov 25, 2019
Merged

Conversation

honnix
Copy link
Member

@honnix honnix commented Nov 20, 2019

The same as flyteorg/datacatalog#19

With server reflection, it would be easier to interact with GRPC service using e.g. grpcurl.

flyteadmin does come with HTTP endpoint as well, but interacting with GRPC directly makes it more handy.

@honnix
Copy link
Member Author

honnix commented Nov 21, 2019

@kumare3 PTAL

@EngHabu
Copy link
Contributor

EngHabu commented Nov 22, 2019

CC @wild-endeavor, @katrogan

@honnix can you add this behind a config flag? I'm not sure if it has implications on performance/security... etc.

@katrogan
Copy link
Contributor

+1 to making configurable

@honnix
Copy link
Member Author

honnix commented Nov 25, 2019

This seems like a standard part of GRCP protocol and I didn't find any thing around performance hit and security. But sure, we can have a config flag.

BTW I did the same to datacatalog and it was already merged. I will send a follow up PR to make it configurable.

@honnix
Copy link
Member Author

honnix commented Nov 25, 2019

flyteorg/datacatalog#20

@wild-endeavor
Copy link
Contributor

sorry for the back and forth - could you add grpcServerReflection: true to the config file at the base of the repo please? It's meant to be the config that one would use when running locally (make server) and it'd be nice to have it turned on.

Thanks!

@wild-endeavor wild-endeavor merged commit 2bedf17 into flyteorg:master Nov 25, 2019
@honnix honnix deleted the server-reflection branch November 25, 2019 18:25
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
The same as flyteorg/datacatalog#19

With [server reflection](https://github.com/grpc/grpc-go/blob/master/Documentation/server-reflection-tutorial.md), it would be easier to interact with GRPC service using e.g. `grpcurl`.

flyteadmin does come with HTTP endpoint as well, but interacting with GRPC directly makes it more handy.
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.

4 participants