DOCS
Ask or search…
K
Links
Comment on page

Connect a Processing Platform

Pave the way to creating your first Data Policy

Provide additional application configuration

Before you can create and apply your first Data Policy, PACE requires a little bit of additional configuration.
For details on the required configuration for your specific platform, see the corresponding reference pages. Below, we will use Databricks as an example.
During installation, you provided a few database related properties in a Spring Boot application yaml format, either as a file or through Kubernetes configmaps or secrets. To configure a Databricks Workspace as a processing platform, the required additional configuration would look like this:
app:
processing-platforms:
databricks:
- id: "pace-databricks"
workspaceHost: "https://<deployment-name>.cloud.databricks.com/"
accountHost: "https://accounts.cloud.databricks.com"
accountId: "<account-id>"
clientId: "<client-id>"
clientSecret: "<client-secret>"
warehouseId: "<warehouse-id>"
We add the app and processing-platforms properties, as well as a databricks property, which contains a list of databricks configurations (just a single one in this example).
Each platform requires an ID, which is an arbitrary name of your choosing, but unique within your PACE processing platform configuration.

Verify your configuration

To verify your setup, run or restart your PACE instance. Your platform should show up when listed:
CLI
curl
pace list processing-platforms
processing_platforms:
- id: pace-databricks
platform_type: DATABRICKS
curl localhost:9090/processing-platforms
{"processingPlatforms":[{"platformType":"DATABRICKS","id":"pace-databricks"}]}
If your service principal or similar has read access to tables on the platform, they will show up when listed:
CLI
curl
pace list tables --processing-platform pace-databricks
tables:
- main.default.my_default_table
- pace.protected.sample_input
- pace.public.sample_input_with_policy
curl localhost:9090/processing-platforms/dbr-pace/tables
{"tables":["main.default.my_default_table","pace.protected.sample_input","pace.public.sample_input_with_policy"]}
With your first processing platform connection in place, you can go ahead and create your first Data Policy, or connect a Data Catalog first.