Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Nov 26, 2024
1 parent 015a9a9 commit 376c2e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,9 @@ docker run \
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ACCOUNT_CLIENTSECRET` | | The client secret of a an account service principal with Account admin role. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ACCESSMANAGEMENT_AGENTID` | `databricks-access-management` | Identifier for the Databricks access management agent. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ACCESSMANAGEMENT_ENABLED` | `true` | Indicates whether Databricks access management is enabled. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ACCESSMANAGEMENT_MAPPING_DATAPRODUCT_CUSTOMFIELD` | `databricksServicePrincipal` | Custom field mapping for Databricks service principals in data products. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ACCESSMANAGEMENT_MAPPING_TEAM_CUSTOMFIELD` | `databricksServicePrincipal` | Custom field mapping for Databricks service principals in teams. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ASSETS_AGENTID` | `databricks-assets` | Identifier for the Databricks assets agent. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ASSETS_ENABLED` | `true` | Indicates whether Databricks asset tracking is enabled. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ASSETS_POLLINTERVAL` | `PT10M` | Polling interval for Databricks asset updates, in ISO 8601 duration format. |
| `DATAMESHMANAGER_CLIENT_DATABRICKS_ASSETS_TABLES_INCLUDE` | `*` | List of included tables for Databricks asset tracking (wildcard `*` includes all tables). |


## Access Management Flow
Expand Down
13 changes: 2 additions & 11 deletions src/main/java/datameshmanager/databricks/DatabricksProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,9 @@ public record AssetsProperties(

public record AccessmanagementProperties(
Boolean enabled,
String agentid,
AccessmanagementMappingProperties mapping
) {
public record AccessmanagementMappingProperties(
AccessmanagementMappingCustomfieldProperties dataproduct,
AccessmanagementMappingCustomfieldProperties team
) {
public record AccessmanagementMappingCustomfieldProperties(
String customfield
String agentid
) {
}
}

}


Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ datameshmanager.client.databricks.account.client-secret=your-account-service-pri

datameshmanager.client.databricks.accessmanagement.agentid=databricks-access-management
datameshmanager.client.databricks.accessmanagement.enabled=true
datameshmanager.client.databricks.accessmanagement.mapping.dataproduct.customfield=databricksServicePrincipal
datameshmanager.client.databricks.accessmanagement.mapping.team.customfield=databricksServicePrincipal

datameshmanager.client.databricks.assets.agentid=databricks-assets
datameshmanager.client.databricks.assets.enabled=true
Expand Down

0 comments on commit 376c2e5

Please sign in to comment.