You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2015/04/11 13:24:12 UTC

[jira] [Commented] (AMBARI-10453) Widgets should use increment-step specified in API

    [ https://issues.apache.org/jira/browse/AMBARI-10453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490929#comment-14490929 ] 

Oleg Nechiporenko commented on AMBARI-10453:
--------------------------------------------

  5803 tests complete (12 seconds)
  78 tests pending

Also tested manually on the real cluster

> 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
>
>
> 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}



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