gentle-lifeguard-88494
02/18/2023, 4:39 PMorange-night-91387
02/20/2023, 7:22 PMgentle-lifeguard-88494
02/20/2023, 10:03 PMorange-night-91387
02/20/2023, 10:30 PMbut when I copied it into ~/.datahub/plugins/models/Did you do this with the install command?
localhost:8080/config still looks the sameDid you try restarting your local docker container? Also make sure that in your GMS Docker container config you can see:
/ETC/DATAHUB/PLUGINS
/Users/myuser/.datahub/plugins under the mounts in the inspect taborange-night-91387
02/20/2023, 10:31 PMorange-night-91387
02/20/2023, 10:32 PMgentle-lifeguard-88494
02/20/2023, 10:37 PMDid you do this with the install command?No, I can do that though
Did you try restarting your local docker container?Didn't do that either š
Also make sure that in your GMS Docker container config you can see:/ETC/DATAHUB/PLUGINS
Ok, I can do thatunder the mounts in the inspect tab/Users/myuser/.datahub/plugins
If you're following everything from that top level guide, this one should be working, you shouldn't need to maintain a fork. I just tested it out@orange-night-91387 Did you define your entity in the metadata-models-custom folder or did you put it in the entity-registry folder? And did you rebuild datahub from the source folder or just from within the metadata-models-custom folder? I will go ahead and follow your instructions, but answering those questions would also help me understand
orange-night-91387
02/20/2023, 10:39 PMgentle-lifeguard-88494
02/20/2023, 10:40 PMgentle-lifeguard-88494
02/20/2023, 10:40 PMgentle-lifeguard-88494
02/20/2023, 10:57 PMgentle-lifeguard-88494
02/20/2023, 10:57 PMERROR c.l.m.m.r.PluginEntityRegistryLoader:182 - Tried 5 times. Failed to load registry mycompany-dq-model with java.lang.IllegalArgumentException: Error while reading config file in path java.io.FileInputStream@55b67e5c: java.io.CharConversionException: Invalid UTF-8 start byte 0x9b (at char #11, byte #-1)
at [Source: (FileInputStream); line: 1, column: 1]
As well as
Caused by: org.yaml.snakeyaml.error.YAMLException: java.io.CharConversionException: Invalid UTF-8 start byte 0x9b (at char #11, byte #-1)gentle-lifeguard-88494
02/20/2023, 10:58 PMmycompany-dq-model . I can also try it outside of that folder. Here was my install command:
install build/dist/metadata-models-custom-0.0.0-dev.zip ~/.datahub/plugins/models/mycompany-dq-modelgentle-lifeguard-88494
02/20/2023, 10:59 PMgentle-lifeguard-88494
02/20/2023, 11:01 PMid: mycompany-dq-model-am
entities:
- name: dataset
aspects:
- customDataQualityRulesorange-night-91387
02/20/2023, 11:05 PMorange-night-91387
02/20/2023, 11:07 PMorange-night-91387
02/20/2023, 11:10 PMgentle-lifeguard-88494
02/20/2023, 11:10 PMgentle-lifeguard-88494
02/20/2023, 11:20 PMgentle-lifeguard-88494
02/20/2023, 11:21 PMorange-night-91387
02/20/2023, 11:24 PMorange-night-91387
02/20/2023, 11:25 PMgentle-lifeguard-88494
02/20/2023, 11:28 PMAlso make sure to do a clean build and reinstall it along with restarting the docker containerYeah I've been doing that - I will do it one more time to be sure tho
gentle-lifeguard-88494
02/20/2023, 11:29 PMHmm, this happens even with the fully default file?Yeah
What OS are you using?
gentle-lifeguard-88494
02/20/2023, 11:38 PMorange-night-91387
02/20/2023, 11:49 PMgentle-lifeguard-88494
02/21/2023, 1:51 AMgentle-lifeguard-88494
02/21/2023, 4:19 AMgentle-lifeguard-88494
02/21/2023, 5:08 PMgentle-lifeguard-88494
02/21/2023, 11:38 PM./gradlew :metadata-models-custom:installorange-night-91387
02/21/2023, 11:41 PMgentle-lifeguard-88494
02/21/2023, 11:54 PM