Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RANGER-4978: Synchronize Tags From Open Metadata Table Entities #544

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

darshanik
Copy link

What changes were proposed in this pull request?

  • This PR details the extension of tagsync to extract the tagged table entities from openmetadata and sync to ranger.

  • Created new package openmetadatarest under tagsync source.

  • Developed following class files under openmetadatarest package:

1. OpenmetadataRESTTagSource.java
2. RangerOpenmetadataEntity.java
3. RangerOpenmetadataEntityWithTags.java
4. OpenmetadataTableMapper.java
5. OpenmetadataResourceMapper.java
6. OpenmetadataResourceMapperUtil.java
7. OpenmetadataMappingHelper.java

  • Added openmetadata properties for openmetadata and get methods in TagSyncConfig.java
  • Added openmetadata properties in "installprop2xml.properties"
  • Added openmetadata properties in ranger-tagsync-template.xml
  • Added openmetadata properties in ranger-tagsync-site.xml
  • Added dependencies of Openmetadata java client and openmetadata spec in tag sync pom xml
  • Added openmetadata version in project's root pom.xml file

How was this patch tested?

This feature tested through unit tests and a practical simulation of a scenario involving tag synchronization from openmetadata into ranger.

More details can be found in the pdf document attached to this PR.

The document details all the class files, provides a code walkthrough and test results to reinforce the PR

Apache_Ranger_Tagsync_And_Openmetadata_Synchronization.pdf
Unit_Test_Successful_For_Openmetadata_Ranger_Table_Mapper

@darshanik darshanik changed the title RANGER_4978: Synchronize Tags From Open Metadata Table Entities RANGER-4978: Synchronize Tags From Open Metadata Table Entities Mar 16, 2025
@darshanik
Copy link
Author

Hi @kumaab @mneethiraj, just want to check if I can contribute this PR?

Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant