aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David McLaughlin" <>
Subject Review Request 25794: Add a mock scheduler client to the AuroraClient service
Date Thu, 18 Sep 2014 21:38:29 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Aurora, Joshua Cohen, Kevin Sweeney, Maxim Khutornenko, and Bill Farner.

Repository: aurora


Add a mock scheduler client to the AuroraClient service.

There is probably a more Angular way to get this done which involves creating a mock service,
but this seemed like the simplest approach.

Interested in whether this is the right place to do mocking (or should it come from the server
so that we have more coverage of the client code?) or if we should mock at all. 

Code itself needs cleaned up - I just want to solicit feedback before I go too far down a
bad path. 


  src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js 8a719f85b0a095a93b723c04b0a5e8306093c572



In Chrome -> Developer Console:

window.__mockAPI__ = true;

Now I have updates in the UI. 


David McLaughlin

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message