DM

Updated at:

Property definition

  • Data source type: dm

  • Supported configuration mode (ConnectionPropertiesMode): Connection string mode (UrlMode)

Connection string mode

Parameter Type Required Description
address JSON array Yes The host and port of the DM database. Specify a single host-port pair in JSON array format. Example: [{"host": "127.0.0.1", "port": 3306}]
username String Yes The database username.
password String Yes The database password.
properties JSON object No Additional driver properties. Example: {"schema": "db1"}
envType String Yes The environment type of the data source. Valid values: Dev (development environment), Prod (production environment).

Configuration examples

Connection string mode

{
    "address": [
        {
            "host": "127.0.0.1",
            "port": 5432
        }
    ],
    "properties": {
        "schema": "db1"
    },
    "username": "xxxxx",
    "password": "xxxxx",
    "envType": "Dev"
}