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

Add visibility attribute into SCRIPT params

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      As discussed...Need an attribute "visibility" that can optionally be included in SCRIPT params.

      1) If omitted, the param is shown in the UI
      2) If set "visibility":"hidden", the param is hidden in the UI
      3) If set "visibility":"readonly", the param is shown in the UI but not edtiable

      "parameters": [
      {
      "name": "connection.timeout",
      "display_name": "Connection Timeout",
      "value": 5.0,
      "type": "NUMERIC",
      "description": "The maximum time before this alert is considered to be CRITICAL",
      "units": "seconds",
      "threshold": "CRITICAL"
      },
      

      Attachments

        1. AMBARI-15666.patch
          31 kB
          Dmitry Lysnichenko
        2. AMBARI-15666.patch
          30 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: