mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
a9ab4bc418
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8313 GitOrigin-RevId: 34fc399b46ed09c2e4f6288811870ec00ad05753
104 lines
2.7 KiB
JSON
104 lines
2.7 KiB
JSON
{
|
|
"resource_version": 5,
|
|
"metadata": {
|
|
"version": 3,
|
|
"sources": [
|
|
{
|
|
"name": "bigquery",
|
|
"kind": "bigquery",
|
|
"tables": [],
|
|
"configuration": {
|
|
"datasets": ["horses"],
|
|
"global_select_limit": "1000.0",
|
|
"project_id": "regency-polecat-beehive",
|
|
"service_account": {
|
|
"client_email": "bigquery-testing@regency-polecat-beehive.iam.gserviceaccount.com",
|
|
"private_key": "",
|
|
"project_id": "regency-polecat-beehive"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "mysql",
|
|
"kind": "mysqlgdc",
|
|
"tables": [],
|
|
"configuration": {
|
|
"template": null,
|
|
"timeout": null,
|
|
"value": {
|
|
"jdbc_url": "jdbc:mysql://mysql:3306/Chinook?allowMultiQueries=true&user=root&password=pass"
|
|
}
|
|
},
|
|
"customization": {
|
|
"root_fields": {
|
|
"namespace": "mysql"
|
|
},
|
|
"type_names": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "postgres",
|
|
"kind": "postgres",
|
|
"tables": [],
|
|
"configuration": {
|
|
"connection_info": {
|
|
"database_url": "postgres://postgres:pass@postgres:5432/chinook",
|
|
"isolation_level": "read-committed",
|
|
"use_prepared_statements": false
|
|
}
|
|
},
|
|
"customization": {
|
|
"root_fields": {
|
|
"namespace": "postgres"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "sqlite",
|
|
"kind": "sqlite",
|
|
"tables": [],
|
|
"configuration": {
|
|
"template": null,
|
|
"timeout": null,
|
|
"value": {
|
|
"db": "/sqlite.db",
|
|
"explicit_main_schema": false,
|
|
"include_sqlite_meta_tables": false
|
|
}
|
|
},
|
|
"customization": {
|
|
"root_fields": {
|
|
"namespace": "sqlite"
|
|
},
|
|
"type_names": {}
|
|
}
|
|
},
|
|
{
|
|
"name": "mssql",
|
|
"kind": "mssql",
|
|
"tables": [],
|
|
"configuration": {
|
|
"connection_info": {
|
|
"connection_string": "Driver={ODBC Driver 18 for SQL Server};Server=mssql,1433;Database=Chinook;UID=sa;PWD=Password!;Encrypt=yes;TrustServerCertificate=yes;ConnectionTimeout=30;",
|
|
"pool_settings": {
|
|
"idle_timeout": 5,
|
|
"max_connections": null,
|
|
"total_max_connections": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"backend_configs": {
|
|
"dataconnector": {
|
|
"mysqlgdc": {
|
|
"uri": "http://data-connector-agent:8081/api/v1/mysql"
|
|
},
|
|
"sqlite": {
|
|
"uri": "http://sqlite:8100"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|