DataSourceRequest

Request to add a data source

DatabaseDistributed SQLRead-Write SplittingShardingSQLApacheOpen-Source

Properties

Name Type Description
name string Data source name
url string JDBC connection URL
username string
password string
maxPoolSize integer
View JSON Schema on GitHub

JSON Schema

apache-shardingsphere-data-source-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shardingsphere/refs/heads/main/json-schema/apache-shardingsphere-data-source-request-schema.json",
  "title": "DataSourceRequest",
  "description": "Request to add a data source",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Data source name"
    },
    "url": {
      "type": "string",
      "description": "JDBC connection URL"
    },
    "username": {
      "type": "string"
    },
    "password": {
      "type": "string"
    },
    "maxPoolSize": {
      "type": "integer"
    }
  },
  "required": [
    "name",
    "url",
    "username",
    "password"
  ]
}