Skip to content

Commit

Permalink
Update metadata-models-custom README.md (#7400)
Browse files Browse the repository at this point in the history
  • Loading branch information
amartinson193 authored and Hyejin Yoon committed Mar 3, 2023
1 parent fe41fc2 commit 005c86c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions metadata-models-custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,20 @@ The entity registry has a few important fields to pay attention to:

## Build your new model

Change your directory to the metadata-models-custom folder and then run this command

```
../gradlew build
```
This will create a zip file in the build/dist folder. Then change your directory back to the main datahub folder and run
```
./gradlew :metadata-models-custom:install
```
This will install the zip file as a datahub plugin. It is installed at `~/.datahub/plugins/models/` and if you list the directory you should see the following path if you are following the customDataQualityRules implementation example: `~/.datahub/plugins/models/mycompany-dq-model/0.0.0-dev/`
### Build a versioned artifact
```
../gradlew -PprojVersion=0.0.1 build
Expand Down Expand Up @@ -115,6 +125,8 @@ curl -s http://localhost:8080/config | jq .
}
```
Alternatively, you could type in http://localhost:8080/config in your browser.
### Add some metadata with your new model
We have included some sample scripts that you can modify to upload data corresponding to your new data model.
Expand Down

0 comments on commit 005c86c

Please sign in to comment.