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)