Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-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 CDD0DE423 for ; Fri, 8 Feb 2013 16:14:46 +0000 (UTC) Received: (qmail 91861 invoked by uid 500); 8 Feb 2013 16:14:46 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 91829 invoked by uid 500); 8 Feb 2013 16:14:46 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 91818 invoked by uid 99); 8 Feb 2013 16:14:46 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 16:14:46 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 1A1C61C7330; Fri, 8 Feb 2013 16:14:38 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3247883040930969915==" MIME-Version: 1.0 Subject: Re: Review Request: Decoupling Account and User mgmt by introducing UserService and UserManager From: "Chip Childers" To: "Alex Huang" Cc: "Chip Childers" , "cloudstack" , "Manikanta Kattamuri" Date: Fri, 08 Feb 2013 16:14:38 -0000 Message-ID: <20130208161438.13217.64846@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Chip Childers" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/9361/ X-Sender: "Chip Childers" References: <20130208074850.13218.43434@reviews.apache.org> In-Reply-To: <20130208074850.13218.43434@reviews.apache.org> Reply-To: "Chip Childers" --===============3247883040930969915== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/9361/#review16354 ----------------------------------------------------------- Mani - This is an opportunity to write some tests that ensure that the refa= ctoring doesn't break anything. Thank you for testing from the UI, but I'd= like to see some unit tests added that covers the restructured classes. I= think it would also be good to run any appropriate Marvin tests against th= is code (you may have to ask on the dev list for help on that one) to ensur= e that the external API remains intact. - Chip Childers On Feb. 8, 2013, 7:48 a.m., Manikanta Kattamuri wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/9361/ > ----------------------------------------------------------- > = > (Updated Feb. 8, 2013, 7:48 a.m.) > = > = > Review request for cloudstack and Alex Huang. > = > = > Description > ------- > = > Decoupling Account and User mgmt by introducing UserService and UserManag= er > Added and moved user related services to UserService& UserManager from Ac= countServices and AccountManager. > Updated the referances of user related call from accountmgr to usermgr > = > = > Diffs > ----- > = > api/src/com/cloud/user/AccountService.java 8026891 = > api/src/com/cloud/user/UserService.java PRE-CREATION = > api/src/org/apache/cloudstack/api/BaseCmd.java a9ac489 = > api/src/org/apache/cloudstack/api/command/admin/user/CreateUserCmd.java= d1f72c4 = > api/src/org/apache/cloudstack/api/command/admin/user/LockUserCmd.java d= be3303 = > server/src/com/cloud/api/ApiServer.java e41fcb5 = > server/src/com/cloud/user/AccountManager.java 4b3a601 = > server/src/com/cloud/user/AccountManagerImpl.java 54447a2 = > server/src/com/cloud/user/UserManager.java PRE-CREATION = > server/src/com/cloud/user/UserManagerImpl.java PRE-CREATION = > server/src/org/apache/cloudstack/region/RegionManagerImpl.java c7bca5b = > server/src/org/apache/cloudstack/region/RegionServiceImpl.java 7aed881 = > server/test/com/cloud/user/MockAccountManagerImpl.java 5632070 = > server/test/com/cloud/user/MockUserManagerImpl.java PRE-CREATION = > = > Diff: https://reviews.apache.org/r/9361/diff/ > = > = > Testing > ------- > = > Performed testing on the affected api's from UI. > = > = > Thanks, > = > Manikanta Kattamuri > = > --===============3247883040930969915==--