[ https://issues.apache.org/jira/browse/RANGER-4978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896941#comment-17896941 ]
Darsh Mekapati edited comment on RANGER-4978 at 11/14/24 5:16 AM: ------------------------------------------------------------------ Hi [~madhan] , hope you are doing good. I'm new to Open-source contribution. Mentioned in the description is my plan of implementation for adding new source (Open Metadata) to synchronize tags. Fork: [darshanik/ranger-openmetadata at openmetadata_tagsync|https://github.com/darshanik/ranger-openmetadata/tree/openmetadata_tagsync] Can you please provide your opinion and feedback if it's possible for me to contribute the above enhancement? I'm also in the process of writing unit test cases. Thanks was (Author: JIRAUSER307624): Hi [~lmccay] , hope you are doing good. Mentioned in the description is my plan of implementation for adding new source (Open Metadata) to synchronize tags. Fork: [darshanik/ranger-openmetadata at openmetadata_tagsync|https://github.com/darshanik/ranger-openmetadata/tree/openmetadata_tagsync] Thanks > Synchronize Tags From Open Metadata Table Entities > -------------------------------------------------- > > Key: RANGER-4978 > URL: https://issues.apache.org/jira/browse/RANGER-4978 > Project: Ranger > Issue Type: New Feature > Components: tagsync > Affects Versions: 2.5.0 > Reporter: Darsh Mekapati > Priority: Minor > Labels: features > Attachments: OpenmetadataRESTTagSource.java, > OpenmetadataTableMapper.java, RangerOpenmetadataEntity.java, > RangerOpenmetadataEntityWithTags.java > > > As an end user of Apache Ranger and its tag synchronizer component > 'tag-sync', develop new classes in tag-sync source to sync tags from Open > Metadata table entities. > To achieve this, create a new directory called "openmetadatarest" under the > following path: "tagsync\src\main\java\org\apache\ranger\tagsync\source\" > Develop the following java classes: > * OpenmetadataRESTTagSource.java -> the main class which is executable and > called from tagsynchronizer.java > * RangerOpenmetadataEntity.java -> creates the entity payload required to > build ranger service resource. > * RangerOpenmetadataEntityWithTags.java -> creates the entity payload with > classifications required to build ranger service resource. > * OpenmetadataResourceMapper.java > * OpenmetadataResourceMapperUtil.java > * OpenmetadataMappingHelper.java -> this class has the required helper > methods to map the entities with tags/classifications > * OpenmetadataTableMapper.java -> builds the ranger service resource and the > mapping of entities to tags > * TagSyncConfig.java -> add new getter and setter methods for Openmetadata > such as host, token, table entity class names, download interval and other > similar properties currently existing for Atlas > * Additionally, add the same property configurations in > installprop2xml.properties and ranger-tagsync-template.xml. > * Finally, develop the test case for: > OpenmetadataRESTTagSource.java, > OpenmetadataTableMapper.java, > So that, the new extended openmetadatarest package can be able to sync tags > from Openmetadata table entities. -- This message was sent by Atlassian Jira (v8.20.10#820010)