You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2009/12/16 19:28:18 UTC
[jira] Created: (TUSCANY-3395) Tidying up Contribution Scanner API
Tidying up Contribution Scanner API
-----------------------------------
Key: TUSCANY-3395
URL: https://issues.apache.org/jira/browse/TUSCANY-3395
Project: Tuscany
Issue Type: Improvement
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-2.0
Reporter: Luciano Resende
Assignee: Luciano Resende
Fix For: Java-SCA-2.0
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TUSCANY-3395) Tidying up Contribution Scanner API
Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende resolved TUSCANY-3395.
--------------------------------------
Resolution: Fixed
Fixed, we now return a artifact list as a result of contribution scan:
List<Artifact> scan(Contribution contribution) throws ContributionReadException;
> Tidying up Contribution Scanner API
> -----------------------------------
>
> Key: TUSCANY-3395
> URL: https://issues.apache.org/jira/browse/TUSCANY-3395
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-2.0
> Reporter: Luciano Resende
> Assignee: Luciano Resende
> Fix For: Java-SCA-2.0
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.