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 2012/10/06 07:36:13 UTC

svn commit: r1394930 - in /incubator/ambari/branches/AMBARI-666: AMBARI-666-CHANGES.txt ambari-web/app/controllers/main/host.js ambari-web/app/data/service_configs.js ambari-web/test/installer/step3_test.js ambari-web/test/main/host_test.js

Author: yusaku
Date: Sat Oct  6 05:36:12 2012
New Revision: 1394930

URL: http://svn.apache.org/viewvc?rev=1394930&view=rev
Log:
AMBARI-817. Fix import dependencies so that unit test suites can be run again for Ambari Web. (yusaku)

Modified:
    incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
    incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/host.js
    incubator/ambari/branches/AMBARI-666/ambari-web/app/data/service_configs.js
    incubator/ambari/branches/AMBARI-666/ambari-web/test/installer/step3_test.js
    incubator/ambari/branches/AMBARI-666/ambari-web/test/main/host_test.js

Modified: incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt?rev=1394930&r1=1394929&r2=1394930&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt (original)
+++ incubator/ambari/branches/AMBARI-666/AMBARI-666-CHANGES.txt Sat Oct  6 05:36:12 2012
@@ -235,6 +235,9 @@ AMBARI-666 branch (unreleased changes)
 
   BUG FIXES
 
+  AMBARI-817. Fix import dependencies so that unit test suites can be run
+  again for Ambari Web. (yusaku)
+
   AMBARI-804. Fix routing issues with Admin pages. (yusaku)
 
   AMBARI-798. Fix import issue due to move of Predicate class. (hitesh)

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/host.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/host.js?rev=1394930&r1=1394929&r2=1394930&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/host.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/controllers/main/host.js Sat Oct  6 05:36:12 2012
@@ -17,6 +17,9 @@
  */
 
 var App = require('app');
+require('models/service');
+require('models/cluster');
+require('models/host');
 
 App.MainHostController = Em.ArrayController.extend(App.Pagination, {
   name:'mainHostController',

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/app/data/service_configs.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/app/data/service_configs.js?rev=1394930&r1=1394929&r2=1394930&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/app/data/service_configs.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/app/data/service_configs.js Sat Oct  6 05:36:12 2012
@@ -17,6 +17,7 @@
  */
 
 var App = require('app');
+require('models/service_config')
 
 var configProperties = App.ConfigProperties.create();
 

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/test/installer/step3_test.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/test/installer/step3_test.js?rev=1394930&r1=1394929&r2=1394930&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/test/installer/step3_test.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/test/installer/step3_test.js Sat Oct  6 05:36:12 2012
@@ -27,7 +27,7 @@ describe('App.InstallerStep3Controller',
 
   describe('#parseHostInfo', function () {
     var controller = App.InstallerStep3Controller.create();
-    it('should return true if there is no host with pending status in the data provided by REST bootstrap call.It should also update the status on the client side', function () {
+    it('should return true if there is no host with pending status in the data provided by REST bootstrap call.  It should also update the status on the client side', function () {
       var hostFrmServer = [
         {
           name: '192.168.1.1',

Modified: incubator/ambari/branches/AMBARI-666/ambari-web/test/main/host_test.js
URL: http://svn.apache.org/viewvc/incubator/ambari/branches/AMBARI-666/ambari-web/test/main/host_test.js?rev=1394930&r1=1394929&r2=1394930&view=diff
==============================================================================
--- incubator/ambari/branches/AMBARI-666/ambari-web/test/main/host_test.js (original)
+++ incubator/ambari/branches/AMBARI-666/ambari-web/test/main/host_test.js Sat Oct  6 05:36:12 2012
@@ -22,7 +22,6 @@ require('models/service');
 require('models/pagination');
 require('controllers/main/host');
 
-
 describe('MainHostController', function () {
     describe('#sortByName()', function () {
         it('should change isSort value to true', function () {