-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: databricks token + m2m auth support
Added support for loading and putting databricks datasources using token or m2m auth as well as testing the data source connection. JIRA: LX-691 risk: low
- Loading branch information
1 parent
c4f12ff
commit 95a5ad0
Showing
20 changed files
with
887 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.13.1 | ||
3.12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
gooddata-sdk/tests/catalog/expected/declarative_data_sources_databricks_client_secret.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"dataSources": [ | ||
{ | ||
"id": "demo-test-ds-databricks-client-secret", | ||
"name": "demo-test-ds-databricks-client-secret", | ||
"permissions": [ | ||
{ | ||
"assignee": { | ||
"id": "demo2", | ||
"type": "user" | ||
}, | ||
"name": "MANAGE" | ||
}, | ||
{ | ||
"assignee": { | ||
"id": "demoGroup", | ||
"type": "userGroup" | ||
}, | ||
"name": "USE" | ||
} | ||
], | ||
"schema": "demo", | ||
"type": "DATABRICKS", | ||
"url": "jdbc:databricks://dbc-1234-abc.cloud.databricks.com:443;httpPath=/sql/1.0/warehouses/9876fdsa;", | ||
"clientId": "client-id", | ||
"parameters": [ | ||
{ | ||
"name": "catalog", | ||
"value": "demo" | ||
} | ||
] | ||
} | ||
] | ||
} |
33 changes: 33 additions & 0 deletions
33
gooddata-sdk/tests/catalog/expected/declarative_data_sources_databricks_token.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"dataSources": [ | ||
{ | ||
"id": "demo-test-ds-databricks-token", | ||
"name": "demo-test-ds-databricks-token", | ||
"permissions": [ | ||
{ | ||
"assignee": { | ||
"id": "demo2", | ||
"type": "user" | ||
}, | ||
"name": "MANAGE" | ||
}, | ||
{ | ||
"assignee": { | ||
"id": "demoGroup", | ||
"type": "userGroup" | ||
}, | ||
"name": "USE" | ||
} | ||
], | ||
"schema": "demo", | ||
"type": "DATABRICKS", | ||
"url": "jdbc:databricks://dbc-1234-abc.cloud.databricks.com:443;httpPath=/sql/1.0/warehouses/9876fdsa;", | ||
"parameters": [ | ||
{ | ||
"name": "catalog", | ||
"value": "demo" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.