GoogleCloudPlatform / datacatalog-connectors-bi

Sample code with integration between Data Catalog and BI data sources.
Apache License 2.0
32 stars 16 forks source link

Add the parent folder name to the Folder tags #86

Closed ricardolsmendes closed 3 years ago

ricardolsmendes commented 3 years ago

- What I did Added the parent folder name to the Folder tags.

- How I did it

  1. Removed the name field from the Folder tags (it was redundant as their entry name is fulfilled with the same value).
  2. Added the parent_name field to the Folder tags, providing users with more friendly metadata.
  3. Update MetadataSynchronizer.__scrape_folders() in order to handle the changes in the tags.
  4. Updated the unit tests.

- How to verify it Run the unit tests and, if possible, the connector in an integrated environment to check the results (this is a breaking change, so the cleanup script must be executed before running the present code).

- Description for the changelog Added the parent folder name to the Folder tags.

PS: This PR is part of the effort to implement #70.