ministryofjustice / find-moj-data

Find MOJ data service • This repository is defined and managed in Terraform
MIT License
5 stars 0 forks source link

Code changes from new metadata spec: back end #404

Closed seanprivett closed 1 month ago

seanprivett commented 2 months ago

See https://docs.google.com/spreadsheets/d/1O1EjO96lyqDbyuzFWU8SNBky3b7tKM8dccZVS7-_t9g/edit#gid=1846443805

and the previous spike https://github.com/ministryofjustice/find-moj-data/issues/363

Purpose

We are adding new custom properties to Datahub that will come from DBT metadata. These will be used render the contact/where to access panel on the details page.

field name description example
dc_slack_channel_name The name of a slack channel to be used as a contact point for users of the catalogue service, including the leading '#'. Note: this is not the same as the owner channel for notifications. #data-engineering
dc_slack_channel_url The URL to the slack channel https://moj.enterprise.slack.com/archives/C8X3PP1TN
dc_where_to_access_dataset An enum representing how the data can be accessed by end users. For DBT, this always defaults to AnalyticalPlatform. AnalyticalPlatform

Required changes

tom-webber commented 1 month ago

Ensure the metadata documentation page renders correctly

The Field in the metadata should reflect the name of the field when snake case, but currently capitalises with spaces