Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 10D59100C5 for ; Fri, 24 Oct 2014 02:14:33 +0000 (UTC) Received: (qmail 52497 invoked by uid 500); 24 Oct 2014 02:07:53 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 52454 invoked by uid 500); 24 Oct 2014 02:07:53 -0000 Mailing-List: contact reviews-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.incubator.apache.org Delivered-To: mailing list reviews@aurora.incubator.apache.org Received: (qmail 52443 invoked by uid 99); 24 Oct 2014 02:07:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 02:07:52 +0000 X-ASF-Spam-Status: No, hits=-1999.2 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Oct 2014 02:07:30 +0000 Received: (qmail 51618 invoked by uid 99); 24 Oct 2014 02:07:28 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2014 02:07:28 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 62FE31DF623; Fri, 24 Oct 2014 02:07:33 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3829895166694964634==" MIME-Version: 1.0 Subject: Re: Review Request 25794: Add a mock scheduler client to the AuroraClient service From: "Aurora ReviewBot" To: "Bill Farner" , "Kevin Sweeney" , "Maxim Khutornenko" , "Joshua Cohen" Cc: "Aurora ReviewBot" , "Aurora" , "David McLaughlin" Date: Fri, 24 Oct 2014 02:07:33 -0000 Message-ID: <20141024020733.1282.6966@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Aurora ReviewBot" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/25794/ X-Sender: "Aurora ReviewBot" References: <20140918213829.7803.26429@reviews.apache.org> In-Reply-To: <20140918213829.7803.26429@reviews.apache.org> Reply-To: "Aurora ReviewBot" X-ReviewRequest-Repository: aurora X-Virus-Checked: Checked by ClamAV on apache.org --===============3829895166694964634== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25794/#review58219 ----------------------------------------------------------- This patch does not apply cleanly on master (53f4e73), do you need to rebase? - Aurora ReviewBot On Sept. 18, 2014, 9:38 p.m., David McLaughlin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/25794/ > ----------------------------------------------------------- > > (Updated Sept. 18, 2014, 9:38 p.m.) > > > Review request for Aurora, Joshua Cohen, Kevin Sweeney, Maxim Khutornenko, and Bill Farner. > > > Repository: aurora > > > Description > ------- > > 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. > > > Diffs > ----- > > src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js 8a719f85b0a095a93b723c04b0a5e8306093c572 > > Diff: https://reviews.apache.org/r/25794/diff/ > > > Testing > ------- > > In Chrome -> Developer Console: > > window.__mockAPI__ = true; > > Now I have updates in the UI. > > > Thanks, > > David McLaughlin > > --===============3829895166694964634==--