ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject [08/50] [abbrv] ambari git commit: AMBARI-20668 Component identities is not updated in Add Service Wizard (akovalenko)
Date Tue, 11 Apr 2017 18:28:56 GMT
AMBARI-20668 Component identities is not updated in Add Service Wizard (akovalenko)


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

Branch: refs/heads/ambari-rest-api-explorer
Commit: dd2c2d0f0a64d8c64c74d370b4b7b0524d0f78d1
Parents: d711d7a
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Tue Apr 4 14:50:40 2017 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Tue Apr 4 17:27:31 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/mixins/wizard/addSecurityConfigs.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dd2c2d0f/ambari-web/app/mixins/wizard/addSecurityConfigs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/wizard/addSecurityConfigs.js b/ambari-web/app/mixins/wizard/addSecurityConfigs.js
index 2e6d3bc..e8da47f 100644
--- a/ambari-web/app/mixins/wizard/addSecurityConfigs.js
+++ b/ambari-web/app/mixins/wizard/addSecurityConfigs.js
@@ -390,7 +390,7 @@ App.AddSecurityConfigs = Em.Mixin.create({
         var prop = identity[item];
 
         // compare ui rendered config against identity with `configuration attribute` (Most
of the identities have `configuration attribute`)
-        var isIdentityWithConfig =  (prop.configuration && prop.configuration.split('/')[0]
=== config.filename && prop.configuration.split('/')[1] === config.name);
+        var isIdentityWithConfig = (prop.configuration && prop.configuration.split('/')[0]
=== App.config.getConfigTagFromFileName(config.filename) && prop.configuration.split('/')[1]
=== config.name);
 
         // compare ui rendered config against identity without `configuration attribute`
(For example spnego principal and keytab)
         var isIdentityWithoutConfig = (!prop.configuration && identity.name === config.name.split('_')[0]
&& item === config.name.split('_')[1]);


Mime
View raw message