From continuum-dev-return-5461-apmail-maven-continuum-dev-archive=maven.apache.org@maven.apache.org Thu Dec 21 23:12:04 2006 Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 67385 invoked from network); 21 Dec 2006 23:12:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Dec 2006 23:12:03 -0000 Received: (qmail 70845 invoked by uid 500); 21 Dec 2006 23:11:55 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 70789 invoked by uid 500); 21 Dec 2006 23:11:52 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 70768 invoked by uid 99); 21 Dec 2006 23:11:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2006 15:11:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jesse.mcconnell@gmail.com designates 66.249.82.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Dec 2006 15:11:08 -0800 Received: by wx-out-0506.google.com with SMTP id t14so2595433wxc for ; Thu, 21 Dec 2006 15:10:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ggi1XRo7DM8oKPexOk0aEyw3WEkCFiIe/ygs0IQT5gveL+elA+eFuISsNSD0Y9dvISj0n/TI+yLjTOapa8vhDru+S2wGyJUpWkoqq+HDMMmHaBBF0nj2GtLq+4PbD5adG73OxFOD+OvuIOJxkDLi4CbBLfIOGbdIhaJIMTHT+og= Received: by 10.90.103.2 with SMTP id a2mr8997505agc.1166742618175; Thu, 21 Dec 2006 15:10:18 -0800 (PST) Received: by 10.90.35.17 with HTTP; Thu, 21 Dec 2006 15:10:18 -0800 (PST) Message-ID: Date: Thu, 21 Dec 2006 21:10:18 -0200 From: "Jesse McConnell" To: continuum-dev@maven.apache.org Subject: Re: short term branch for project/group keys In-Reply-To: <458B0A60.2020304@israfil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <458B0A60.2020304@israfil.net> X-Virus-Checked: Checked by ClamAV on apache.org The web pages use a combination of id's which are currently jpox id's and in some places the actual freeform name string is being passed around on the URL in order to influence program logic and security decisions.. all of that is what I want to unite behind stronger typed string keys. jesse On 12/21/06, Christian Edward Gruber wrote: > Sounds great to me. But I'm confused. Are the api's passing around > "keys" as in database keys (id), or so-called business keys, i.e. the > project group's text id and the project's text id? I presume the > latter, given the earlier discussions. > > Christian. > > Jesse McConnell wrote: > > I am thinking about pulling a short term branch of continuum with > > rahul and working on getting everything converted to using a string > > based key project and project group reference in all apis and in all > > of the UI decision making items. He has tomorrow off so I think that > > unless anyone has any big issues with it we'll try and make that > > branch and work on it tomorrow. > > > > the end result of it would be: > > > > * int id's for project and project group in the model are for internal > > store usage > > * name's for project and project group are for presentation purposes only > > * key's are for all api usage and passing around un URL's etc. > > > > some quick benefits are: > > > > * consistency across all apis and url manipulations > > * ability to add quick url rewriting for direct linking of projects > > foo.org/Doxia/Core > > * common keys across running continuum instances for clustering > > > > jesse > > > > > -- > > *christian** gruber + process coach and architect* > > *Israfil Consulting Services Corporation* > > *email** cgruber@israfil.net + bus 905.640.1119 + mob 416.998.6023* > > > -- jesse mcconnell jesse.mcconnell@gmail.com