ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-6347) Views : Admin - Update User Resources
Date Tue, 01 Jul 2014 21:57:24 GMT

    [ 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)

Mime
View raw message