From stonehenge-dev-return-1341djones@example.com Wed Jul 01 02:13:57 2009 Return-Path: <stonehenge-dev-return-1341djones@example.com> Delivered-To: djones@example.com Received: (qmail 33814 invoked from network); 1 Jul 2009 02:13:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 02:13:57 -0000 Received: (qmail 33113 invoked by uid 500); 1 Jul 2009 02:14:08 -0000 Delivered-To: djones@example.com Received: (qmail 33053 invoked by uid 500); 1 Jul 2009 02:14:08 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 33043 invoked by uid 99); 1 Jul 2009 02:14:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:14:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of djones@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-pz0-f177.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:13:58 +0000 Received: by pzk7 with SMTP id 7so190173pzk.32 for <djones@example.com>; Tue, 30 Jun 2009 19:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DiRAxeEg5wVdZnXtlOhKzBmaACSGjbI68jf+RaE18Ls=; b=AsdVCrJGBIHYjJNWjHIOBCgrwhf2R/OzYy0dD9o7+RTxddNz9WG/qva1YEnt2X//MS u3jVuxqfDGEhG8HMuXUx1pSKfui3l9tL+U8DdCrPLed9fD4PqWmL8ZlAgBJhv7hm6lfT 87aRQYh1gXy0pVZS9vQjdTGDIee3nkC+SqTIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JFIzcdVh5P5AImCnOukDki6zyAytGw6VD9BWl1W0zC/RRnjeLmNi54vrODTid3T65r Ac/uJ3oFT1rlVkEAQ4ROZ0PB417IFCalP3LXsDjUh2YFgs3gSxm/MVwos9mwbMBvX44W hjOL92Kt0LZFYa5xLLS4xy+W0DOqzXBkubx6w= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id m20mr406467wfj.103.1246414416841; Tue, 30 Jun 2009 19:13:36 -0700 (PDT) In-Reply-To: <djones@example.com> References: <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> Date: Wed, 1 Jul 2009 07:43:36 +0530 Message-ID: <djones@example.com> Subject: Re: Removing unwanted files in trunk From: Selvaratnam Uthaiyashankar <djones@example.com> To: djones@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Ben, yes, I think we should remove them. If it is needed for any future works, then we can keep it. WDYT? Regards, Shankar On Tue, Jun 30, 2009 at 7:39 PM, Ben Dewey<djones@example.com> wrote: > Shankar, > > These unwanted files are still in the trunk. =A0Do you want to remove the= m? > > -Ben > > -----Original Message----- > From: Ben Dewey > Sent: Friday, June 12, 2009 12:20 AM > To: 'djones@example.com' > Subject: RE: Removing unwanted files in trunk > > Additionally, based on the SetupActions.cs file > > The setup_utilities\StockTraderDB is also not in use. =A0(See below is us= ing su\DATALOAD\StockTraderDB) > > -Ben > > -----Original Message----- > From: Ben Dewey [mailto:djones@example.com] > Sent: Friday, June 12, 2009 12:17 AM > To: 'djones@example.com' > Subject: RE: Removing unwanted files in trunk > > The following DataLoad files are in use by SetupActions.cs > > setup_utilities\DATALOAD\CreateInsertXMLAccountProfileProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLAccountProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLHoldingProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLOrdersProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLQuoteProc.sql"; > > setup_utilities\DATALOAD\StockTraderDB\Account.xml > setup_utilities\DATALOAD\StockTraderDB\AccountProfile.xml > setup_utilities\DATALOAD\StockTraderDB\Quote.xml > setup_utilities\DATALOAD\StockTraderDB\Holding.xml > > > As for SimpleClientRepository, SimpleServiceRepository, StockTraderWebApp= Repository, and DataLoad/*(!above). =A0These are from the MSDN StockTrader = and AFAIK, they can be removed. > > -Ben > > > -----Original Message----- > From: Selvaratnam Uthaiyashankar [mailto:djones@example.com] > Sent: Friday, June 12, 2009 12:01 AM > To: djones@example.com > Subject: Removing unwanted files in trunk > > Hi, > > It seems files in following directories are not useful to us. Can we > remove them? or are we using it for anything? > > stocktrader/dotnet/setup_utilities/DataLoad/ > stocktrader/dotnet/setup_utilities/SimpleClientRepository > stocktrader/dotnet/setup_utilities/SimpleServiceRepository > stocktrader/dotnet/setup_utilities/StockTraderWebAppRepository > > Regards, > Shankar > > -- > S.Uthaiyashankar > Software Architect > WSO2 Inc. > http://wso2.com/ - "The Open Source SOA Company" > --=20 S.Uthaiyashankar Software Architect WSO2 Inc. http://wso2.com/ - "The Open Source SOA Company" From stonehenge-dev-return-1342djones@example.com Wed Jul 01 02:22:59 2009 Return-Path: <stonehenge-dev-return-1342djones@example.com> Delivered-To: djones@example.com Received: (qmail 37789 invoked from network); 1 Jul 2009 02:22:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 02:22:59 -0000 Received: (qmail 34702 invoked by uid 500); 1 Jul 2009 02:23:09 -0000 Delivered-To: djones@example.com Received: (qmail 34644 invoked by uid 500); 1 Jul 2009 02:23:09 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 34634 invoked by uid 99); 1 Jul 2009 02:23:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:23:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:23:07 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2E748234C004 for <djones@example.com>; Tue, 30 Jun 2009 19:22:47 -0700 (PDT) Message-ID: <23053678.1246414967175.JavaMail.jira@brutus> Date: Tue, 30 Jun 2009 19:22:47 -0700 (PDT) From: "Ben Dewey (JIRA)" <djones@example.com> To: djones@example.com Subject: [jira] Resolved: (STONEHENGE-55) Trying to buy or sell anything an amount larger than 3 digits throws an error in .Net stocktrader In-Reply-To: <975120604.1241612551391.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ben Dewey resolved STONEHENGE-55. --------------------------------- Resolution: Fixed I tested this new patch and I am able to buy and sell 3 and 4 digit numbers successfully. I'm resolving this issue > Trying to buy or sell anything an amount larger than 3 digits throws an error in .Net stocktrader > ------------------------------------------------------------------------------------------------- > > Key: STONEHENGE-55 > URL: https://issues.apache.org/jira/browse/STONEHENGE-55 > Project: Stonehenge > Issue Type: Bug > Components: DOTNET_CLIENT > Affects Versions: M1 > Reporter: Chintana Wilamuna > Fix For: M2 > > Attachments: remove-comma.patch, Stonehenge-55-part2.patch, STONEHENGE-55.patch > > > Steps to reproduce, > 1) Start .Net stocktrader services > 2) Login and try to buy or sell an amount larger than 3 digits > This throws an ASP error. > Cause: If the value the user tries to buy or sell, let's say 1000. This is represented as "1,000" causing the Integer conversion to fail. > Quick fix: In StockTrade.aspx.cs line 72 and 73 change to the following, getting rid of the comma: > SellQuantityRangeValidator.MaximumValue = holding.quantity.Replace(",", ""); > SellQuantity.Text = holding.quantity.Replace(",", ""); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From stonehenge-dev-return-1343djones@example.com Wed Jul 01 02:34:19 2009 Return-Path: <stonehenge-dev-return-1343djones@example.com> Delivered-To: djones@example.com Received: (qmail 41770 invoked from network); 1 Jul 2009 02:34:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 02:34:17 -0000 Received: (qmail 37386 invoked by uid 500); 1 Jul 2009 02:34:27 -0000 Delivered-To: djones@example.com Received: (qmail 37326 invoked by uid 500); 1 Jul 2009 02:34:27 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 37316 invoked by uid 99); 1 Jul 2009 02:34:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:34:27 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail126.messagelabs.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:34:16 +0000 X-VirusChecked: Checked X-Env-Sender: djones@example.com X-Msg-Ref: server-13.tower-126.messagelabs.com!1246415631!35227484!1 X-StarScan-Version: 6.0.0; banners=-,-,- X-Originating-IP: [83.161.120.155] Received: (qmail 19775 invoked from network); 1 Jul 2009 02:33:52 -0000 Received: from mailserver.citigatehudson.com (HELO 26NY-ES4.26ny.local) (83.161.120.155) by server-13.tower-126.messagelabs.com with AES128-SHA encrypted SMTP; 1 Jul 2009 02:33:52 -0000 Received: from 26NY-ES3.26ny.local ([888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4d50b:ddec:2dc0:4ee5]) by 26NY-ES4.26ny.local ([888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4c4e7:6f5c:7beb:8eae%11]) with mapi; Tue, 30 Jun 2009 22:33:51 -0400 From: Ben Dewey <djones@example.com> To: "'djones@example.com'" <djones@example.com> Date: Tue, 30 Jun 2009 22:33:50 -0400 Subject: RE: Removing unwanted files in trunk Thread-Topic: Removing unwanted files in trunk Thread-Index: Acn58Z7nHhK63iDVSyS13jssudXlkAAArXqg Message-ID: <djones@example.com> References: <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> In-Reply-To: <djones@example.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I think we should remove it. -Ben Dewey -----Original Message----- From: Selvaratnam Uthaiyashankar [mailto:djones@example.com]=20 Sent: Tuesday, June 30, 2009 10:14 PM To: djones@example.com Subject: Re: Removing unwanted files in trunk Hi Ben, yes, I think we should remove them. If it is needed for any future works, then we can keep it. WDYT? Regards, Shankar On Tue, Jun 30, 2009 at 7:39 PM, Ben Dewey<djones@example.com> wrote: > Shankar, > > These unwanted files are still in the trunk. =A0Do you want to remove the= m? > > -Ben > > -----Original Message----- > From: Ben Dewey > Sent: Friday, June 12, 2009 12:20 AM > To: 'djones@example.com' > Subject: RE: Removing unwanted files in trunk > > Additionally, based on the SetupActions.cs file > > The setup_utilities\StockTraderDB is also not in use. =A0(See below is us= ing su\DATALOAD\StockTraderDB) > > -Ben > > -----Original Message----- > From: Ben Dewey [mailto:djones@example.com] > Sent: Friday, June 12, 2009 12:17 AM > To: 'djones@example.com' > Subject: RE: Removing unwanted files in trunk > > The following DataLoad files are in use by SetupActions.cs > > setup_utilities\DATALOAD\CreateInsertXMLAccountProfileProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLAccountProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLHoldingProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLOrdersProc.sql"; > setup_utilities\DATALOAD\CreateInsertXMLQuoteProc.sql"; > > setup_utilities\DATALOAD\StockTraderDB\Account.xml > setup_utilities\DATALOAD\StockTraderDB\AccountProfile.xml > setup_utilities\DATALOAD\StockTraderDB\Quote.xml > setup_utilities\DATALOAD\StockTraderDB\Holding.xml > > > As for SimpleClientRepository, SimpleServiceRepository, StockTraderWebApp= Repository, and DataLoad/*(!above). =A0These are from the MSDN StockTrader = and AFAIK, they can be removed. > > -Ben > > > -----Original Message----- > From: Selvaratnam Uthaiyashankar [mailto:djones@example.com] > Sent: Friday, June 12, 2009 12:01 AM > To: djones@example.com > Subject: Removing unwanted files in trunk > > Hi, > > It seems files in following directories are not useful to us. Can we > remove them? or are we using it for anything? > > stocktrader/dotnet/setup_utilities/DataLoad/ > stocktrader/dotnet/setup_utilities/SimpleClientRepository > stocktrader/dotnet/setup_utilities/SimpleServiceRepository > stocktrader/dotnet/setup_utilities/StockTraderWebAppRepository > > Regards, > Shankar > > -- > S.Uthaiyashankar > Software Architect > WSO2 Inc. > http://wso2.com/ - "The Open Source SOA Company" > --=20 S.Uthaiyashankar Software Architect WSO2 Inc. http://wso2.com/ - "The Open Source SOA Company" From stonehenge-dev-return-1344djones@example.com Wed Jul 01 02:45:01 2009 Return-Path: <stonehenge-dev-return-1344djones@example.com> Delivered-To: djones@example.com Received: (qmail 42810 invoked from network); 1 Jul 2009 02:45:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 02:45:01 -0000 Received: (qmail 40902 invoked by uid 500); 1 Jul 2009 02:45:11 -0000 Delivered-To: djones@example.com Received: (qmail 40840 invoked by uid 500); 1 Jul 2009 02:45:11 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 40830 invoked by uid 99); 1 Jul 2009 02:45:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:45:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 02:45:08 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 2CAF0234C004 for <djones@example.com>; Tue, 30 Jun 2009 19:44:47 -0700 (PDT) Message-ID: <1674235459.1246416287168.JavaMail.jira@brutus> Date: Tue, 30 Jun 2009 19:44:47 -0700 (PDT) From: "Ben Dewey (JIRA)" <djones@example.com> To: djones@example.com Subject: [jira] Commented: (STONEHENGE-67) Setup .NET Client/BS/OPS to get Active BS/OPS from config service In-Reply-To: <1514219024.1244069287891.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STONEHENGE-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725899#action_12725899 ] Ben Dewey commented on STONEHENGE-67: ------------------------------------- I was able to build and run this code without a problem. There was a one small additional instructions that I encountered. 1. if you're running on a different SQL Server instance (ie. SQLExpress) you need to update the DBServer appSetting in config_service/ConfigServiceConsoleHost/App.config before running BuildDotNet.cmd Great work Avantika > Setup .NET Client/BS/OPS to get Active BS/OPS from config service > ------------------------------------------------------------------ > > Key: STONEHENGE-67 > URL: https://issues.apache.org/jira/browse/STONEHENGE-67 > Project: Stonehenge > Issue Type: New Feature > Reporter: Avantika Agrawal > Attachments: Stonehenge-67-additionalfiles.zip, Stonehenge-67-FINAL.patch, test-67.patch > > > Once the config service is created, hook up the .NET Client/BS/OPS to find the endpoints from the database > i.e. configuration should happen from the database rather than the config files - replicating the functionality of the PHP implementation -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From stonehenge-dev-return-1345djones@example.com Wed Jul 01 10:05:47 2009 Return-Path: <stonehenge-dev-return-1345djones@example.com> Delivered-To: djones@example.com Received: (qmail 69008 invoked from network); 1 Jul 2009 10:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 10:05:46 -0000 Received: (qmail 63113 invoked by uid 500); 1 Jul 2009 10:05:57 -0000 Delivered-To: djones@example.com Received: (qmail 63053 invoked by uid 500); 1 Jul 2009 10:05:57 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 63042 invoked by uid 99); 1 Jul 2009 10:05:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 10:05:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of djones@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f191.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 10:05:47 +0000 Received: by yxe29 with SMTP id 29so1062804yxe.32 for <djones@example.com>; Wed, 01 Jul 2009 03:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=gFW26Atxe+Rnn+/YGmpJdzDHENuht+xU8A9DiE+sXZE=; b=EmtFRkGmVrtdUTV23bQoybZx8PSNUZFBk2Ey4QcHB6chrkhH8Kd9HWIGNoxI6UnNq9 RsemvrWuT/uWOqD+tLAgPLyXTHv2T2vEChRy8ZpvjGPj6h/E4eWNTbF23n25Q9LJZ6Jf Ub9S405buIkEzfI9/7kS7o4IO6727keEeR9vo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=V1WENM1ow3z9wEj8lKlUERO1h1+8ozgh58MpWSRDU7JSvT7bQksk91FV6mkeZnAN+8 UZBu7zWm2eBADoOLAh/MLDLNW49y9cw22LERr9dr/2syozRts79H+JTeK4Ub81n2pFja jBe48KGU0rSN4ykhM7P/m9IQBadEgzw6DILNw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id l11mr8146720agc.75.1246442726559; Wed, 01 Jul 2009 03:05:26 -0700 (PDT) Date: Wed, 1 Jul 2009 18:05:26 +0800 Message-ID: <djones@example.com> Subject: Thoughts of Refactoring between Metro ver. and WSO2 ver. of StockTrader From: Ming Jin <djones@example.com> To: djones@example.com Cc: Kent Brown <djones@example.com>, Harold Carr <djones@example.com>, Mo Li <djones@example.com>, Ye Zheng <djones@example.com>, djones@example.com, djones@example.com Content-Type: multipart/alternative; boundary=0016361e86c0f31181046da20f4e X-Virus-Checked: Checked by ClamAV on apache.org --0016361e86c0f31181046da20f4e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, all We have thought about the refactoring points between Metro version and WSO2 version code again. One possible way to improve it is to make the two version share the same DAL. To reuse the DAL, we need to find out the differences between the DAOs. We've found that "Double" is the only one point which affects the DAOs. * The following code can be found in createOrder() method of MSSQLOrderDAO and MySQLOrderDAO in the Metro code: insertOrder.setFloat(4, order.getQuantity().floatValue()); It's the only difference between Metro version and Axis2 version in terms of DAL. Therefore, the minimal effort to share the DAL is to decouple CustomOrderBean and OrderDataBean. That is to say, we would like to remove the inhiratance relationship between CustomOrderBean and OrderDataBean. What do you think? any comments? Regards, ---- Ming Jin Consultant Thoughtworks, Inc --0016361e86c0f31181046da20f4e-- From stonehenge-dev-return-1346djones@example.com Wed Jul 01 11:12:01 2009 Return-Path: <stonehenge-dev-return-1346djones@example.com> Delivered-To: djones@example.com Received: (qmail 85918 invoked from network); 1 Jul 2009 11:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 11:12:01 -0000 Received: (qmail 23491 invoked by uid 500); 1 Jul 2009 11:12:12 -0000 Delivered-To: djones@example.com Received: (qmail 23444 invoked by uid 500); 1 Jul 2009 11:12:11 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 23434 invoked by uid 99); 1 Jul 2009 11:12:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 11:12:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of djones@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f191.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 11:12:03 +0000 Received: by yxe29 with SMTP id 29so1096304yxe.32 for <djones@example.com>; Wed, 01 Jul 2009 04:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=VCMQ9NRFfaaHiDOdhpGNm4A6YuS6IsWf2vKHXdKrYQQ=; b=Z83l2uh14ZhBGezyN8kdLSVd4uP0pwfhHA51MUFtt8cFxP9AaEX49PwYDUCK9TaMoT qZJMWESvwrTkUI6XSWP+hJtxdquegT/hnY5twrlAdFfTJM80PNlU5fRj0V4UOKZOkOw0 Q8Yj6J2JBlazt0fNx0nLHXy4tg61YcUpu9HoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=wpUkQ2ZxN9oya7QYrQjHTEEfsW3OOhC/Jzq+1aSQyaLQAW6YKMu9C8OBMKFE9Vij8b HuBxjIsIxP3eK7NhlpSSFlcjhdKDDr30pDCFiiPtVYCE10e0ZGADs/0us1DeV5b7R5vC VjM0vp3ao1o7elZp4xP/+r0yfre7hFMlnrgc4= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id l16mr8189669agb.91.1246446702818; Wed, 01 Jul 2009 04:11:42 -0700 (PDT) In-Reply-To: <djones@example.com> References: <djones@example.com> Date: Wed, 1 Jul 2009 19:11:42 +0800 Message-ID: <djones@example.com> Subject: Re: Thoughts of Refactoring between Metro ver. and WSO2 ver. of StockTrader From: Ming Jin <djones@example.com> To: djones@example.com Content-Type: multipart/alternative; boundary=0016361648b3f3f7be046da2fcd4 X-Virus-Checked: Checked by ClamAV on apache.org --0016361648b3f3f7be046da2fcd4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, all! In addition to the refactoring in my former message, we are trying to share DAL between BS and OP for metro version. But we do not want to check the generated code into repository as WSO2 code did. Here we've found there are some code is not generated in OP, such as MarketSummaryBean which is the parent class of CustomMarketSummaryBean. CustomMarketSummaryBean is used in MarketSummaryDAO. If we try to share DAO between BS and OP, this will cause compilation error. The reason caused this issue is the type definition difference in WSDL/XSD between BS and OP. Do you have any suggestion to make it better? Regards On Wed, Jul 1, 2009 at 6:05 PM, Ming Jin <djones@example.com> wrote: > Hi, all > > We have thought about the refactoring points between Metro version and WSO2 > version code again. One possible way to improve it is to make the two > version share the same DAL. > > To reuse the DAL, we need to find out the differences between the DAOs. > > We've found that "Double" is the only one point which affects the DAOs. > > * The following code can be found in createOrder() method of MSSQLOrderDAO > and MySQLOrderDAO in the Metro code: > insertOrder.setFloat(4, order.getQuantity().floatValue()); > > It's the only difference between Metro version and Axis2 version in terms > of DAL. > > Therefore, the minimal effort to share the DAL is to decouple > CustomOrderBean and OrderDataBean. That is to say, we would like to remove > the inhiratance relationship between CustomOrderBean and OrderDataBean. > > What do you think? any comments? > > Regards, > > ---- > Ming Jin > > Consultant > Thoughtworks, Inc > ------ Ming Jin Consultant Thoughtworks, Inc --0016361648b3f3f7be046da2fcd4-- From stonehenge-dev-return-1347djones@example.com Wed Jul 01 14:23:40 2009 Return-Path: <stonehenge-dev-return-1347djones@example.com> Delivered-To: djones@example.com Received: (qmail 58266 invoked from network); 1 Jul 2009 14:23:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 14:23:40 -0000 Received: (qmail 98344 invoked by uid 500); 1 Jul 2009 14:23:50 -0000 Delivered-To: djones@example.com Received: (qmail 98324 invoked by uid 500); 1 Jul 2009 14:23:50 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 98313 invoked by uid 99); 1 Jul 2009 14:23:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 14:23:50 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtprelay.hostedemail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 14:23:38 +0000 Received: from filter.hostedemail.com (ff-bigip1 [83.161.120.155]) by smtprelay02.hostedemail.com (Postfix) with SMTP id 287B92B7DC3 for <djones@example.com>; Wed, 1 Jul 2009 14:23:17 +0000 (UTC) X-Spam-Summary: 57,3.5,0,9e5cfafb74c38326,d41d8cd98f00b204,djones@example.com,djones@example.com:djones@example.com:djones@example.com,RULES_HIT:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:9731:10009,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none,Custom_rules:0:1:0 X-Session-Marker: 64616E406B756C702E636F6D X-Filterd-Recvd-Size: 6624 Received: from server.dankulp.com (server1.dankulp.com [83.161.120.155]) (Authenticated sender: djones@example.com) by omf01.hostedemail.com (Postfix) with ESMTP for <djones@example.com>; Wed, 1 Jul 2009 14:23:16 +0000 (UTC) Received: by server.dankulp.com (Postfix, from userid 5000) id 201F550707AB; Wed, 1 Jul 2009 10:23:16 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.hHT7Zkc6AC Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id E899250707A6; Wed, 1 Jul 2009 10:23:13 -0400 (EDT) From: Daniel Kulp <djones@example.com> To: djones@example.com Subject: Re: No committ mail (was RE: [jira] Updated: (STONEHENGE-55) Trying to buy or sell anything an amount larger than 3 digits throws an error in .Net stocktrader) Date: Wed, 1 Jul 2009 10:23:14 -0400 User-Agent: KMail/1.11.4 (Linux/2.6.30-gentoo-r1; KDE/4.2.4; x86_64; ; ) Cc: Kamaljit Bath <djones@example.com>, "djones@example.com" <djones@example.com> References: <djones@example.com> <djones@example.com> <djones@example.com> In-Reply-To: <djones@example.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <djones@example.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.1-gr1 I was apparently not a moderator for the commit list. I've been added so if I see something come through, I'll moderate it though. BTW: as things progress with Stonehenge, it would probably be good to get a one or two of you to become moderators instead of Paul and I. Something to think about. (That said, commit lists are not supposed to require moderation anymore, working with infra to figure out what is going on.) Dan On Tue June 30 2009 6:55:01 pm Kamaljit Bath wrote: > Daniel/Paul, > > Is this something that you have to do as mentors? Please let me know, > otherwise I will be happy to send mail to mailing list moderator to allow > commit messages from me to get sent to the Stonehenge commits list. > > Thanks > kamal > > -----Original Message----- > From: Nandana Mihindukulasooriya [mailto:djones@example.com] > Sent: Saturday, June 27, 2009 2:28 AM > To: djones@example.com > Subject: Re: No committ mail (was RE: [jira] Updated: (STONEHENGE-55) > Trying to buy or sell anything an amount larger than 3 digits throws an > error in .Net stocktrader) > > Hi Drew, > Probably this [1] should be the reason. We will get mails once the > list moderator approves them. > > thanks, > Nandana > > [1] - > http://djones@example.com/msg00014.ht >ml > > On Sat, Jun 27, 2009 at 12:09 PM, Drew Baird (Volt) > > <djones@example.com>wrote: > > Did anyone get commit mail from Kamal? > > I sync's and got his change but there was never a commit mail? > > Perhaps there is an infrastructure issue? This is Kamal's first commit. > > > > Could a Mentor tell us whether and where to elevate? > > > > Thanks! > > Drew > > > > > > ________________________________________ > > From: Kamaljit Bath [djones@example.com] > > Sent: Friday, June 26, 2009 2:21 PM > > To: djones@example.com > > Subject: RE: [jira] Updated: (STONEHENGE-55) Trying to buy or sell > > anything an amount larger than 3 digits throws an error in .Net > > stocktrader > > > > Ben - I have committed this patch. Please sync and make sure it is ok (I > > have still not seen the commit mail go by). You can resolve the issue. > > > > Kamal > > > > -----Original Message----- > > From: Ben Dewey (JIRA) [mailto:djones@example.com] > > Sent: Thursday, June 25, 2009 9:58 PM > > To: djones@example.com > > Subject: [jira] Updated: (STONEHENGE-55) Trying to buy or sell anything > > an amount larger than 3 digits throws an error in .Net stocktrader > > > > > > [ > > https://issues.apache.org/jira/browse/STONEHENGE-55?page=com.atlassian.ji > >ra.plugin.system.issuetabpanels:all-tabpanel] > > > > Ben Dewey updated STONEHENGE-55: > > -------------------------------- > > > > Attachment: Stonehenge-55-part2.patch > > > > Drew, > > > > There is an extra part2 to the patch that needs to be applied for it to > > work. Thanks to avantika for testing and finding this. > > > > -Ben > > > > > Trying to buy or sell anything an amount larger than 3 digits throws an > > > > error in .Net stocktrader > > > > ------------------------------------------------------------------------- > >------------------------ > > > > > Key: STONEHENGE-55 > > > URL: > > > https://issues.apache.org/jira/browse/STONEHENGE-55 Project: Stonehenge > > > Issue Type: Bug > > > Components: DOTNET_CLIENT > > > Affects Versions: M1 > > > Reporter: Chintana Wilamuna > > > Fix For: M2 > > > > > > Attachments: remove-comma.patch, Stonehenge-55-part2.patch, > > > > STONEHENGE-55.patch > > > > > Steps to reproduce, > > > 1) Start .Net stocktrader services > > > 2) Login and try to buy or sell an amount larger than 3 digits > > > This throws an ASP error. > > > Cause: If the value the user tries to buy or sell, let's say 1000. This > > > > is represented as "1,000" causing the Integer conversion to fail. > > > > > Quick fix: In StockTrade.aspx.cs line 72 and 73 change to the > > > following, > > > > getting rid of the comma: > > > SellQuantityRangeValidator.MaximumValue = > > > > holding.quantity.Replace(",", ""); > > > > > SellQuantity.Text = holding.quantity.Replace(",", > > > > ""); > > > > -- > > This message is automatically generated by JIRA. > > - > > You can reply to this email to add a comment to the issue online. > > -- > Nandana Mihindukulasooriya > WSO2 inc. > > http://nandana83.blogspot.com/ > http://www.wso2.org -- Daniel Kulp djones@example.com http://www.dankulp.com/blog From stonehenge-dev-return-1348djones@example.com Wed Jul 01 14:38:48 2009 Return-Path: <stonehenge-dev-return-1348djones@example.com> Delivered-To: djones@example.com Received: (qmail 63937 invoked from network); 1 Jul 2009 14:38:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 14:38:47 -0000 Received: (qmail 27923 invoked by uid 500); 1 Jul 2009 14:38:58 -0000 Delivered-To: djones@example.com Received: (qmail 27903 invoked by uid 500); 1 Jul 2009 14:38:58 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 27893 invoked by uid 99); 1 Jul 2009 14:38:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 14:38:58 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO smtprelay.hostedemail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 14:38:47 +0000 Received: from filter.hostedemail.com (ff-bigip1 [83.161.120.155]) by smtprelay03.hostedemail.com (Postfix) with SMTP id D516B1166CE0 for <djones@example.com>; Wed, 1 Jul 2009 14:38:26 +0000 (UTC) X-Spam-Summary: 57,3.5,0,5415357051a2dbae,d41d8cd98f00b204,djones@example.com,djones@example.com:djones@example.com:djones@example.com,RULES_HIT:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:9731:10009,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none,Custom_rules:0:1:0 X-Session-Marker: 64616E406B756C702E636F6D X-Filterd-Recvd-Size: 7148 Received: from server.dankulp.com (server1.dankulp.com [83.161.120.155]) (Authenticated sender: djones@example.com) by omf02.hostedemail.com (Postfix) with ESMTP for <djones@example.com>; Wed, 1 Jul 2009 14:38:26 +0000 (UTC) Received: by server.dankulp.com (Postfix, from userid 5000) id 1514127E0001; Wed, 1 Jul 2009 10:38:26 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.pc8fEy98JL Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 0517050707A6; Wed, 1 Jul 2009 10:38:24 -0400 (EDT) From: Daniel Kulp <djones@example.com> To: djones@example.com Subject: Re: No committ mail (was RE: [jira] Updated: (STONEHENGE-55) Trying to buy or sell anything an amount larger than 3 digits throws an error in .Net stocktrader) Date: Wed, 1 Jul 2009 10:38:24 -0400 User-Agent: KMail/1.11.4 (Linux/2.6.30-gentoo-r1; KDE/4.2.4; x86_64; ; ) Cc: Kamaljit Bath <djones@example.com>, "djones@example.com" <djones@example.com> References: <djones@example.com> <djones@example.com> <djones@example.com> In-Reply-To: <djones@example.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <djones@example.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=unavailable version=3.2.1-gr1 Actually, the list is/was mis-configured. Commit lists shouldn't require moderation. infra is looking into getting it configured properly. I see Kamal's commit message got "unstuck" and came through. That's a good start. Dan On Wed July 1 2009 10:23:14 am Daniel Kulp wrote: > I was apparently not a moderator for the commit list. I've been added so > if I see something come through, I'll moderate it though. > > BTW: as things progress with Stonehenge, it would probably be good to get > a one or two of you to become moderators instead of Paul and I. Something > to think about. > > (That said, commit lists are not supposed to require moderation anymore, > working with infra to figure out what is going on.) > > Dan > > On Tue June 30 2009 6:55:01 pm Kamaljit Bath wrote: > > Daniel/Paul, > > > > Is this something that you have to do as mentors? Please let me know, > > otherwise I will be happy to send mail to mailing list moderator to allow > > commit messages from me to get sent to the Stonehenge commits list. > > > > Thanks > > kamal > > > > -----Original Message----- > > From: Nandana Mihindukulasooriya [mailto:djones@example.com] > > Sent: Saturday, June 27, 2009 2:28 AM > > To: djones@example.com > > Subject: Re: No committ mail (was RE: [jira] Updated: (STONEHENGE-55) > > Trying to buy or sell anything an amount larger than 3 digits throws an > > error in .Net stocktrader) > > > > Hi Drew, > > Probably this [1] should be the reason. We will get mails once the > > list moderator approves them. > > > > thanks, > > Nandana > > > > [1] - > > http://djones@example.com/msg00014. > >ht ml > > > > On Sat, Jun 27, 2009 at 12:09 PM, Drew Baird (Volt) > > > > <djones@example.com>wrote: > > > Did anyone get commit mail from Kamal? > > > I sync's and got his change but there was never a commit mail? > > > Perhaps there is an infrastructure issue? This is Kamal's first commit. > > > > > > Could a Mentor tell us whether and where to elevate? > > > > > > Thanks! > > > Drew > > > > > > > > > ________________________________________ > > > From: Kamaljit Bath [djones@example.com] > > > Sent: Friday, June 26, 2009 2:21 PM > > > To: djones@example.com > > > Subject: RE: [jira] Updated: (STONEHENGE-55) Trying to buy or sell > > > anything an amount larger than 3 digits throws an error in .Net > > > stocktrader > > > > > > Ben - I have committed this patch. Please sync and make sure it is ok > > > (I have still not seen the commit mail go by). You can resolve the > > > issue. > > > > > > Kamal > > > > > > -----Original Message----- > > > From: Ben Dewey (JIRA) [mailto:djones@example.com] > > > Sent: Thursday, June 25, 2009 9:58 PM > > > To: djones@example.com > > > Subject: [jira] Updated: (STONEHENGE-55) Trying to buy or sell anything > > > an amount larger than 3 digits throws an error in .Net stocktrader > > > > > > > > > [ > > > https://issues.apache.org/jira/browse/STONEHENGE-55?page=com.atlassian. > > >ji ra.plugin.system.issuetabpanels:all-tabpanel] > > > > > > Ben Dewey updated STONEHENGE-55: > > > -------------------------------- > > > > > > Attachment: Stonehenge-55-part2.patch > > > > > > Drew, > > > > > > There is an extra part2 to the patch that needs to be applied for it to > > > work. Thanks to avantika for testing and finding this. > > > > > > -Ben > > > > > > > Trying to buy or sell anything an amount larger than 3 digits throws > > > > an > > > > > > error in .Net stocktrader > > > > > > ----------------------------------------------------------------------- > > >-- ------------------------ > > > > > > > Key: STONEHENGE-55 > > > > URL: > > > > https://issues.apache.org/jira/browse/STONEHENGE-55 Project: > > > > Stonehenge Issue Type: Bug > > > > Components: DOTNET_CLIENT > > > > Affects Versions: M1 > > > > Reporter: Chintana Wilamuna > > > > Fix For: M2 > > > > > > > > Attachments: remove-comma.patch, Stonehenge-55-part2.patch, > > > > > > STONEHENGE-55.patch > > > > > > > Steps to reproduce, > > > > 1) Start .Net stocktrader services > > > > 2) Login and try to buy or sell an amount larger than 3 digits > > > > This throws an ASP error. > > > > Cause: If the value the user tries to buy or sell, let's say 1000. > > > > This > > > > > > is represented as "1,000" causing the Integer conversion to fail. > > > > > > > Quick fix: In StockTrade.aspx.cs line 72 and 73 change to the > > > > following, > > > > > > getting rid of the comma: > > > > SellQuantityRangeValidator.MaximumValue = > > > > > > holding.quantity.Replace(",", ""); > > > > > > > SellQuantity.Text = holding.quantity.Replace(",", > > > > > > ""); > > > > > > -- > > > This message is automatically generated by JIRA. > > > - > > > You can reply to this email to add a comment to the issue online. > > > > -- > > Nandana Mihindukulasooriya > > WSO2 inc. > > > > http://nandana83.blogspot.com/ > > http://www.wso2.org -- Daniel Kulp djones@example.com http://www.dankulp.com/blog From stonehenge-dev-return-1349djones@example.com Wed Jul 01 15:24:27 2009 Return-Path: <stonehenge-dev-return-1349djones@example.com> Delivered-To: djones@example.com Received: (qmail 80266 invoked from network); 1 Jul 2009 15:24:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 15:24:27 -0000 Received: (qmail 7391 invoked by uid 500); 1 Jul 2009 15:24:37 -0000 Delivered-To: djones@example.com Received: (qmail 7330 invoked by uid 500); 1 Jul 2009 15:24:37 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 7320 invoked by uid 99); 1 Jul 2009 15:24:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 15:24:37 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO sca-es-mail-1.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 15:24:27 +0000 Received: from fe-sfbay-09.sun.com ([83.161.120.155]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n61FO7oG009212 for <djones@example.com>; Wed, 1 Jul 2009 08:24:07 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 08:24:06 -0700 (PDT) Received: from hcmb.local ([unknown] [83.161.120.155]) by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 08:24:06 -0700 (PDT) Date: Wed, 01 Jul 2009 08:24:06 -0700 From: Harold Carr <djones@example.com> Subject: Re: Initial Metro-based version of Stonehenge stocktrader application In-reply-to: <djones@example.com> Sender: djones@example.com To: djones@example.com Message-id: <djones@example.com> References: <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> <djones@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20090605) X-Virus-Checked: Checked by ClamAV on apache.org Hello Ben, I apologize for the delay. I have been traveling most of the month of June. It would be good to have a build.xml target for downloading the jars. That target should not be depended on by the build. It should just be a standalone target. Then the instructions should be updated to say to run that target first. Thanks, H Ben Dewey wrote: > Any thoughts from the metro folks about including the download of these dependencies in the build script? > > -Ben Dewey > > -----Original Message----- > From: Drew Baird (Volt) [mailto:djones@example.com] > Sent: Thursday, June 25, 2009 8:41 PM > To: djones@example.com > Subject: RE: Initial Metro-based version of Stonehenge stocktrader application > > Yes the jars need to go before we move to trunk. > > We need a way to make sure the jars are built and in a good location before building. So the answer on the lib dir is 'maybe' > > Drew > ________________________________________ > From: Ben Dewey [djones@example.com] > Sent: Thursday, June 25, 2009 5:37 PM > To: 'djones@example.com' > Subject: RE: Initial Metro-based version of Stonehenge stocktrader application > > Drew/Daniel, > > The metro contrib still contains (bs/ops)/lib folders with the log4j and commons jars. Do these need to be removed as well? I'm assuming there shouldn't be any jars in svn, is that correct? If so, should we just remove the lib folder all together? > > -Ben Dewey From stonehenge-dev-return-1350djones@example.com Wed Jul 01 15:25:14 2009 Return-Path: <stonehenge-dev-return-1350djones@example.com> Delivered-To: djones@example.com Received: (qmail 82019 invoked from network); 1 Jul 2009 15:25:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 15:25:14 -0000 Received: (qmail 8007 invoked by uid 500); 1 Jul 2009 15:25:24 -0000 Delivered-To: djones@example.com Received: (qmail 7954 invoked by uid 500); 1 Jul 2009 15:25:24 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 7944 invoked by uid 99); 1 Jul 2009 15:25:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 15:25:24 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO sca-es-mail-1.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 15:25:14 +0000 Received: from fe-sfbay-09.sun.com ([83.161.120.155]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n61FOscF009303 for <djones@example.com>; Wed, 1 Jul 2009 08:24:54 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 08:24:54 -0700 (PDT) Received: from hcmb.local ([unknown] [83.161.120.155]) by fe-sfbay-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 08:24:52 -0700 (PDT) Date: Wed, 01 Jul 2009 08:24:51 -0700 From: Harold Carr <djones@example.com> Subject: Re: [Vote]: Hosting Stonehenge endpoints at Apache In-reply-to: <djones@example.com> Sender: djones@example.com To: djones@example.com Message-id: <djones@example.com> References: <djones@example.com> <djones@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20090605) X-Virus-Checked: Checked by ClamAV on apache.org +1 From stonehenge-dev-return-1351djones@example.com Wed Jul 01 16:01:19 2009 Return-Path: <stonehenge-dev-return-1351djones@example.com> Delivered-To: djones@example.com Received: (qmail 2448 invoked from network); 1 Jul 2009 16:01:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 16:01:19 -0000 Received: (qmail 68183 invoked by uid 500); 1 Jul 2009 16:01:29 -0000 Delivered-To: djones@example.com Received: (qmail 68123 invoked by uid 500); 1 Jul 2009 16:01:29 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 68113 invoked by uid 99); 1 Jul 2009 16:01:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 16:01:29 +0000 X-ASF-Spam-Status: No, hits=-5.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of djones@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO smtp.microsoft.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 16:01:18 +0000 Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (83.161.120.155) by TK5-EXGWY-E801.partners.extranet.microsoft.com (83.161.120.155) with Microsoft SMTP Server (TLS) id 83.161.120.155; Wed, 1 Jul 2009 09:00:55 -0700 Received: from TK5EX14MBXC101.redmond.corp.microsoft.com ([83.161.120.155]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([83.161.120.155]) with mapi; Wed, 1 Jul 2009 09:00:54 -0700 From: "Drew Baird (Volt)" <djones@example.com> To: "djones@example.com" <djones@example.com> Subject: Changing emails related to accounts. Thread-Topic: Changing emails related to accounts. Thread-Index: Acn6ZRxh9Ut3nMzlSyyb082kn4IFCQ== Date: Wed, 1 Jul 2009 16:00:53 +0000 Message-ID: <djones@example.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_0F7128D363F8924AA01B29A83F29F8DE0106D0TK5EX14MBXC101red_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_0F7128D363F8924AA01B29A83F29F8DE0106D0TK5EX14MBXC101red_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable How do we change our primary email with respect to SVN, Jira and people.apa= che.org? I poked around and could not discover anything relevant. Thanks! Drew --_000_0F7128D363F8924AA01B29A83F29F8DE0106D0TK5EX14MBXC101red_-- From stonehenge-dev-return-1352djones@example.com Wed Jul 01 16:08:01 2009 Return-Path: <stonehenge-dev-return-1352djones@example.com> Delivered-To: djones@example.com Received: (qmail 5634 invoked from network); 1 Jul 2009 16:08:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jul 2009 16:08:01 -0000 Received: (qmail 78905 invoked by uid 500); 1 Jul 2009 16:08:11 -0000 Delivered-To: djones@example.com Received: (qmail 78880 invoked by uid 500); 1 Jul 2009 16:08:11 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 78870 invoked by uid 99); 1 Jul 2009 16:08:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 16:08:11 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO smtprelay.hostedemail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 16:07:59 +0000 Received: from filter.hostedemail.com (ff-bigip1 [83.161.120.155]) by smtprelay02.hostedemail.com (Postfix) with SMTP id B1E851B6ABEE for <djones@example.com>; Wed, 1 Jul 2009 16:07:38 +0000 (UTC) X-Spam-Summary: 50,0,0,cc1f32a25e3e1f9c,d41d8cd98f00b204,djones@example.com,djones@example.com:djones@example.com,RULES_HIT:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:7679:7903:8985:9025:9040:9388:10004,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none,Custom_rules:0:0:0 X-Session-Marker: 64616E406B756C702E636F6D X-Filterd-Recvd-Size: 2140 Received: from server.dankulp.com (server1.dankulp.com [83.161.120.155]) (Authenticated sender: djones@example.com) by omf04.hostedemail.com (Postfix) with ESMTP for <djones@example.com>; Wed, 1 Jul 2009 16:07:38 +0000 (UTC) Received: by server.dankulp.com (Postfix, from userid 5000) id 1DE9250707A8; Wed, 1 Jul 2009 12:07:38 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.1-gr1 (2007-05-02) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.Io1GqkYflj Received: from dilbert.localnet (c-24-91-141-225.hsd1.ma.comcast.net [83.161.120.155]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id 4005E50707A7; Wed, 1 Jul 2009 12:07:37 -0400 (EDT) From: Daniel Kulp <djones@example.com> To: djones@example.com Subject: Re: Changing emails related to accounts. Date: Wed, 1 Jul 2009 12:07:37 -0400 User-Agent: KMail/1.11.4 (Linux/2.6.30-gentoo-r1; KDE/4.2.4; x86_64; ; ) Cc: "Drew Baird (Volt)" <djones@example.com> References: <djones@example.com> In-Reply-To: <djones@example.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <djones@example.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-3.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.1-gr1 On Wed July 1 2009 12:00:53 pm Drew Baird (Volt) wrote: > How do we change our primary email with respect to SVN, Jira and > people.apache.org? I poked around and could not discover anything relevant. svn and people.apache.org are controlled by your ".forward" file in your home directory. (I think, although with the ldap things, that may be changing) JIRA is a setting in your account there. (although that MAY change if/when they switch JIRA to ldap) Dan > Thanks! > Drew -- Daniel Kulp djones@example.com http://www.dankulp.com/blog From stonehenge-dev-return-1353djones@example.com Thu Jul 02 06:55:39 2009 Return-Path: <stonehenge-dev-return-1353djones@example.com> Delivered-To: djones@example.com Received: (qmail 21593 invoked from network); 2 Jul 2009 06:55:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jul 2009 06:55:39 -0000 Received: (qmail 85437 invoked by uid 500); 2 Jul 2009 06:55:49 -0000 Delivered-To: djones@example.com Received: (qmail 85377 invoked by uid 500); 2 Jul 2009 06:55:49 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 85367 invoked by uid 99); 2 Jul 2009 06:55:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 06:55:49 +0000 X-ASF-Spam-Status: No, hits=-1.4 required=10.0 tests=RCVD_IN_DNSWL_MED,RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO sca-es-mail-1.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 06:55:39 +0000 Received: from fe-sfbay-10.sun.com ([83.161.120.155]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n626tIt2025009 for <djones@example.com>; Wed, 1 Jul 2009 23:55:18 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 23:55:18 -0700 (PDT) Received: from 83.161.120.155.in-addr.arpa ([unknown] [83.161.120.155]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <djones@example.com>; Wed, 01 Jul 2009 23:55:18 -0700 (PDT) Date: Wed, 01 Jul 2009 23:55:18 -0700 From: Harold Carr <djones@example.com> Subject: Re: Thoughts of Refactoring between Metro ver. and WSO2 ver. of StockTrader In-reply-to: <djones@example.com> Sender: djones@example.com To: djones@example.com Cc: Kent Brown <djones@example.com>, Mo Li <djones@example.com>, Ye Zheng <djones@example.com>, djones@example.com, djones@example.com Message-id: <djones@example.com> References: <djones@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20090605) X-Virus-Checked: Checked by ClamAV on apache.org Hello Ming Jin, > Therefore, the minimal effort to share the DAL is to decouple > CustomOrderBean and OrderDataBean. That is to say, we would like to remove > the inhiratance relationship between CustomOrderBean and OrderDataBean. Rather than decouple the inheritance relationship, why not just have a Metro version of CustomOrderBean (that inherits from the OrderDataBean generated by Metro's JAXB binding) and a Axis2 version of the CustomOrderBean (that inherits from the OrderDataBean generated by Axis2's AXIOM binding)? Regards, Harold From stonehenge-dev-return-1354djones@example.com Thu Jul 02 06:59:10 2009 Return-Path: <stonehenge-dev-return-1354djones@example.com> Delivered-To: djones@example.com Received: (qmail 22420 invoked from network); 2 Jul 2009 06:59:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jul 2009 06:59:09 -0000 Received: (qmail 88408 invoked by uid 500); 2 Jul 2009 06:59:20 -0000 Delivered-To: djones@example.com Received: (qmail 88349 invoked by uid 500); 2 Jul 2009 06:59:20 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 88339 invoked by uid 99); 2 Jul 2009 06:59:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 06:59:20 +0000 X-ASF-Spam-Status: No, hits=-1.4 required=10.0 tests=RCVD_IN_DNSWL_MED,RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO sca-es-mail-2.sun.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 06:59:08 +0000 Received: from fe-sfbay-10.sun.com ([83.161.120.155]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n626wkT4007437 for <djones@example.com>; Wed, 1 Jul 2009 23:58:46 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 23:58:46 -0700 (PDT) Received: from 83.161.120.155.in-addr.arpa ([unknown] [83.161.120.155]) by fe-sfbay-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <djones@example.com> for djones@example.com; Wed, 01 Jul 2009 23:58:46 -0700 (PDT) Date: Wed, 01 Jul 2009 23:58:46 -0700 From: Harold Carr <djones@example.com> Subject: Re: Thoughts of Refactoring between Metro ver. and WSO2 ver. of StockTrader In-reply-to: <djones@example.com> Sender: djones@example.com To: djones@example.com Message-id: <djones@example.com> References: <djones@example.com> <djones@example.com> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20090605) X-Virus-Checked: Checked by ClamAV on apache.org Hello Ming Jin, > In addition to the refactoring in my former message, we are trying to share > DAL between BS and OP for metro version. But we do not want to check the > generated code into repository as WSO2 code did. Definitely, for the Metro version we do NOT want to check in generated code. > Here we've found there are some code is not generated in OP, such as > MarketSummaryBean which is the parent class of CustomMarketSummaryBean. > CustomMarketSummaryBean is used in MarketSummaryDAO. Are you saying that this is not generated in the Metro version? > If we try to share DAO between BS and OP, this will cause compilation error. > > The reason caused this issue is the type definition difference in WSDL/XSD > between BS and OP. > > Do you have any suggestion to make it better? If someone can point out where the MarketSummary is defined in WSDL then perhaps the Metro version can generated it. Regards, H From stonehenge-dev-return-1355djones@example.com Thu Jul 02 09:09:31 2009 Return-Path: <stonehenge-dev-return-1355djones@example.com> Delivered-To: djones@example.com Received: (qmail 65477 invoked from network); 2 Jul 2009 09:09:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jul 2009 09:09:31 -0000 Received: (qmail 51023 invoked by uid 500); 2 Jul 2009 09:09:42 -0000 Delivered-To: djones@example.com Received: (qmail 50955 invoked by uid 500); 2 Jul 2009 09:09:41 -0000 Mailing-List: contact djones@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:djones@example.com> List-Unsubscribe: <mailto:djones@example.com> List-Post: <mailto:djones@example.com> List-Id: <stonehenge-dev.incubator.apache.org> Reply-To: djones@example.com Delivered-To: mailing list djones@example.com Received: (qmail 50945 invoked by uid 99); 2 Jul 2009 09:09:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:09:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of djones@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gx0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 09:09:32 +0000 Received: by gxk20 with SMTP id 20so2044105gxk.12 for <djones@example.com>; Thu, 02 Jul 2009 02:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=YzysYY1ntfs9/Xdt5WkkYP92Cql0M/vW7PlpTSB2XDs=; b=HYg/R7/BHz1jOdCbat/4B2ZdTVJFC9WYOcybMgpbDWB0RyfqkJU/e1WlMB5XNUS8ZW U7OvZgSZjGsjg2+A0biHFbhSn4iwF4FmFZsTKV7kK7xklD3ivOGRRGUzWctJ427Ct/pT P+V8LDj6Ow3mT/3/8Z7ewtfMosc+oMcto/l+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iiv+/WSJOeeBP2pfKy8mVHwU5XLJToN17TCor+X/w5wf1//6FiOD3yzOv/M0LLl5C1 hriaazbQJO24318v0hLRwveVc+/lsF/Z+hG+ZeLaw5hHQI4Rm42QaqW2pcprZCVHPTSX 9DJq6SAwU6kMjbyA4jcJlQONQq9cG3b6T6qcY= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id a16mr4607485agc.32.1246525751174; Thu, 02 Jul 2009 02:09:11 -0700 (PDT) In-Reply-To: <djones@example.com> References: <djones@example.com> <djones@example.com> Date: Thu, 2 Jul 2009 17:09:10 +0800 Message-ID: <djones@example.com> Subject: Re: Thoughts of Refactoring between Metro ver. and WSO2 ver. of StockTrader From: Ming Jin <djones@example.com> To: djones@example.com Cc: Kent Brown <djones@example.com>, Harold Carr <djones@example.com>, Mo Li <djones@example.com>, Ye Zheng <djones@example.com>, Ming Jin <djones@example.com>, djones@example.com, djones@example.com, djones@example.com Content-Type: multipart/alternative; boundary=0016361e88ca9a3949046db56433 X-Virus-Checked: Checked by ClamAV on apache.org --0016361e88ca9a3949046db56433 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, Harold! I think we should not have the CustomOrderBean for both Metro version and Axis2 version at the same time. As we metioned in the previous mail, the following code causes the difference between Metro version and Axis2 version: insertOrder.setFloat(4, order.getQuantity().floatValue()); The quantity field of CustomOrderBean is inherited from the generated code. Therefore, we can not override the getters and setters with different method signature. The root cause of this issue is inheritance relationship. From the design point of view, it is not a good design that the model(Custom*Bean) inherits from input/output code(the generated code). Because the model should be a stable concept in the code, and stable concept shouldn't depends on unstable concept, the generateded. The change of generated code would require us to change all the related codes. Current design is like this: DAL -> Custom*Bean -> Generated Code A better solution is to remove all inheritance relationship. We can provide a convertor which is outside Custom*Bean and the generated code. Better design is like this: DAL -> Custom*Bean <- converter -> Generated Code As the structure shows, the DAL part will be completely independent. We can easily share DAL part between Metro and WSO2. On the other hand, using this structure is easy to share DAL between BS and OP. As we metioned in one of the previous mail, the difficulty to share DAL is also due to the same dependency. On Thu, Jul 2, 2009 at 2:55 PM, Harold Carr <djones@example.com> wrote: > Hello Ming Jin, > > Therefore, the minimal effort to share the DAL is to decouple >> CustomOrderBean and OrderDataBean. That is to say, we would like to >> remove >> the inhiratance relationship between CustomOrderBean and OrderDataBean. >> > > Rather than decouple the inheritance relationship, why not just have a > Metro version of CustomOrderBean (that inherits from the OrderDataBean > generated by Metro's JAXB binding) and a Axis2 version of the > CustomOrderBean (that inherits from the OrderDataBean generated by Axis2's > AXIOM binding)? > > Regards, > Harold > -- Ming Jin Consultant Thoughtworks, Inc Mobile: 800.603.8285 Email: djones@example.com MSN: djones@example.com Blog: http://blogjava.net/mingj --0016361e88ca9a3949046db56433-- From stonehenge-dev-return-1356djones@example.com Thu Jul 02 18:00:31 2009 Return-Path: <stonehenge-dev-return-1356djones@example.com> Delivered-To: djones@example.com Received: (qmail 50767 invoked
{'source': 'Apache Software Foundation Public Mail Archives'}