You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/10/03 10:17:34 UTC

[jira] [Resolved] (AMBARI-7625) Slider View: Reduce view parameter count and provide /status API

     [ https://issues.apache.org/jira/browse/AMBARI-7625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srimanth Gunturi resolved AMBARI-7625.
--------------------------------------
    Resolution: Fixed

Committed to trunk.

> Slider View: Reduce view parameter count and provide /status API
> ----------------------------------------------------------------
>
>                 Key: AMBARI-7625
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7625
>             Project: Ambari
>          Issue Type: Task
>          Components: contrib
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7625.patch
>
>
> View parameters should be reduced from 16 to 3 (ambari-URL, ambari-username, ambari-password). Rest of required information should be determined internally by the view.
> {{/api/v1/views/SLIDER/versions/1.0.0/instances/sv1/status}} endpoint should be created with response below:
> {code}
> {
>   "version": "1.0.0",
>   "validation": [
>     {
>       "message": "HDFS server is not installed on cluster",
>       "type": "ERROR"
>     },
>     {
>       "message": "YARN server is not started on cluster",
>       "type": "ERROR"
>     }
>   ],
>   "parameters": {
>     "gangliaHost": "c6401.ambari.apache.org",
>     "gangliaClusters": "App1:8881,App2:8882"
>   }
> }
> {code}
> The {{/status}} endpoint *will have only 2 parameters* - ganglia host, and list of ganglia clusters. 



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