ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Zang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-19701) Provide minimal call context from UI when making stack advisor calls
Date Wed, 25 Jan 2017 03:07:26 GMT
Richard Zang created AMBARI-19701:
-------------------------------------

             Summary: Provide minimal call context from UI when making stack advisor calls
                 Key: AMBARI-19701
                 URL: https://issues.apache.org/jira/browse/AMBARI-19701
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.5.0
            Reporter: Richard Zang
            Assignee: Richard Zang
             Fix For: 2.5.0


We need to identify if call is made when
* Cluster is being created (first call)
* Add service
* Just landing on a page and only need config attributes

Possible change to the json data send in POST - 
{code}
{
"recommend":"configurations",
 "user-context" : { "operation" : "ClusterCreate" } <== add this
"hosts"....
{code}

*Cluster create (first call):*
{code}"user-context": {"operation" : "ClusterCreate"}{code}
*Add service (first call):*
{code}"user-context": {"operation" : "AddService", "operation_details" : "HDFS,YARN"}{code}
*Landing on a config page:*
{code}"user-context": {"operation" : "RecommendAttribute"}{code}
*Config edit on a config page: (lower priority)*
{code}"user-context": {"operation" : "EditConfig"}{code}



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

Mime
View raw message