ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atk...@apache.org
Subject ambari git commit: AMBARI-16660 Kerberos Configs Page issues. (atkach)
Date Mon, 16 May 2016 09:35:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 7f333cc02 -> 93b4b6e3e


AMBARI-16660 Kerberos Configs Page issues. (atkach)


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

Branch: refs/heads/branch-2.4
Commit: 93b4b6e3ef7a87f67b92505acbf558744fceb141
Parents: 7f333cc
Author: Andrii Tkach <atkach@apache.org>
Authored: Fri May 13 17:45:40 2016 +0300
Committer: Andrii Tkach <atkach@apache.org>
Committed: Mon May 16 12:10:02 2016 +0300

----------------------------------------------------------------------
 .../app/controllers/main/admin/kerberos.js      | 29 ++++++++++++++++++++
 .../main/admin/kerberos/step4_controller.js     |  1 +
 2 files changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/93b4b6e3/ambari-web/app/controllers/main/admin/kerberos.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/kerberos.js b/ambari-web/app/controllers/main/admin/kerberos.js
index 2db825a..a8383cc 100644
--- a/ambari-web/app/controllers/main/admin/kerberos.js
+++ b/ambari-web/app/controllers/main/admin/kerberos.js
@@ -22,11 +22,40 @@ require('controllers/main/admin/kerberos/step4_controller');
 
 App.MainAdminKerberosController = App.KerberosWizardStep4Controller.extend({
   name: 'mainAdminKerberosController',
+
+  /**
+   * @type {boolean}
+   * @deafult false
+   */
   securityEnabled: false,
+
+  /**
+   * @type {boolean}
+   * @default false
+   */
   defaultKerberosLoaded: false,
+
+  /**
+   * @type {boolean}
+   * @default false
+   */
   dataIsLoaded: false,
+
+  /**
+   * @type {boolean}
+   * @default true
+   */
   isRecommendedLoaded: true,
+
+  /**
+   * @type {boolean}
+   * @default false
+   */
   isEditMode: false,
+
+  /**
+   * @type {string}
+   */
   kdc_type: '',
 
   kdcTypesValues: {

http://git-wip-us.apache.org/repos/asf/ambari/blob/93b4b6e3/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js b/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
index d7877cf..1e165ab 100644
--- a/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
+++ b/ambari-web/app/controllers/main/admin/kerberos/step4_controller.js
@@ -187,6 +187,7 @@ App.KerberosWizardStep4Controller = App.WizardStep7Controller.extend(App.AddSecu
     configProperties = App.config.sortConfigs(configProperties);
     var stepConfigs = this.createServiceConfig(configProperties);
     this.set('selectedService', stepConfigs[0]);
+    this.get('stepConfigs').pushObjects(stepConfigs);
     return stepConfigs;
   },
 


Mime
View raw message