Darsh Mekapati created RANGER-4978:
--------------------------------------
Summary: Synchronize Tags From Open Metadata Table Entities
Key: RANGER-4978
URL: https://issues.apache.org/jira/browse/RANGER-4978
Project: Ranger
Issue Type: Wish
Components: tagsync
Affects Versions: 2.5.0
Reporter: Darsh Mekapati
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)