ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject ambari git commit: AMBARI-12160. It is not possible to change Oozie DB/Hive DB after blueprint install (akovalenko)
Date Fri, 26 Jun 2015 10:36:41 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 d7fb687f7 -> 16ecb5bb2


AMBARI-12160. It is not possible to change Oozie DB/Hive DB after blueprint install (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/16ecb5bb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/16ecb5bb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/16ecb5bb

Branch: refs/heads/branch-2.1
Commit: 16ecb5bb21528154b5e8aceed077e5e96d3d726c
Parents: d7fb687
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Fri Jun 26 13:26:58 2015 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Fri Jun 26 13:36:20 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/config.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/16ecb5bb/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index 14c1c5f..559bab9 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -304,11 +304,12 @@ App.config = Em.Object.create({
         var value = this.parseValue(properties[index], configsPropertyDef, advancedConfig);
         var serviceConfigObj = Em.Object.create({
           name: index,
+          displayName: (configsPropertyDef && Em.get(configsPropertyDef, 'displayName'))
|| index,
           value: value,
           savedValue: value,
           recommendedValue: advancedConfig ? Em.get(advancedConfig, 'recommendedValue') :
null,
           filename: filename,
-          isUserProperty: !advancedConfig,
+          isUserProperty: !configsPropertyDef,
           isVisible: !!service,
           isOverridable: true,
           isReconfigurable: true,
@@ -336,7 +337,7 @@ App.config = Em.Object.create({
         if (!this.getBySiteName(serviceConfigObj.get('filename')).someProperty('name', index))
{
           if (configsPropertyDef) {
             if (Em.get(configsPropertyDef, 'isRequiredByAgent') === false) {
-              configs.push(serviceConfigObj);
+              configs.push(App.ServiceConfigProperty.create(serviceConfigObj));
               continue;
             }
             this.handleSpecialProperties(serviceConfigObj);


Mime
View raw message