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

Hive requirement: HTTP router for json-rpc and graphql #603

Closed
jangko opened this issue Apr 27, 2021 · 2 comments
Closed

Hive requirement: HTTP router for json-rpc and graphql #603

jangko opened this issue Apr 27, 2021 · 2 comments
Labels

Comments

@jangko
Copy link
Contributor

jangko commented Apr 27, 2021

Current situation:

  • we have separated http server for json-rpc and graphql listening on different port
  • hive require both services listen on the the same port 8545 with graphql using /graphql path and all other path redirected to json-rpc(it's up to the rpc server to treat it as an error or not)

what missing is a common server able to route the request to specific handler.

@jlokier jlokier added the Hive label Apr 30, 2021
@jangko
Copy link
Contributor Author

jangko commented May 6, 2021

This is not really important anymore, I have find a work around.
Hive provide a ENV variable HIVE_GRAPHQL_ENABLED .
By checking this flag, we do not need to share port anymore, just disable the rpc server when HIVE_GRAPHQL_ENABLED is set.
By doing this, we don't have to share the port at the same time, but share the port depends on the category being tested.

@jangko
Copy link
Contributor Author

jangko commented May 17, 2021

closing, not relevant anymore

@jangko jangko closed this as completed May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants