[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tuscany-dev
Subject:    Tidying up Contribution Scanner API
From:       Luciano Resende <luckbr1975 () gmail ! com>
Date:       2009-12-16 17:38:38
Message-ID: 5a75db780912160938k2a7deb34l1b9737edac469e02 () mail ! gmail ! com
[Download RAW message or body]

Currently, the contribution scanner interface have two methods to
process contribution artifacts, the scan will return a list of URIs as
String, and then, in ContributionContentProcessor, we retrieve the
artifact URL for each URI.

I'd like to tide up this process, and have the scan return a list of a
object that would have both the artifact URI and URL... possibly
List<Artifact>. This would allow retrieving the necessary basic
artifact information in one call instead of duplicating calls which
might have performance impact in some environments where contribution
information is scattered in multiple locations.

-- 
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic