There is a nice blog written by Bryan Bende  
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53741207

You can also refer to 
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=53741207

There is a sample project by Madhan to bootstrap your plugin. 
https://github.com/apache/ranger/tree/master/ranger-examples/sampleapp

I couldn’t see the ServiceDef in the project, but you could look into one of 
the existing ones. 

At a high level, Apache Ranger expects the native component to publish an 
interface e.g. 
https://github.com/apache/ranger/blob/master/ranger-examples/sampleapp/src/main/java/org/apache/ranger/examples/sampleapp/IAuthorizer.java
 . Once your interface is defined, then it is pretty straight forward. 

If you are stuck, someone will be able to help you out.

All the best…

Bosco



On 10/3/17, 12:50 AM, "Ronny Hidayat" <[email protected]> wrote:

    Hi all,
    
    I want to add new plugin to ranger (glusterfs-agent), so GlusterFS
    appears on Ranger-Admin website.
    How to do that ?
    Do you have any tutorial ?
    
    Thank you.
    


Reply via email to