Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19701

Provide minimal call context from UI when making stack advisor calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-web
    • None

    Description

      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 -

      {
      "recommend":"configurations",
       "user_context" : { "operation" : "ClusterCreate" } <== add this
      "hosts"....
      

      Cluster create (first call):

      "user_context": {"operation" : "ClusterCreate"}

      Add service (first call):

      "user_context": {"operation" : "AddService", "operation_details" : "HDFS,YARN"}

      Landing on a config page:

      "user_context": {"operation" : "RecommendAttribute"}

      Config edit on a config page: (lower priority)

      "user_context": {"operation" : "EditConfig"}

      Attachments

        1. AMBARI-19701-fix1-branch-2.5.patch
          1 kB
          Richard Zang
        2. AMBARI-19701-fix1.patch
          1 kB
          Richard Zang
        3. AMBARI-19701-branch-2.5.patch
          2 kB
          Richard Zang
        4. AMBARI-19701_trunk.patch
          2 kB
          Richard Zang

        Issue Links

          Activity

            People

              rzang Richard Zang
              rzang Richard Zang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: