mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18:05 +00:00
fix: exporter databricksConnection file
This commit is contained in:
parent
f15ec10444
commit
64daf39163
@ -40,11 +40,23 @@
|
||||
"description": "Host and port of the Databricks service.",
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"title": "Token",
|
||||
"description": "Generated Token to connect to Databricks.",
|
||||
"type": "string",
|
||||
"format": "password"
|
||||
"authType": {
|
||||
"title": "Authentication Type",
|
||||
"description": "Choose between different authentication types for Databricks.",
|
||||
"oneOf": [
|
||||
{
|
||||
"title": "Personal Access Token",
|
||||
"$ref": "../../../../services/connections/database/databricks/personalAccessToken.json"
|
||||
},
|
||||
{
|
||||
"title": "Databricks OAuth",
|
||||
"$ref": "../../../../services/connections/database/databricks/databricksOAuth.json"
|
||||
},
|
||||
{
|
||||
"title": "Azure AD Setup",
|
||||
"$ref": "../../../../services/connections/database/databricks/azureAdSetup.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"httpPath": {
|
||||
"title": "Http Path",
|
||||
@ -79,7 +91,7 @@
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"hostPort",
|
||||
"token",
|
||||
"authType",
|
||||
"httpPath"
|
||||
]
|
||||
}
|
||||
@ -106,6 +106,10 @@ export interface Connection {
|
||||
* Snowflake warehouse.
|
||||
*/
|
||||
warehouse?: string;
|
||||
/**
|
||||
* Choose between different authentication types for Databricks.
|
||||
*/
|
||||
authType?: AuthenticationType;
|
||||
/**
|
||||
* Catalog of the data source(Example: hive_metastore). This is optional parameter, if you
|
||||
* would like to restrict the metadata reading to a single catalog. When left blank,
|
||||
@ -132,10 +136,47 @@ export interface Connection {
|
||||
* Databricks compute resources URL.
|
||||
*/
|
||||
httpPath?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Choose between different authentication types for Databricks.
|
||||
*
|
||||
* Personal Access Token authentication for Databricks.
|
||||
*
|
||||
* OAuth2 Machine-to-Machine authentication using Service Principal credentials for
|
||||
* Databricks.
|
||||
*
|
||||
* Azure Active Directory authentication for Azure Databricks workspaces using Service
|
||||
* Principal.
|
||||
*/
|
||||
export interface AuthenticationType {
|
||||
/**
|
||||
* Generated Token to connect to Databricks.
|
||||
* Generated Personal Access Token for Databricks workspace authentication. This token is
|
||||
* created from User Settings -> Developer -> Access Tokens in your Databricks workspace.
|
||||
*/
|
||||
token?: string;
|
||||
/**
|
||||
* Service Principal Application ID created in your Databricks Account Console for OAuth
|
||||
* Machine-to-Machine authentication.
|
||||
*/
|
||||
clientId?: string;
|
||||
/**
|
||||
* OAuth Secret generated for the Service Principal in Databricks Account Console. Used for
|
||||
* secure OAuth2 authentication.
|
||||
*/
|
||||
clientSecret?: string;
|
||||
/**
|
||||
* Azure Service Principal Application (client) ID registered in your Azure Active Directory.
|
||||
*/
|
||||
azureClientId?: string;
|
||||
/**
|
||||
* Azure Service Principal client secret created in Azure AD for authentication.
|
||||
*/
|
||||
azureClientSecret?: string;
|
||||
/**
|
||||
* Azure Active Directory Tenant ID where your Service Principal is registered.
|
||||
*/
|
||||
azureTenantId?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -14,6 +14,10 @@
|
||||
* Databricks Connection Config
|
||||
*/
|
||||
export interface DatabricksConnection {
|
||||
/**
|
||||
* Choose between different authentication types for Databricks.
|
||||
*/
|
||||
authType: AuthenticationType;
|
||||
/**
|
||||
* Catalog of the data source(Example: hive_metastore). This is optional parameter, if you
|
||||
* would like to restrict the metadata reading to a single catalog. When left blank,
|
||||
@ -46,16 +50,53 @@ export interface DatabricksConnection {
|
||||
* SQLAlchemy driver scheme options.
|
||||
*/
|
||||
scheme?: DatabricksScheme;
|
||||
/**
|
||||
* Generated Token to connect to Databricks.
|
||||
*/
|
||||
token: string;
|
||||
/**
|
||||
* Service Type
|
||||
*/
|
||||
type?: DatabricksType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Choose between different authentication types for Databricks.
|
||||
*
|
||||
* Personal Access Token authentication for Databricks.
|
||||
*
|
||||
* OAuth2 Machine-to-Machine authentication using Service Principal credentials for
|
||||
* Databricks.
|
||||
*
|
||||
* Azure Active Directory authentication for Azure Databricks workspaces using Service
|
||||
* Principal.
|
||||
*/
|
||||
export interface AuthenticationType {
|
||||
/**
|
||||
* Generated Personal Access Token for Databricks workspace authentication. This token is
|
||||
* created from User Settings -> Developer -> Access Tokens in your Databricks workspace.
|
||||
*/
|
||||
token?: string;
|
||||
/**
|
||||
* Service Principal Application ID created in your Databricks Account Console for OAuth
|
||||
* Machine-to-Machine authentication.
|
||||
*/
|
||||
clientId?: string;
|
||||
/**
|
||||
* OAuth Secret generated for the Service Principal in Databricks Account Console. Used for
|
||||
* secure OAuth2 authentication.
|
||||
*/
|
||||
clientSecret?: string;
|
||||
/**
|
||||
* Azure Service Principal Application (client) ID registered in your Azure Active Directory.
|
||||
*/
|
||||
azureClientId?: string;
|
||||
/**
|
||||
* Azure Service Principal client secret created in Azure AD for authentication.
|
||||
*/
|
||||
azureClientSecret?: string;
|
||||
/**
|
||||
* Azure Active Directory Tenant ID where your Service Principal is registered.
|
||||
*/
|
||||
azureTenantId?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* SQLAlchemy driver scheme options.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user