Browse Source

AMBARI-1967. Add smoke test user customization toggle via App.supports. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1469164 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
cb27f46473
3 changed files with 6 additions and 2 deletions
  1. 3 0
      CHANGES.txt
  2. 2 1
      ambari-web/app/config.js
  3. 1 1
      ambari-web/app/data/config_properties.js

+ 3 - 0
CHANGES.txt

@@ -264,6 +264,9 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1967. Add smoke test user customization toggle via App.supports.
+ (yusaku)
+
  AMBARI-1964. Add ability to toggle on/off assigning masters for new hosts
  being added via Add Host wizard. (yusaku)
 

+ 2 - 1
ambari-web/app/config.js

@@ -36,7 +36,7 @@ App.maxRunsForAppBrowser = 500;
 App.pageReloadTime=3600000;
 
 // experimental features are automatically enabled if running on brunch server
-App.enableExperimental = (location.port == '3333');
+App.enableExperimental = false;
 
 App.supports = {
   addServices: false,
@@ -50,6 +50,7 @@ App.supports = {
   hiveOozieExtraDatabases: false,
   multipleHBaseMasters: false,
   addMasters: false,
+  customizeSmokeTestUser: false,
   hue: false
 };
 

+ 1 - 1
ambari-web/app/data/config_properties.js

@@ -2077,7 +2077,7 @@ module.exports =
       "isReconfigurable": false,
       "displayType": "user",
       "isOverridable": false,
-      "isVisible": true,
+      "isVisible": App.supports.customizeSmokeTestUser,
       "domain": "global",
       "serviceName": "MISC",
       "category": "Users and Groups"