incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject 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
Date Thu, 18 Apr 2013 01:37:08 GMT
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



Mime
View raw message