open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.26k stars 994 forks source link

windows fails to read the configuration file #17986

Open lookingGordo opened 2 days ago

lookingGordo commented 2 days ago

Affected module Does it impact the UI, backend or Ingestion Framework? backend

Describe the bug windows environment repository.getEntitiesFromSeedData(".*json/data/metadataService/OpenmetadataService.json$"); could not get the value. but repository.getEntitiesFromSeedData(".*OpenmetadataService.json$") can.

To Reproduce Screenshots or steps to reproduce

The following are two ways to get objects. The environment build fails when the object cannot be obtained. image

image

Expected behavior Support for reading configuration files in windows environment is expected。

Version:

Additional context Add any other context about the problem here.

lookingGordo commented 2 days ago

There's another way, but I think windows is supported by default. image