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

GraphQL: Add http port field to server graphql type #622

Closed
RunsFor opened this issue Mar 3, 2020 · 3 comments · Fixed by #1598
Closed

GraphQL: Add http port field to server graphql type #622

RunsFor opened this issue Mar 3, 2020 · 3 comments · Fixed by #1598
Labels
cartridge feature A new functionality teamS Scaling

Comments

@RunsFor
Copy link
Contributor

RunsFor commented Mar 3, 2020

Following graphql query let me know binary port of each instance in a cluster:

{
  servers {
    boxinfo {
      general {
        listen
        # http_port # needed
      }
    }
  }
}

Each instance may have slightly different graphql API, so I want to query a particular instance. For this I need to be able to get its http port used to handle graphql requests

@knazarov
Copy link
Contributor

knazarov commented Mar 3, 2020

i suggest to add this as part of cluster information API (not in boxinfo)

@rosik
Copy link
Contributor

rosik commented Mar 20, 2020

I've thought about it for a while. We can add it to boxinfo, but it's almost useless there: boxinfo is only displayed (and queried) within server details dialog. But we can't query it as part of cluster information, because it's not available without RPC. Whe will try to resolve this issue in context of #660 later.

@rosik
Copy link
Contributor

rosik commented Apr 27, 2020

As a quick workaround I can offer to add it in boxinfo (with all its inconveniences). It's better then nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cartridge feature A new functionality teamS Scaling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants