[ 
https://issues.apache.org/jira/browse/RANGER-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305040#comment-14305040
 ] 

Hanish Bansal commented on RANGER-231:
--------------------------------------

As discussed with [~bganesan], there is some issue due to which I am not able 
to see 'Edit button'. I am putting the changes required in wiki here.

Below changes are required in "Update Policy" section of wiki page:

{quote}
1. Add below attributes in HDFS example:

"repositoryName": "hadoopdev",
"repositoryType": "hdfs"

2. Add below attributes in HBASE example:

"repositoryName": "hbasedev",
"repositoryType": "hbase"

3. Add below attributes in HIVE example:

"repositoryName": "hivedev",
"repositoryType": "hive"
4. Remove version attribute from HIVE example as it is not required:

 "version": "0.1.0"

5. Remove version attribute from KNOX example as it is not required:

 "version": "0.1.0"
{quote}

> Wiki Documentation of Update policy
> -----------------------------------
>
>                 Key: RANGER-231
>                 URL: https://issues.apache.org/jira/browse/RANGER-231
>             Project: Ranger
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Hanish Bansal
>            Priority: Minor
>         Attachments: Screen Shot 2015-02-02 at 4.54.53 pm.png
>
>
> Referring to the wiki documentation of public rest api to update the policy 
> (Request URL: service/api/public/policy ), it is giving 400 bad request 
> error. 
> To make it work properly: repositoryName, repositoryType, id parameters are 
> also required as request parameters. 
> Documentation need to be updated accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to