From stonehenge-dev-return-1704-apmail-incubator-stonehenge-dev-archive=incubator.apache.org@incubator.apache.org Wed Aug 19 15:42:37 2009 Return-Path: Delivered-To: apmail-incubator-stonehenge-dev-archive@minotaur.apache.org Received: (qmail 28133 invoked from network); 19 Aug 2009 15:42:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 15:42:37 -0000 Received: (qmail 77801 invoked by uid 500); 19 Aug 2009 15:42:56 -0000 Delivered-To: apmail-incubator-stonehenge-dev-archive@incubator.apache.org Received: (qmail 77754 invoked by uid 500); 19 Aug 2009 15:42:56 -0000 Mailing-List: contact stonehenge-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stonehenge-dev@incubator.apache.org Delivered-To: mailing list stonehenge-dev@incubator.apache.org Received: (qmail 77733 invoked by uid 99); 19 Aug 2009 15:42:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 15:42:56 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of scott_golightly@hotmail.com designates 65.55.34.157 as permitted sender) Received: from [65.55.34.157] (HELO col0-omc3-s18.col0.hotmail.com) (65.55.34.157) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 15:42:44 +0000 Received: from COL118-W9 ([65.55.34.137]) by col0-omc3-s18.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 19 Aug 2009 08:42:23 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c5c62022-4270-413a-8e4e-abc003ddd368_" X-Originating-IP: [76.8.221.88] From: Scott Golightly To: Stonehenge Development CC: Kent Brown , Harold Carr , , , , Subject: RE: Proposal about setting configuration service url Date: Wed, 19 Aug 2009 09:42:23 -0600 Importance: Normal In-Reply-To: <2f7a32570908190223h5f8f8a17xf12e1026fd370d56@mail.gmail.com> References: <2f7a32570908190223h5f8f8a17xf12e1026fd370d56@mail.gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 19 Aug 2009 15:42:23.0510 (UTC) FILETIME=[A538AB60:01CA20E3] X-Virus-Checked: Checked by ClamAV on apache.org --_c5c62022-4270-413a-8e4e-abc003ddd368_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable +1 I agree that having only 1 place to change the configuration and having = changes appear in all layers is a good idea. =20 Scott Golightly =20 > Date: Wed=2C 19 Aug 2009 17:23:35 +0800 > Subject: Proposal about setting configuration service url > From: skyairmj@gmail.com > To: stonehenge-dev@incubator.apache.org > CC: Kent.Brown@microsoft.com=3B Harold.Carr@sun.com=3B mli@thoughtworks.c= om=3B MJin@thoughtworks.com=3B ynjia@thoughtworks.com=3B aagrawal@wharton.u= penn.edu >=20 > Hi=2C there >=20 > We are working on the function of setting the Configuration Service URL o= n > the UI >=20 > We found that in the trade client of .NET version=2C when we set the > Configuration Service URL on the UI=2C it only changes the Configuration > Service URL for the trade client but not the BS=2C which still gets the > Configuration Service URL from the config file. Therefore we have to set = the > Configuration Service URL twice in two difference places. As a result=2C = the > trade client and BS may use different config service. >=20 > What we want to propose is to save the URL into DB. In this way we just > only need to set the Configuration Service URL for both trade client and = BS > once. >=20 > The proposal about setting Configuration Service URL is as following: > 1. Add a new table named =91configService=92 in DB. The new table has two > columns (NAME=2C URL). And we need constrain the table only has one recor= d. > In this way=2C the trade client and BS will get the config service > URL from configService table by default. > 2. When user enters Configuration Service URL=2C and clicks the =91Set=92 > button. > 3. The Configuration Service URL will be saved to table > =91configService=92=2C like > ('config_service'=2C http://localhost:7000/tradeconfigservice=92). > 4. Trade client and BS will get the Configuration Service URL from > table =91configService=92. >=20 > In this case=2C all the trade client and BS of different version(such as = .NET=2C > Metro) will use the same config service=2C and we only need to set the > Configuration Service URL once. >=20 > Would you like to give us some suggestion about this proposal? >=20 > Thanks a lot . >=20 > --=20 > Ming Jin >=20 > Consultant > Thoughtworks=2C Inc --_c5c62022-4270-413a-8e4e-abc003ddd368_--