aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [49/50] [abbrv] git commit: Removed mock.
Date Wed, 15 Jan 2014 21:38:12 GMT
Removed mock.


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/82a4f931
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/82a4f931
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/82a4f931

Branch: refs/heads/mansu/AURORA-4187_scheduler_home_page-no-seed
Commit: 82a4f9313b651a4b9ee92393e1999a69a4cca3a7
Parents: 1a44473
Author: Suman Karumuri <skarumuri@twitter.com>
Authored: Mon Jan 13 15:49:26 2014 -0800
Committer: Suman Karumuri <skarumuri@twitter.com>
Committed: Mon Jan 13 15:52:26 2014 -0800

----------------------------------------------------------------------
 .../apache/aurora/scheduler/http/ui/js/services.js | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/82a4f931/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
----------------------------------------------------------------------
diff --git a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
index 81560a0..16f22a7 100644
--- a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
+++ b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
@@ -2,7 +2,7 @@
 
 auroraUI.factory(
   'auroraClient',
-  function (auroraClientMock) {
+  function () {
     return {
       getJobSummary: function () {
         var client = this.makeSchedulerClient();
@@ -22,18 +22,3 @@ auroraUI.factory(
     };
   }
 );
-
-auroraUI.factory(
-  'auroraClientMock',
-  function () {
-    return {
-      getJobSummary: function () {
-        var summary = new JobSummary();
-        summary.role = "mesos";
-        summary.jobCount = 10;
-        summary.cronJobCount = 10;
-        return { 'summaries': [summary]};
-      }
-    }
-  }
-);


Mime
View raw message