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

2015-12-07 Thread Sachin Janani
Thanks Madhan that worked. Is there any documentation available for this new apis. Thanks and Regards, Sachin Janani From: Madhan Neethiraj [mailto:mneethi...@hortonworks.com] On Behalf Of Madhan Neethiraj Sent: Monday, December 07, 2015 2:03 PM To: user@ranger.incubator.apache.org Subject:

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

2015-12-07 Thread Madhan Neethiraj
Sachin, Currently, REST API documentation exists only for 0.4 version of Ranger. Documentation for later versions will be added as soon as possible. In the meantime, please refer to PublicAPIsv2.java for API details. If you have any questions on using the API, please send to this mailing list.

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