Commit Graph

103 Commits

Author SHA1 Message Date
Brett Porter f56609efad [MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Brett Porter 966d79546d [MRM-1025] remove artifact deletion and update consumer. remove archiva-database module
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:18:33 +00:00
Brett Porter 0960c24cfb [MRM-1301] add back summary statistics for various counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 02:25:42 +00:00
Brett Porter 0f4bec3049 [MRM-1301] add back problem reporting for invalid / missing POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:38:50 +00:00
Brett Porter 4331620db6 [MRM-1301] migrate reports to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891064 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:07:36 +00:00
Brett Porter a08431ea1a [MRM-1300] move search and find artifact action over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 08:22:22 +00:00
Brett Porter 99765460e0 [MRM-1299] migrate RSS from the database to the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:08:21 +00:00
Brett Porter 1dad23aaf3 [MRM-1293] adjust the EditManagedRepositoryAction to delete statistics when the repository location changes.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888185 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:27:58 +00:00
Brett Porter 7c7fffc71c [MRM-1293] introduce repository statistics as a new plugin that operates over the metadata repository. Currently a work in progress - repository size statistics are not stored, and only the scanner and scheduler have been hooked in (meaning reports will be out of date)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888164 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 22:32:10 +00:00
Brett Porter 7a63bee6de [MRM-1025] remove project model as this is all now in the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886037 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 02:33:02 +00:00
Brett Porter 4102a4a916 [MRM-1025] split the scheduler into modules to isolate database and indexer dependent code
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882207 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:16:20 +00:00
Brett Porter 644537ee8b cleanup javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882063 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:18:49 +00:00
Brett Porter e89326d687 [MRM-1025] merge -r721944:723577 from former MRM-1025 branch, now aligned to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825867 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:35:38 +00:00
Brett Porter 0cf3f93e5a [MRM-1264] reduce memory used by indexing process
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825082 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:27:48 +00:00
Brett Porter accfd9680f unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825080 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:19:31 +00:00
Maria Odea B. Ching 40e247c7e4 [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o add checkbox for processing all artifacts beside Scan Repository Now button in repositories page
o scan all artifacts if flag is set
o added unit tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816084 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:48:55 +00:00
Maria Odea B. Ching 5e5fa749a2 [MRM-1212]/[MRM-1197] do not execute create-missing-checksum and metadata-updater consumers during webdav deployment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798403 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 05:04:44 +00:00
Maria Odea B. Ching 02a22f45a5 [MRM-1161], [MRM-1179], [MRM-1143] and [MRM-1160]
o upgraded nexus indexer to 2.0.0
o queue all indexing tasks to avoid interrupting a current indexing task being executed
o cleaned up nexus indexer and index cleanup consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777816 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:28:12 +00:00
Maria Odea B. Ching 8b08426a74 o changed log level of default proxy connectors to debug and warn
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777008 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 08:23:09 +00:00
Brett Porter 3b9173e74f [MRM-1147] handling leading / on whitelists is ambiguous
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756012 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 14:12:57 +00:00
Brett Porter 6095cf8484 only create the working directory at the point it is needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755844 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 06:09:14 +00:00
Brett Porter ad7be3a3fc clean up warnings
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755287 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:47:25 +00:00
Brett Porter 537ff689e7 [MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
Brett Porter 12c36ed347 [MRM-1098] upgrade to wagon 1.0-beta-5 and remove workaround that was needed previously
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747621 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 00:11:47 +00:00
James William Dumay 77481fb93c MRM-1084 - Upgrade modello maven plugin to 1.0 to support Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 06:47:36 +00:00
Brett Porter f578399872 remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
James William Dumay ae5ec2bfeb MRM-996 - HttpProxyTransferTest fails on Windows. Thanks Martin Cooper
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@713648 13f79535-47bb-0310-9956-ffa450edef68
2008-11-13 05:59:03 +00:00
James William Dumay 2903962dfa MRM-541 - convenient way to take Archiva proxies "offline"
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-541@687001 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 09:12:41 +00:00
James William Dumay e5be21e4bb MRM-541 - convenient way to take Archiva proxies "offline"
* Implemented UI for enabling/disabling proxy connectors
* changes to RepositoryProxyConnectors to skip offline connectors



git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-541@686984 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 08:45:45 +00:00
James William Dumay c43c6b90a6 MRM-907 - Remove VersionedReference/ProjectReference/ArtifactReference from RepositoryProxyConnectors
* A few more null checks for good measure.
* Metadata should always be updated even if the file does not exist. (wsmoak will love this, no more having to touch files).



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@685748 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 02:17:16 +00:00
James William Dumay 384b971464 MRM-907 - Remove VersionedReference/ProjectReference/ArtifactReference from RepositoryProxyConnectors
* Merging from https://svn.apache.org/repos/asf/archiva/branches/metadata-rejig-1.2



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@685423 13f79535-47bb-0310-9956-ffa450edef68
2008-08-13 03:09:52 +00:00
James William Dumay b1cfd31b85 Moving utility methods to end of class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@684631 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 04:52:39 +00:00
James William Dumay b40328492a MRM-906 - Proxy repository operations should not be done in place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@684629 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 04:28:05 +00:00
Brett Porter 28c3b26be0 add proxy logging in debug mode
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680917 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 06:19:23 +00:00
Brett Porter 18ae4a35cb improve logging for remote failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680769 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 16:59:43 +00:00
Brett Porter e157aed188 [MRM-631] ensure wagon lookups get a new instance on each request, reset HTTP properties after request
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680755 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 16:24:02 +00:00
Brett Porter 03bc6a82ef [MRM-884] network proxy doesn't work
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680127 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 15:23:30 +00:00
Brett Porter caab5531c0 [MRM-876] don't grab the remote file if it exists in the managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677852 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 08:16:24 +00:00
Brett Porter 28e545b65a [MRM-876] let Archiva proxy arbitrary paths, particularly allowing it for pre-emptive proxying of support files when requested before the artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677828 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 05:47:04 +00:00
Nicolas De Loof 15b6ddae0b MRM-869
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675174 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 14:00:22 +00:00
Nicolas De Loof a693bc6872 regression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675159 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 13:19:04 +00:00
Nicolas De Loof 6ce6a9c218 MRM-869
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675141 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 12:19:05 +00:00
James William Dumay d07d790c54 MRM-859 - Use File.createTempFile() when downloading files from a remote repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673685 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 14:16:56 +00:00
Brett Porter 45fba2c216 cache not found consistently between checksums and regular files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@673224 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 22:52:48 +00:00
James William Dumay 03584684d1 Moving RepositoryServlet to its new home in archiva-webdav. Thanks to Brett for helping out with the crazy failing tests.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@661174 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 01:49:41 +00:00
Maria Odea B. Ching a8bc40dbd4 [MRM-773]
-added the servlet that would handle the rss feed requests
-created tests for the servlet
-removed thrown exception in getSpringConfigLocation() that is being overridden in PlexusInStringTestCase
-updated jsps to the new rss feed urls


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652230 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 02:18:43 +00:00
Brett Porter cf7e824bfa remove bad plexus descriptor requirement since it was removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648990 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 07:38:15 +00:00
Brett Porter db51c1b590 remove all traces of the Plexus container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 04:58:17 +00:00
Brett Porter 00ccbaa3e2 use the correct maven2 type for a maven2 plugin request to fix test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646431 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 16:36:19 +00:00
Brett Porter 28e54029c0 [MRM-159] should not respond with a 404 if proxying a file results in a remote error
Merged from: r644205, 644275


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644276 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 12:03:54 +00:00
Brett Porter a05f42cc0e restructure according to discussion on the dev list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 03:09:22 +00:00