You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/10/24 12:34:36 UTC
ambari git commit: AMBARI-17041. Support password type for custom
properties (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 4e372b514 -> 2402ea13d
AMBARI-17041. Support password type for custom properties (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2402ea13
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2402ea13
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2402ea13
Branch: refs/heads/trunk
Commit: 2402ea13d7c268b06d8bf2b2d13126495fcd74e7
Parents: 4e372b5
Author: Alex Antonenko <hi...@gmail.com>
Authored: Mon Oct 24 15:34:20 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Mon Oct 24 15:34:31 2016 +0300
----------------------------------------------------------------------
.../app/views/common/configs/service_configs_by_category_view.js | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/2402ea13/ambari-web/app/views/common/configs/service_configs_by_category_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/service_configs_by_category_view.js b/ambari-web/app/views/common/configs/service_configs_by_category_view.js
index aa4a983..3a898e2 100644
--- a/ambari-web/app/views/common/configs/service_configs_by_category_view.js
+++ b/ambari-web/app/views/common/configs/service_configs_by_category_view.js
@@ -479,6 +479,8 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.UserPref, App.ConfigOverri
name: '',
value: '',
+ propertyType: [],
+ content: ['PASSWORD', 'USER', 'GROUP', 'TEXT', 'ADDITIONAL_USER_PROPERTY', 'NOT_MANAGED_HDFS_PATH', 'VALUE_FROM_PROPERTY_FILE'],
isKeyError: false,
showFilterLink: false,
errorMessage: '',
@@ -558,6 +560,7 @@ App.ServiceConfigsByCategoryView = Em.View.extend(App.UserPref, App.ConfigOverri
if (!serviceConfigObj.isKeyError) {
propertyObj.name = serviceConfigObj.get('name');
propertyObj.value = serviceConfigObj.get('value');
+ propertyObj.propertyType = serviceConfigObj.get('propertyType');
self.createProperty(propertyObj);
this.hide();
}