Files
cloudbeaver/server/test/io.cloudbeaver.test.platform/workspace/gql_scripts/createConnection.json
T
Ainur 5d6dc215c4 CB-1912 gql connection tests (#914)
* CB-1912 gql api test

* CB-1912 add create, delete connection gql tests

* CB-1912 cb test reformatting

* CB-1912 cb test reformatting
2022-06-22 12:32:44 +03:00

21 lines
607 B
JSON

{
"query": "\n mutation createConnection($config: ConnectionConfig!) {\n createConnection(config: $config) {\n id\n }\n} ",
"variables": {
"config": {
"name": "PostgreSQL@localhost (1)",
"driverId": "postgresql:postgres-jdbc",
"host": "localhost",
"port": "5432",
"databaseName": "postgres",
"authModelId": "native",
"saveCredentials": true,
"credentials": {
"userName": "postgres",
"userPassword": "postgres"
},
"providerProperties": {},
"properties": {}
}
},
"operationName": "createConnection"
}