You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2014/07/01 23:57:24 UTC

[jira] [Commented] (AMBARI-6347) Views : Admin - Update User Resources

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

Mahadev konar commented on AMBARI-6347:
---------------------------------------

+1 for the patch. 

> Views : Admin - Update User Resources
> -------------------------------------
>
>                 Key: AMBARI-6347
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6347
>             Project: Ambari
>          Issue Type: Task
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-6347.patch
>
>
> Update service/resource, resource provider and db tables/entities for User resources.
> API support
> {code}
> POST
> /api/v1/users/Joe
> {code}
> {code}
> DELETE
> /api/v1/users/Joe
> {code}
> {code}
> GET
> /api/v1/users/admin
> Response
>  {
>   "href":"http://<server>:8080/api/v1/users/admin",
>   "Users":{
>      … 
>     "user_name":"admin"
>   }
> }
> {code}
> {code}
> GET
> /api/v1/users
> Response
> {
>   "href" : "http://server:8080/api/v1/users/",
>   "items" : [
>     {
>       "href" : "http://server:8080/api/v1/users/admin",
>       "Users" : {
>         "user_name" : "admin"
>       }
>     },
>     {
>       "href" : "http://server:8080/api/v1/users/Joe",
>       "Users" : {
>         "user_name" : "Joe"
>       }
>     }
>   ]
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)