ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject ambari git commit: AMBARI-9395 Ambari Web UI changes required to support Ranger Installation. (small fix) (ababiichuk)
Date Thu, 29 Jan 2015 14:37:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 423f8fc37 -> a16e37ee9


AMBARI-9395 Ambari Web UI changes required to support Ranger Installation. (small fix) (ababiichuk)


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

Branch: refs/heads/trunk
Commit: a16e37ee90c0a2bfa2a9b02ee1fd2529c7609d02
Parents: 423f8fc
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Thu Jan 29 16:28:02 2015 +0200
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Thu Jan 29 16:36:46 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/models/service_config.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a16e37ee/ambari-web/app/models/service_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js
index bc8bd78..e9b07cd 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -604,6 +604,9 @@ App.ServiceConfigProperty = Em.Object.extend({
         var rangerAdminHost = masterComponentHostsInDB.findProperty('component', 'RANGER_ADMIN');
         if(rangerAdminHost) {
           this.set('value', rangerAdminHost.hostName);
+        } else {
+          this.set('isVisible', 'false');
+          this.set('isRequired', 'false');
         }
         break;
     }


Mime
View raw message