MINOR: Add Matillion test connection and schema for pipeline service (#17710)

This commit is contained in:
Ayush Shah 2024-09-10 17:41:28 +05:30 committed by GitHub
parent b142882848
commit 8decd2338f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 100 additions and 1 deletions

View File

@ -0,0 +1,14 @@
{
"name": "Matillion",
"displayName": "Matillion Test Connection",
"description": "This Test Connection validates the access against the server and basic metadata extraction of pipelines.",
"steps": [
{
"name": "CheckAccess",
"description": "Check if the instance is reachable to fetch the pipeline details.",
"errorMessage": "Failed to connect to Matillion, please validate the credentials",
"shortCircuit": true,
"mandatory": true
}
]
}

View File

@ -0,0 +1,78 @@
{
"$id": "https://open-metadata.org/schema/entity/services/connections/pipeline/matillionConnection.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "MatillionConnection",
"description": "Matillion Connection",
"type": "object",
"javaType": "org.openmetadata.schema.services.connections.pipeline.MatillionConnection",
"definitions": {
"matillionType": {
"description": "Service type.",
"type": "string",
"enum": [
"Matillion"
],
"default": "Matillion"
},
"matillionETL": {
"description": "Matillion ETL Auth Config",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"MatillionETL"
],
"default": "MatillionETL"
},
"hostPort": {
"type": "string",
"title": "Host",
"description": "Matillion Host",
"default": "localhost"
},
"username": {
"title": "Username",
"description": "Username to connect to the Matillion. This user should have privileges to read all the metadata in Matillion.",
"type": "string"
},
"password": {
"title": "Password",
"description": "Password to connect to the Matillion.",
"type": "string",
"format": "password"
},
"sslConfig": {
"$ref": "../../../../security/ssl/verifySSLConfig.json#/definitions/sslConfig"
}
},
"required": [
"hostPort",
"username",
"password"
]
}
},
"properties": {
"type": {
"title": "Service Type",
"description": "Service Type",
"$ref": "#/definitions/matillionType",
"default": "Matillion"
},
"connection": {
"title": "Matillion Connection",
"description": "Matillion Auth Configuration",
"oneOf": [
{
"$ref": "#/definitions/matillionETL"
}
]
},
"supportsMetadataExtraction": {
"title": "Supports Metadata Extraction",
"$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
}
},
"additionalProperties": false
}

View File

@ -31,7 +31,8 @@
"Spark",
"OpenLineage",
"KafkaConnect",
"DBTCloud"
"DBTCloud",
"Matillion"
],
"javaEnums": [
{
@ -78,6 +79,9 @@
},
{
"name": "DBTCloud"
},
{
"name": "Matillion"
}
]
},
@ -136,6 +140,9 @@
},
{
"$ref": "./connections/pipeline/dbtCloudConnection.json"
},
{
"$ref": "./connections/pipeline/matillionConnection.json"
}
]
}