Return-Path: X-Original-To: apmail-aurora-dev-archive@minotaur.apache.org Delivered-To: apmail-aurora-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33239109A5 for ; Thu, 2 Jan 2014 22:48:52 +0000 (UTC) Received: (qmail 60383 invoked by uid 500); 2 Jan 2014 22:48:52 -0000 Delivered-To: apmail-aurora-dev-archive@aurora.apache.org Received: (qmail 60360 invoked by uid 500); 2 Jan 2014 22:48:52 -0000 Mailing-List: contact dev-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list dev@aurora.incubator.apache.org Received: (qmail 60352 invoked by uid 99); 2 Jan 2014 22:48:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 22:48:52 +0000 X-ASF-Spam-Status: No, hits=-1998.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; Thu, 02 Jan 2014 22:48:48 +0000 Received: (qmail 59665 invoked by uid 99); 2 Jan 2014 22:48:27 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 22:48:27 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id C94761D4113; Thu, 2 Jan 2014 22:48:24 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1870139399270650968==" MIME-Version: 1.0 Subject: Re: Review Request 16528: Scheduler home page new using AngularJS and UI client From: "Suman Karumuri" To: "Bill Farner" Cc: "Aurora" , "Suman Karumuri" Date: Thu, 02 Jan 2014 22:48:24 -0000 Message-ID: <20140102224824.26158.79028@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Suman Karumuri" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/16528/ X-Sender: "Suman Karumuri" References: <20131231103059.21784.77831@reviews.apache.org> In-Reply-To: <20131231103059.21784.77831@reviews.apache.org> Reply-To: "Suman Karumuri" X-ReviewRequest-Repository: aurora X-Virus-Checked: Checked by ClamAV on apache.org --===============1870139399270650968== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16528/ ----------------------------------------------------------- (Updated Jan. 2, 2014, 10:48 p.m.) Review request for Aurora and Bill Farner. Repository: aurora Description ------- Implemented new Scheduler home page using AngularJS. The UI queries the backend using the thrift end point. This diff sets the basic foundation for the page. Sending this out to get some early feedback and to keep the future diffs small. The URLs in the new UI will redirect to the scheduler role pages. Dropped the option to select number of results to be shown to simplify the interface. Now defaulting to 25 results per page. Cleaned up the UI to make it more light weight. Added a mock service to render dummy data on the page. Currently, this mock service is manually wired during testing. Will created an isolated scheduler page once we have a single page app. Updated build.gradle to generate thrift JS client. Installed Angular and smart-table from bower. Added thrift.js file to make the calls to the backend. Will migrate to angular-thrift for more robust implementation in coming diffs. Diffs ----- 3rdparty/javascript/bower_components/angular/.bower.json PRE-CREATION 3rdparty/javascript/bower_components/angular/README.md PRE-CREATION 3rdparty/javascript/bower_components/angular/angular-csp.css PRE-CREATION 3rdparty/javascript/bower_components/angular/angular.js PRE-CREATION 3rdparty/javascript/bower_components/angular/angular.min.js PRE-CREATION 3rdparty/javascript/bower_components/angular/angular.min.js.gzip PRE-CREATION 3rdparty/javascript/bower_components/angular/angular.min.js.map PRE-CREATION 3rdparty/javascript/bower_components/angular/bower.json PRE-CREATION 3rdparty/javascript/bower_components/smart-table/.bower.json PRE-CREATION 3rdparty/javascript/bower_components/smart-table/Smart-Table.debug.js PRE-CREATION 3rdparty/javascript/bower_components/smart-table/Smart-Table.min.js PRE-CREATION 3rdparty/javascript/bower_components/smart-table/bower.json PRE-CREATION 3rdparty/javascript/thrift.js PRE-CREATION build.gradle 7e33ed8c7c6f118908d24cb5a7e3a8a15e34e063 src/main/java/com/twitter/aurora/scheduler/http/ServletModule.java 825e2e1eb442feb2bac1d8d7df20707fd23fc23d src/main/resources/com/twitter/aurora/scheduler/http/ui/css/app.css PRE-CREATION src/main/resources/com/twitter/aurora/scheduler/http/ui/index.html PRE-CREATION src/main/resources/com/twitter/aurora/scheduler/http/ui/js/app.js PRE-CREATION src/main/resources/com/twitter/aurora/scheduler/http/ui/js/controllers.js PRE-CREATION src/main/resources/com/twitter/aurora/scheduler/http/ui/js/directives.js PRE-CREATION src/main/resources/com/twitter/aurora/scheduler/http/ui/js/services.js PRE-CREATION src/main/resources/com/twitter/aurora/scheduler/http/ui/roleLink.html PRE-CREATION Diff: https://reviews.apache.org/r/16528/diff/ Testing ------- gradle clean build Tested the UI using the isolated scheduler. File Attachments ---------------- Home page https://reviews.apache.org/media/uploaded/files/2013/12/31/03920805-bba2-4160-90fb-f137b79cde20__Screen_Shot_2013-12-31_at_2.28.42_AM.png Thanks, Suman Karumuri --===============1870139399270650968==--