Re: Ranger public Rest APIs not working for Policies for custom plugin

2015-12-07 Thread Madhan Neethiraj
015 2:03 PM To: user@ranger.incubator.apache.org Subject: Re: Ranger public Rest APIs not working for Policies for custom plugin Sachin, REST APIs at service/public/api/policy work for Ranger-0.4 policies. To work with Ranger-0.5 policies (and later), please use REST APIs at service/public/v2/

RE: Ranger public Rest APIs not working for Policies for custom plugin

2015-12-07 Thread Sachin Janani
: Ranger public Rest APIs not working for Policies for custom plugin Sachin, REST APIs at service/public/api/policy work for Ranger-0.4 policie<https://github.com/apache/incubator-ranger/blob/master/security-admin/src/main/java/org/apache/ranger/view/VXPolicy.java>s<https://github.c

Re: Ranger public Rest APIs not working for Policies for custom plugin

2015-12-07 Thread Madhan Neethiraj
uot; Date: Sunday, December 6, 2015 at 11:22 PM To: "user@ranger.incubator.apache.org" Subject: Ranger public Rest APIs not working for Policies for custom plugin Hi, I have created one custom plugin for a service in Ranger and I am trying to create a policy for that. I am able to

Ranger public Rest APIs not working for Policies for custom plugin

2015-12-06 Thread Sachin Janani
Hi, I have created one custom plugin for a service in Ranger and I am trying to create a policy for that. I am able to create a policy for that plugin from the UI but when I try to create a policy from REST API then it is not getting created. Following is the REST API I am using for creating pol