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

Get roles list without dependencies using the API #1722

Closed
vanyarock01 opened this issue Jan 23, 2022 · 0 comments · Fixed by #1723
Closed

Get roles list without dependencies using the API #1722

vanyarock01 opened this issue Jan 23, 2022 · 0 comments · Fixed by #1723
Assignees

Comments

@vanyarock01
Copy link
Contributor

I have few cartridge roles in my app: router (depends on vshard-router) and storage (depends on vshard-storage).

If I try to get a list of replicasets roles, I get roles with dependencies.

$ curl -i -H 'Content-Type: application/json' -X POST -d '{"query": "query {replicasets { roles }}"}' localhost:8081/admin/api
HTTP/1.1 200 Ok
Content-length: 102
Server: Tarantool http (tarantool v1.10.3-136-gc3c087d)
Content-type: application/json; charset=utf-8
Connection: keep-alive

{"data":{"replicasets":[{"roles":["vshard-router","router"]},{"roles":["vshard-storage","storage"]}]}}

But, I need to get roles without dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants