Hi everyone, Newbie here :slightly_smiling_face: ...
# advice-metadata-modeling
h
Hi everyone, Newbie here 🙂 I am currently evaluating DataHub for a project and as we are planning to use some Custom Entity Types for modeling project-specific relationships I was reading https://datahubproject.io/docs/metadata-modeling/extending-the-metadata-model , which left me a little confused... I tried to use the diagram to check if we need to fork the complete DataHub project and it tells me, that we would need to fork if we want do define a new entity. But in the example below a new Entity type is defined (Dashboard) and in Step 4 it shows two separate options to add the new Entity type to the metamodel, either by forking the complete DataHub project or by using the "metadata-model-custom repo"-approach. The "metadata-model-custom"-docs also seem to suggest that it is possible to add new entity types without forking... ("entities: A list of entities with aspects attached to them that you are creating additional aspects for *as well as any new entities you wish to define.*") So, would I be able to add new entity types (and their aspects) using only the "metadata-model-custom repo"-approach or would I have to fork to achieve this? Thanks very much in advance, and have a great weekend, everyone!
a
It depends on what the entity touches and what your intending to do with it, but generally both approaches should be valid. However, if you want to change the UI you’re likely going to have to fork
h
Thanks very much for your reply! For this project, we are actually planning to implement a completely custom UI that communicates with the DataHub data catalogue using the API(s). So as long as we can access and use the custom types via the API(s) changing the default DataHub UI won't be necessary. I tried the eample from https://datahubproject.io/docs/metadata-models-custom/ yesterday, but while it seemed to succeed without any errors, the example model did not show up when I tried to
Copy code
curl -s <http://localhost:8080/config> | jq .
at the end of the tutorial. >I will have to look into that. Maybe there is some extra step because I activated metadata service authentification... Thanks very much again!
a
Make sure you rebuild the project after making changes- there’s a few guides here https://datahubproject.io/docs/developers