You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2016/10/21 17:20:02 UTC

[14/30] ambari git commit: AMBARI-18647 Topology info written to site configs by UI (ababiichuk)

AMBARI-18647 Topology info written to site configs by UI (ababiichuk)


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

Branch: refs/heads/branch-feature-AMBARI-18456
Commit: d9bc653a0ea8433ba53c60c223aa35cf2d8acade
Parents: f55e9db
Author: ababiichuk <ab...@hortonworks.com>
Authored: Thu Oct 20 17:09:25 2016 +0300
Committer: ababiichuk <ab...@hortonworks.com>
Committed: Thu Oct 20 18:00:58 2016 +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/d9bc653a/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index d562e9e..78aacac 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -1254,14 +1254,15 @@ App.config = Em.Object.create({
    */
   createMinifiedConfig: function (configProperty) {
     if (configProperty instanceof Ember.Object) {
-      return configProperty.getProperties('name', 'filename', 'serviceName', 'value', 'isFinal');
+      return configProperty.getProperties('name', 'filename', 'serviceName', 'value', 'isFinal', 'isRequiredByAgent');
     }
     return {
       name: configProperty.name,
       filename: configProperty.filename,
       serviceName: configProperty.serviceName,
       value: configProperty.value,
-      isFinal: configProperty.isFinal
+      isFinal: configProperty.isFinal,
+      isRequiredByAgent: configProperty.isRequiredByAgent
     }
   },