Skip to content

Commit

Permalink
HA-426 - Datahub - Make glossary node to use for Data Categories conf…
Browse files Browse the repository at this point in the history
…igurable (#5734)
  • Loading branch information
andres-torres-marroquin authored Feb 5, 2025
1 parent deef26b commit a42c0ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Changes can also be flagged with a GitHub label for tracking purposes. The URL o

### Changed
- Added frequency field to DataHubSchema integration config [#5716](https://github.com/ethyca/fides/pull/5716)
- Added glossary_node field to DataHubSchema integration config [#5734](https://github.com/ethyca/fides/pull/5734)
- Added initial support for upcoming "headless" CMP experience type [#5731](https://github.com/ethyca/fides/pull/5731)

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ class DatahubSchema(ConnectionConfigSecretsSchema):
description="The frequency at which the integration should run. Defaults to daily.",
default=PeriodicIntegrationFrequency.daily,
)
glossary_node: str = Field(
title="Glossary Node",
description="The glossary node name to use on Datahub for Fides Data Categories. Defaults to FidesDataCategories",
default="FidesDataCategories",
)

_required_components: ClassVar[List[str]] = ["datahub_server_url", "datahub_token"]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2036,6 +2036,7 @@ def test_put_datahub_connection_config_secrets(
"datahub_server_url": "https://datahub.example.com",
"datahub_token": "test",
"frequency": "weekly",
"glossary_node": "FidesDataCategories",
}
assert datahub_connection_config_no_secrets.last_test_timestamp is None
assert datahub_connection_config_no_secrets.last_test_succeeded is None
Expand Down Expand Up @@ -2072,6 +2073,7 @@ def test_put_datahub_connection_config_secrets_default_frequency(
"datahub_server_url": "https://datahub.example.com",
"datahub_token": "test",
"frequency": "daily",
"glossary_node": "FidesDataCategories",
}
assert datahub_connection_config_no_secrets.last_test_timestamp is None
assert datahub_connection_config_no_secrets.last_test_succeeded is None
Expand Down

0 comments on commit a42c0ff

Please sign in to comment.