ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-10453) Widgets should use increment-step specified in API
Date Tue, 14 Apr 2015 15:28:14 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-10453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Nechiporenko updated AMBARI-10453:
---------------------------------------
    Description:     (was: Configurations will define in their {{property_value_attributes}}
a key called {{increment_step}}. Any widget that has a step functionality (slider, spinner,
etc.) should increment its value only by that step.

API will look like
{code}

{
  "href" : "http://tick-1:8080/api/v1/stacks/HDP/versions/2.2/services/HBASE/configurations/hbase_master_heapsize",
  "StackConfigurations" : {
    "final" : "false",
    "property_depended_by" : [ ],
    "property_depends_on" : [ ],
    "property_description" : "HBase Master Heap Size",
    "property_display_name" : "HBase Master Maximum Memory",
    "property_name" : "hbase_master_heapsize",
    "property_type" : [ ],
    "property_value" : "1024",
    "property_value_attributes" : {
      "type" : "int",
      "maximum" : "16384",
      "minimum" : "1024",
      "increment_step": "256",
      "unit" : "MB",
      "entries" : [ ]
    },
    "service_name" : "HBASE",
    "stack_name" : "HDP",
    "stack_version" : "2.2",
    "type" : "hbase-env.xml"
  }
}
{code})

> Widgets should use increment-step specified in API
> --------------------------------------------------
>
>                 Key: AMBARI-10453
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10453
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10453.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message