Test a Databricks connection
Learn more about the endpoint used to test a Databricks connection for Reltio Zero Copy Interaction Integration from Databricks.
200 OK for both successful and unsuccessful tests, so use the connected field in the response body to determine the actual result.HTTP method and endpoint
POST {platformUrl}/reltio/api/tenants/{tenantId}/interactions/database-configs/{connectionName}/test| Parameter | Type | Required | Description |
|---|---|---|---|
tenantId | String | Yes | Unique identifier of the tenant where the Databricks connection is defined. Example: ce5627DYnQ6abcD |
connectionName | String | Yes | Name of the existing Databricks connection configuration that you want to test. |
Request headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer <access_token> | Yes |
Content-Type | application/json | Yes |
Request body
This operation does not require a request body.
Example request
Use the following example to test the Databricks connection configuration.
POST {platformUrl}/reltio/api/tenants/{tenantId}/interactions/database-configs/{connectionName}/test
Response body
| Field | Type | Description |
|---|---|---|
status | String | Overall response status. |
data.connected | Boolean | Indicates whether the Databricks connection test succeeded. |
data.databaseType | String | Database type of the tested connection. |
data.message | String | Result message returned by the connection test API. |
Example response
This operation returns HTTP 200 OK for both successful and unsuccessful tests. Check the data.connected field to determine whether the Databricks connection is valid.
{
"status": "success",
"data": {
"connected": true,
"databaseType": "DATABRICKS",
"message": "Connection successful"
}
}{
"status": "success",
"data": {
"connected": false,
"databaseType": "DATABRICKS",
"message": "Connection failed: Unable to connect to SQL Warehouse"
}
}