mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 21:56:01 +03:00
[GH-ISSUE #1200] How to visualize activate the clodbeaver graphql terminal? #263
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#263
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @miltonchirinos44 on GitHub (Oct 6, 2022).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/1200
Originally assigned to: @devnaumov on GitHub.
I have been finding out how to activate the cloudbeaver graphql terminal, but I have not been successful, it will be possible that you can help me with that data
@miltonchirinos44 commented on GitHub (Oct 6, 2022):
How do I make queries in the graphql console?

I have the following error
error

This GraphQL server doesn’t support tracing. See the following page for instructions:
https://github.com/apollographql/apollo-tracing
Reviewing the documentation

https://github.com/apollographql/apollo-tracing
I have been reviewing the source code of the cloud frontend but I cannot identify the code that corresponds to the graphql queries, could you help me identify the graphql queries or what type of graphql syntax are you using?
@miltonchirinos44 commented on GitHub (Oct 12, 2022):
I have the following error message access denied to view graphql terminal display according to the following detail https://github.com/dbeaver/cloudbeaver/issues/1213,
@devnaumov commented on GitHub (Oct 14, 2022):
@miltonchirinos44 Hi! It looks like you don't have permission to run this query. Try to open the CloudBeaver session first. You can do it by executing
openSession mutation@miltonchirinos44 commented on GitHub (Oct 14, 2022):
@devnaumov Hola,
The steps you take:
develMode: trueto display the graphql terminal as indicated in the following guide https://github.com/dbeaver/cloudbeaver/wiki/Server-API-explorerSecond run cloudbeaver from eclipse java, login with user cba to establish session

Third, run cloudbeaver development mode, I execute the following instruction in the terminal to launch cloudbeaver in development mode

lerna run dev --stream --scope=@cloudbeaver/product-default -- -- --env server=localhost:8978Fourth, I try to run the graphQL terminal with the urls (http://127.0.0.1:8978/api/gql) and (http://127.0.0.1:3100/api/gql), I run a query to list the description of the cloudbeaver roles, which tells me that access to the query is restricted in both cases of the urls as can be seen in the example
first url http://127.0.0.1:8978/api/gql

second url http://127.0.0.1:3100/api/gql

@devnaumov how can I open the Cloudbeaver session and where do I execute the
openSession mutationstatement, or am I making a mistake with the steps mentioned above, or do I need to do some other configuration?@miltonchirinos44 commented on GitHub (Oct 18, 2022):
I still can't find the solution to run the GRAPHQL terminal, where I run the command
openSession mutation@miltonchirinos44 commented on GitHub (Nov 3, 2022):
So far I have no news of this problem, where I run the
openSession mutationcommand@devnaumov commented on GitHub (Nov 9, 2022):
@miltonchirinos44 Hi there! Could you please try to login into the CloudBeaver via UI and then open the GraphQL console in a separate tab and run
listRolesquery?@miltonchirinos44 commented on GitHub (Nov 10, 2022):
@devnaumov I tell you to first log in to cloudbeaver through the following url

http://localhost:3100and then in a separate tab start the graphql terminal through the following urlhttp://localhost:3100 /api/gqlIs the url
http://localhost:3100/api/gqlcorrect when placed in the graphql playground terminal?I tell you that I tried to look for the


listRolesquery in the documentation generated by the query terminal and it seems that it no longer existsso I make a new query with

activeUserto display the current active user but this time it tells me the user with a value of nullcloudbeaver login and graphql query

Could you help me with this error, or what am I doing wrong? I don't understand why the
listRolesquery no longer shows meNote: I am working with:
los ejemplo se realizaron ejecutando cloudbeaver desde modo de desarrollo de cloudbeaver
http://localhost:3100@miltonchirinos44 commented on GitHub (Nov 17, 2022):
I still have no solution how can I enter the graphql terminal and manage the queries
Please help me with this problem, I have reviewed the code and I was trying to find some information that allows me to enter the graphql terminal
@miltonchirinos44 commented on GitHub (Nov 24, 2022):
??
@devnaumov commented on GitHub (Dec 5, 2022):
@miltonchirinos44 Lets make sure that you are running CloudBeaver in dev mode. To do so please check that


serverConfigquery returns the object that contains developmentMode field with the value oftrue.Then login as a "cbadmin", open the separate tab and go to the
http://localhost:3100/api/gql/consoleand paste the following queryquery test { activeUser { authRole displayName } }Also try to disable chrome extension for the graphql console.
@kseniaguzeeva commented on GitHub (Dec 8, 2022):
Feel free to contact me to reopen the ticket if a problem with activating the terminal still exists.