2022-09-26 13:05:20 +00:00
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/manifest.schema.json",
|
|
|
|
|
"title": "ClickHouse datasource",
|
|
|
|
|
"description": "A schema defining Clickhouse datasource",
|
|
|
|
|
"type": "database",
|
|
|
|
|
"source": {
|
|
|
|
|
"name": "ClickHouse",
|
|
|
|
|
"kind": "clickhouse",
|
|
|
|
|
"exposedVariables": {
|
|
|
|
|
"isLoading": false,
|
|
|
|
|
"data": {},
|
|
|
|
|
"rawData": {}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"options": {
|
|
|
|
|
"username": { "type": "string" },
|
|
|
|
|
"host": { "type": "string" },
|
|
|
|
|
"password": { "type": "string", "encrypted": true },
|
|
|
|
|
"port": { "type": "string" },
|
|
|
|
|
"database": { "type": "string" },
|
|
|
|
|
"protocol": { "type": "string" }
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"properties": {
|
|
|
|
|
"username": {
|
|
|
|
|
"label": "Username",
|
|
|
|
|
"key": "username",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"description": "Enter username"
|
|
|
|
|
},
|
|
|
|
|
"password": {
|
|
|
|
|
"label": "Password",
|
|
|
|
|
"key": "password",
|
|
|
|
|
"type": "password",
|
|
|
|
|
"description": "Enter password"
|
|
|
|
|
},
|
|
|
|
|
"host": {
|
|
|
|
|
"label": "Host",
|
|
|
|
|
"key": "host",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"description": "localhost"
|
|
|
|
|
},
|
|
|
|
|
"port": {
|
|
|
|
|
"label": "Port",
|
|
|
|
|
"key": "port",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"description": "8123"
|
|
|
|
|
},
|
|
|
|
|
"database": {
|
2025-10-22 08:29:18 +00:00
|
|
|
"label": "Database name",
|
2022-09-26 13:05:20 +00:00
|
|
|
"key": "database",
|
|
|
|
|
"type": "text",
|
|
|
|
|
"description": "database name"
|
|
|
|
|
},
|
|
|
|
|
"protocol": {
|
|
|
|
|
"label": "Protocol",
|
|
|
|
|
"key": "protocol",
|
|
|
|
|
"type": "dropdown",
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"name": "HTTP",
|
|
|
|
|
"value": "http"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "HTTPS",
|
|
|
|
|
"value": "https"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"description": "Enter protocol"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": ["port", "host", "protocol"]
|
|
|
|
|
}
|