[
https://issues.apache.org/jira/browse/AMBARI-10158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371877#comment-14371877
]
Hudson commented on AMBARI-10158:
---------------------------------
ABORTED: Integrated in Ambari-trunk-Commit #2085 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2085/])
AMBARI-10158. Implement time-interval spinner widget for config (onechiporenko)
(onechiporenko:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=499b0d97048670c1488c1e38242df2e4ba65d079)
* ambari-web/app/views/common/configs/widgets/time_interval_spinner_view.js
* ambari-web/app/views.js
* ambari-web/app/views/common/form/spinner_input_view.js
* ambari-web/app/assets/test/tests.js
* ambari-web/app/messages.js
* ambari-web/app/styles/widgets.less
* ambari-web/app/templates/common/form/spinner_input.hbs
*
ambari-web/test/views/common/configs/widgets/time_interval_spinner_view_test.js
* ambari-web/app/templates/common/configs/widgets/time_interval_spinner.hbs
> Implement time-interval spinner widget for config
> -------------------------------------------------
>
> Key: AMBARI-10158
> URL: https://issues.apache.org/jira/browse/AMBARI-10158
> 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-10158.patch
>
>
> Multiple configs have time interval which is saved as milliseconds. However
> we need to use the theme to create a time-interval-spinner control which will
> allow user to set milliseconds using a more understandable hours/mins/seconds
> spinners.
> The configuration will be defined in the stack as
> {code}
> {
> "href" :
> "http://c6401:8080/api/v1/stacks/HDP/versions/2.2/services/HBASE/configurations/hbase.hregion.majorcompaction",
> "StackConfigurations" : {
> "final" : "false",
> "property_description" : "Time between major compactions",
> "property_name" : "hbase.hregion.majorcompaction",
> "property_type" : [ ],
> "property_value" : "604800000",// Recommended
> "property_value_attributes": {
> "type": "int",
> "minimum": "0",
> "maximum": "2592000000", // 30 days
> "unit": "milliseconds",
> },
> "service_name" : "HBASE",
> "stack_name" : "HDP",
> "stack_version" : "2.2",
> "type" : "hbase-site.xml"
> }
> }
> {code}
> The theme will have the widget defined as
> {code}
> "configs": [
> {
> "config": "hive-site/hive.exec.orc.default.compress",
> "widget": {
> "type": "time-interval-spinner",
> "units": [
> {
> "unit": "days,hours,minutes"
> }
> ]
> }
> }
> ]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)