ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject ambari git commit: AMBARI-16409. Ranger issues on summary page and config page. (Jaimin)
Date Mon, 09 May 2016 23:38:21 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk f66f08a92 -> 3bbc5afec


AMBARI-16409. Ranger issues on summary page and config page. (Jaimin)


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

Branch: refs/heads/trunk
Commit: 3bbc5afec728b03602cb8c900f2104bc95110cca
Parents: f66f08a
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Mon May 9 16:37:42 2016 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Mon May 9 16:38:05 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/summary.js        | 6 ------
 .../app/models/configs/objects/service_config_property.js      | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3bbc5afe/ambari-web/app/controllers/main/service/info/summary.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/summary.js b/ambari-web/app/controllers/main/service/info/summary.js
index 3a71cb3..eb0e850 100644
--- a/ambari-web/app/controllers/main/service/info/summary.js
+++ b/ambari-web/app/controllers/main/service/info/summary.js
@@ -96,12 +96,6 @@ App.MainServiceInfoSummaryController = Em.Controller.extend(App.WidgetSectionMix
       type: 'ranger-kafka-plugin-properties',
       propertyName: 'ranger-kafka-plugin-enabled',
       valueForEnable: 'Yes'
-    },
-    {
-      serviceName: 'KAFKA',
-      type: 'ranger-kafka-plugin-properties',
-      propertyName: 'ranger-kafka-plugin-enabled',
-      valueForEnable: 'Yes'
     }
   ],
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/3bbc5afe/ambari-web/app/models/configs/objects/service_config_property.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/configs/objects/service_config_property.js b/ambari-web/app/models/configs/objects/service_config_property.js
index 24f648b..f8a1e48 100644
--- a/ambari-web/app/models/configs/objects/service_config_property.js
+++ b/ambari-web/app/models/configs/objects/service_config_property.js
@@ -317,7 +317,7 @@ App.ServiceConfigProperty = Em.Object.extend({
     if (!this.get('isEditable')) {
       this.set('errorMessage', ''); // do not perform validation for not editable configs
     } else if ((typeof this.get('value') != 'object') && ((this.get('value') + '').length
=== 0)) {
-      this.set('errorMessage', this.get('isRequired') ? Em.I18n.t('errorMessage.config.required')
: '');
+      this.set('errorMessage', (this.get('isRequired') && this.get('widgetType')
!= 'test-db-connection') ? Em.I18n.t('errorMessage.config.required') : '');
     } else {
       this.set('errorMessage', this.validator(this.get('value'), this.get('name'), this.get('retypedPassword')));
     }


Mime
View raw message