[ https://issues.apache.org/jira/browse/AMBARI-19701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15838348#comment-15838348 ]
Yusaku Sako commented on AMBARI-19701: -------------------------------------- The new trunk patch applies fine and unit tests pass. +1'd on ReviewBoard. Committed to trunk. > 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 > > Attachments: AMBARI-19701_trunk.patch > > > 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)