From: Olivier Lamy Date: Thu, 6 Oct 2011 13:43:07 +0000 (+0000) Subject: fix list of consumers X-Git-Tag: archiva-1.4-M1~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6a448659f7439a41b5251c71d2faadf90f51857;p=archiva.git fix list of consumers git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179624 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-docs/src/site/apt/adminguide/consumers.apt b/archiva-docs/src/site/apt/adminguide/consumers.apt index 9c71a78e9..2846296a3 100644 --- a/archiva-docs/src/site/apt/adminguide/consumers.apt +++ b/archiva-docs/src/site/apt/adminguide/consumers.apt @@ -4,7 +4,7 @@ Maria Odea Ching Olivier Lamy ------ - 2011-09-29 + 2011-10-06 ------ ~~ Licensed to the Apache Software Foundation (ASF) under one @@ -29,8 +29,8 @@ Understanding Consumers in Apache Archiva - Archiva makes use of the concept of consumers. Consumers are components which consumes or processes an artifact. There are 2 types - of consumers in Archiva: repository content consumers and database consumers. + Archiva makes use of the concept of consumers. Consumers are components which consumes or processes an artifact. There is on type + of consumers in Archiva: repository content consumers. * Repository Content Consumers @@ -49,8 +49,10 @@ Understanding Consumers in Apache Archiva * - Updates artifact metadata files depending on the content of the repository. * - Removes old snapshots from the repository either by the number of days old or by the retention count. - - * - Adds the artifact (in the form of ArchivaArtifact) to the database. - - * - Validates the checksum files of the artifact. + + * - Validates the checksum files of the artifact. + + * - Take an artifact off of disk and put it into the metadata repository. + + * - Search the artifact repository of known SHA1 Checksums for potential duplicate artifacts. diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java index 3feace003..208bf95cd 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java @@ -46,7 +46,7 @@ import java.util.List; * * @version $Id$ */ -@Service( "knownRepositoryContentConsumer#validate-checksum" ) +@Service( "knownRepositoryContentConsumer#validate-checksums" ) @Scope( "prototype" ) public class ValidateChecksumConsumer extends AbstractMonitoredConsumer diff --git a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java index bbc2faaac..3b4917390 100644 --- a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java +++ b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java @@ -54,7 +54,7 @@ import java.util.Date; import java.util.List; /** - * Search the database of known SHA1 Checksums for potential duplicate artifacts. + * Search the artifact repository of known SHA1 Checksums for potential duplicate artifacts. *

* TODO: no need for this to be a scanner - we can just query the database / content repository to get a full list *