Srimanth Gunturi created AMBARI-7625:
----------------------------------------

             Summary: 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


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)

Reply via email to