You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/04/18 03:37:08 UTC

svn commit: r1469121 - in /incubator/ambari/trunk: CHANGES.txt ambari-web/app/config.js ambari-web/app/controllers/wizard.js ambari-web/app/data/services.js

Author: yusaku
Date: Thu Apr 18 01:37:08 2013
New Revision: 1469121

URL: http://svn.apache.org/r1469121
Log:
AMBARI-1955. Add ability to turn on/off HUE support. (yusaku)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-web/app/config.js
    incubator/ambari/trunk/ambari-web/app/controllers/wizard.js
    incubator/ambari/trunk/ambari-web/app/data/services.js

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1469121&r1=1469120&r2=1469121&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Apr 18 01:37:08 2013
@@ -264,6 +264,8 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1955. Add ability to turn on/off HUE support. (yusaku)
+
  AMBARI-1941. Create a flag to toggle the support for multiple
  HBase Masters. (jaimin)
 

Modified: incubator/ambari/trunk/ambari-web/app/config.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/config.js?rev=1469121&r1=1469120&r2=1469121&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/config.js (original)
+++ incubator/ambari/trunk/ambari-web/app/config.js Thu Apr 18 01:37:08 2013
@@ -48,7 +48,8 @@ App.supports = {
   capacitySchedulerUi: false,
   startStopAllServices: false,
   hiveOozieExtraDatabases: false,
-  multipleHBaseMasters: false
+  multipleHBaseMasters: false,
+  hue: false
 };
 
 if (App.enableExperimental) {

Modified: incubator/ambari/trunk/ambari-web/app/controllers/wizard.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/wizard.js?rev=1469121&r1=1469120&r2=1469121&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/wizard.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/wizard.js Thu Apr 18 01:37:08 2013
@@ -467,7 +467,7 @@ App.WizardController = Em.Controller.ext
           serviceName: entry.name,
           displayName: displayOrderConfig[i].displayName,
           isDisabled: i === 0,
-          isSelected: true,
+          isSelected: displayOrderConfig[i].isSelected,
           isInstalled: false,
           isHidden: displayOrderConfig[i].isHidden,
           description: entry.comment,

Modified: incubator/ambari/trunk/ambari-web/app/data/services.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/data/services.js?rev=1469121&r1=1469120&r2=1469121&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/data/services.js (original)
+++ incubator/ambari/trunk/ambari-web/app/data/services.js Thu Apr 18 01:37:08 2013
@@ -16,6 +16,8 @@
  * limitations under the License.
  */
 
+var App = require('app');
+
 module.exports = [
   {
     serviceName: 'HDFS',
@@ -105,7 +107,7 @@ module.exports = [
     serviceName: 'HUE',
     displayName: 'Hue',
     isDisabled: false,
-    isSelected: true,
-    isHidden: false
+    isSelected: App.supports.hue,
+    isHidden: !App.supports.hue
   }
 ]
\ No newline at end of file