-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13606/#review25241
-----------------------------------------------------------



src/webui/master/static/js/controllers.js
<https://reviews.apache.org/r/13606/#comment49537>

    This should be an Angular Service 
(http://docs.angularjs.org/guide/dev_guide.services.understanding_services) to 
ensure it's a singleton and to reuse some of the code that is repeated in each 
of the controllers below.



src/webui/master/static/js/controllers.js
<https://reviews.apache.org/r/13606/#comment49536>

    Since we are the only consumers of this Top function, you don't need to 
protect from calls without the `new` keyword.


- Ross Allen


On Aug. 15, 2013, 10:14 p.m., Ben Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13606/
> -----------------------------------------------------------
> 
> (Updated Aug. 15, 2013, 10:14 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman and Ross Allen.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This adds a Top abstraction to the webui for periodically polling the 
> monitoring endpoint.
> 
> Instead of having each controller have to deal with monitoring information 
> during the update cycle, this allows each controller to setup asynchronous 
> monitoring updates, stopping it when the controller becomes inactive.
> 
> 
> Diffs
> -----
> 
>   src/webui/master/static/js/controllers.js 
> 305aeaa195183c188e8ed949ccd67b49cbd757a0 
>   src/webui/master/static/slave.html e1dabc0b04dec404a0aabd52d0387a0af70ad40d 
>   src/webui/master/static/slave_executor.html 
> 519847c0de077717c88c4d35804ad40d339d4246 
>   src/webui/master/static/slave_framework.html 
> 947bab12eec8c3be5c3893b873b4b6378c8dcbbb 
> 
> Diff: https://reviews.apache.org/r/13606/diff/
> 
> 
> Testing
> -------
> 
> Ran the long-lived-framework.
> 
> 
> Thanks,
> 
> Ben Mahler
> 
>

Reply via email to