ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-10121) Implement 'list' UI control
Date Wed, 18 Mar 2015 16:03:38 GMT
Oleg Nechiporenko created AMBARI-10121:

             Summary: Implement 'list' UI control
                 Key: AMBARI-10121
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.1.0
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
             Fix For: 2.1.0

Some configs should be shown in UI as a 'list' control. These configs are identified in the
service's theme as below
     "configs": [
          "config": "hive-site/hive.exec.orc.default.compress",
          "widget": {
             "type": "list"

Such a config will have a {{value-list}} type value which will have other attributes like
selection cardinality.
  "href" : "http://c6401:8080/api/v1/stacks/HDP/versions/2.2/services/HIVE/configurations/hive.exec.orc.default.compress",
  "StackConfigurations" : {
    "final" : "false",
    "property_description" : "Define the default compression codec for ORC file",
    "property_name" : "hive.exec.orc.default.compress",
    "property_type" : [ ],
    "property_value" : "ZLIB",
    "property_value_attributes": {
        "type": "value-list",
        "entries": ["ZLIB", "SNAPPY"],
        "entry_labels": ["zlib Compression Library", "Snappy Compression Library"],
        "entry_descriptions": ["zlib is a popular …", "Snappy library allows…"],
        "entries_editable": "false",
        "selection_cardinality": "1" // 0+, 1+, etc.
    "service_name" : "HIVE",
    "stack_name" : "HDP",
    "stack_version" : "2.2",
    "type" : "hive-site.xml"

The list should show the display values along with their description when hovered/selected.
Also the ultimate comma-separated-value should be shown as a tooltip on the list. Selecting
entries in order should generate a similar order CSV. So select entries B-A-C should generate
value "B,A,C".

This message was sent by Atlassian JIRA

View raw message