Commit Graph

130 Commits

Author SHA1 Message Date
Brett Porter 479f10cb7f [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053820 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:44:10 +00:00
Brett Porter ed717a4b5b [MRM-1327] assign node types to each different node so that they can be easily distinguished from each other when querying or traversing. Correct bug where projects would appear as namespaces and vice-versa.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 02:30:09 +00:00
Brett Porter 6673c15740 [MRM-1327] don't auto-save artifact updates - this was only there for testing purposes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053784 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:55:15 +00:00
Brett Porter de23f7ef3f [MRM-1327] make sure getArtifactsByDateRange and getArtifactsByChecksum query is restricted to the right repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053783 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:41:07 +00:00
Brett Porter e28ae522d1 [MRM-1327] make sure getArtifacts query is restricted to the right repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053780 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:29:50 +00:00
Brett Porter 201306c679 [MRM-1327] prevent facets being returned as artifact versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:23:28 +00:00
Brett Porter 6ff9147139 [MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
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 34638d4e67 clean up the "TODO" list, and mark those that are more important as "FIXME"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +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
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter 2a6a4e570f [MRM-1327] remove unnecessary facet node for project versions, and ensure artifact facet properties are correctly removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051444 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 10:16:04 +00:00
Brett Porter 5622b1c569 [MRM-1327] re-arrange utility methods, and use search for retrieving artifacts by date
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051396 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 07:21:44 +00:00
Brett Porter 4423d46b4f [MRM-1327] very rough prototype of a JCR based storage mechanism. Passes tests, but needs to be cleaned up and properly integrated, then tested for performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1050283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 06:26:09 +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
Maria Odea B. Ching f4732a184a fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:20:58 +00:00
Maria Odea B. Ching 8891e9fdd2 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o removed project metadata custom tag
o enable delete of generic metadata properties
o added unit tests for adding and deleting properties
o clear facet properties read from file before doing the update so that removed facet properties are not retained when updating project version metadata


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952127 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:40:26 +00:00
Brett Porter 203660343d [MRM-1327] make sorting more consistent for other implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924830 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:33:12 +00:00
Brett Porter 1ba8d3688a [MRM-1327] make sorting more consistent for other implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924779 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:03:26 +00:00
Brett Porter 1d5a085355 [MRM-1282] consistency in parameter naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924775 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:47:35 +00:00
Brett Porter 4c5672c59e [MRM-1327] abstract test case so that multiple implementations can use it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924641 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:34:55 +00:00
Brett Porter 79189ae0ea [MRM-1366] restore missing method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924162 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 05:35:59 +00:00
Brett Porter 2e9c35d4aa [MRM-1329] Start to revise Javadoc of APIs
- additionally, add projectVersion to the ArtifactMetadata so that the full coordinate is available.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@923520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:21:13 +00:00
Brett Porter d6c33feff1 [MRM-1282] remove use of repository layer in favour of storage API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921423 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:15:21 +00:00
Brett Porter 17348a45ce [MRM-1282] remove duplicated artifact population, ensuring the metadata consumer now sets facets correctly too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:55:59 +00:00
Brett Porter ca5684b38f [MRM-1282] Repository Path Translation consolidation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:47:30 +00:00
Brett Porter 780176f7f5 [MRM-1360] move type population into Maven 2 plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921224 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:02:48 +00:00
Brett Porter 989f143a5f [MRM-1360] move the maven 2 repository plugin to use the shared test repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 01:38:29 +00:00
Brett Porter cd9c1097d1 [MRM-1282] start to implement maven metadata for artifacts, splitting from existing sources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 08:00:25 +00:00
Brett Porter af2a929978 [MNG-1301] remove the problem reports dependency on the repository layer, start to migrate path parsing into metadata API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920649 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 04:24:32 +00:00
Brett Porter 7d462ad3fe [MRM-1282] move the content into the repository data directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910504 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 12:44:12 +00:00
Brett Porter b10994cdcd further migrate metadata documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908960 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 13:27:56 +00:00
Brett Porter f393ef382c migrate metadata documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908914 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 10:34:59 +00:00
Brett Porter 666af8db99 start developer documentation for the branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908844 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 05:29:11 +00:00
Brett Porter 0e58834406 [MRM-1282] ensure repository metadata is deleted when repository is
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900685 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:29:54 +00:00
Brett Porter 606c82cbca merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter 685419f082 [MRM-1282] update documentation of content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900604 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 23:20:59 +00:00
Brett Porter 1f1252456a [MRM-1283] keep track of incomplete metadata so that it can self correct and show a meaningful message to the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893691 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:02:11 +00:00
Brett Porter 79de06cf3e [MRM-1283] propagate errors occurring during resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 02:40:57 +00:00
Brett Porter b85d4d795b [MRM-1282] additional logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:00:36 +00:00
Brett Porter 7a2047d3fe [MRM-1282] add some logging with regard to namespaces and resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 10:34:07 +00:00
Brett Porter 62e051806e [MRM-1293] align the documented content model to the implementation for the statistics nodes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891520 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 02:00:27 +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 2c63e15d42 [MRM-1282] make artifacts load metadata on the fly from a maven2 repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889083 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:16:11 +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 49157f1525 [MRM-1025] fill out more of the information in the metadata creation consumer to make it consistent with the current database record creation consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886126 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 11:54:28 +00:00
Brett Porter 42122ac3df [MRM-1025] add other properties to the content model from maven metadata and filesystem
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886053 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 05:34:27 +00:00
Brett Porter 92ff5796fc [MRM-1025] add references to the content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886049 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 04:52:12 +00:00
Brett Porter b4a510f1cd [MRM-1025] update the content model with information from the former project model database. Not all of this is stored in the current implementation as it wasn't previously used.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886048 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 04:45:50 +00:00
Brett Porter a56dfc7a12 [MRM-1283] a further slight improvement to performance of on-demand resolution from storage
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885100 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 14:51:55 +00:00
Brett Porter 3d61eecdc4 [MRM-1283] improve performance of on-demand resolution from storage. Still could be improved.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885095 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 14:28:30 +00:00
Brett Porter 61745667ab [MRM-1283] intercept requests for browsing and use the repository storage to determine values if not in metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885072 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 08:32:21 +00:00
Brett Porter c79221c997 [MRM-1283] remove legacy model intermediatary
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 23:39:42 +00:00
Brett Porter 2721d7bf8d [MRM-1283] moved browseArtifact() functionality over to metadata repository and remove repositoryBrowsing component
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885001 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:50:34 +00:00
Brett Porter c5cb5db5c8 [MRM-1283] moved first part of browse() functionality over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884866 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:09:04 +00:00
Brett Porter 9ca17ec770 [MRM-1283] migrate dependees() / "used by" tab to metadata repository and remove repositoryBrowsing from ShowArtifactAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884727 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 00:16:19 +00:00
Brett Porter cd4c3cb104 [MRM-1283] migrate dependencies() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 11:49:56 +00:00
Brett Porter bf527dc936 [MRM-1283] migrate mailingLists() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884414 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 06:44:40 +00:00
Brett Porter 9dd7217b10 [MRM-1282] expand on comment for future reference
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884377 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:51:15 +00:00
Brett Porter 3529172859 [MRM-1282] support storing facet content in the file metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884372 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:24:35 +00:00
Brett Porter 9062810001 [MRM-1282] store more of the content in the file metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884177 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 16:24:55 +00:00
Brett Porter 91cb91a8a2 [MRM-1282] fix some problems with the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884134 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 15:18:54 +00:00
Brett Porter 7c7f2cfd6d [MRM-1282] improve exception handling
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884066 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 12:17:38 +00:00
Brett Porter 78191d6285 [MRM-1282] more reading of Maven POM into metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884062 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:45:49 +00:00
Brett Porter 8cd001c36c [MRM-1282] note a fix that is needed sooner to restore legacy storage capabilities
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883966 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 03:14:29 +00:00
Brett Porter 46fa883487 [MRM-1282] clear up confusing "build" terminology, instead using project version (1.0-SNAPSHOT) and artifact version (1.0-20091112.0123456-1)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883965 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 03:11:22 +00:00
Brett Porter d9e22fa778 [MRM-1282] introduce a metadata resolver API that will allow just-in-time addition to the content repository and the ability to introduce proxying
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883936 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:45:57 +00:00
Brett Porter 627ad47211 [MRM-1283] start to migrate browse functionality to use the content repository. At present, this does everything except the just-in-time processing of models that haven't been stored yet
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883603 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 06:26:04 +00:00
Brett Porter 76eeda51bb [MRM-1282] additional clarification of notes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 02:09:06 +00:00
Brett Porter 05d2784124 [MRM-1282] load content only from a single node at a time
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882532 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:14:04 +00:00
Brett Porter b1866d7dd0 more interesting fields to remember
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882519 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:51:59 +00:00
Brett Porter f092d04e90 [MRM-1282] a couple more notes on the content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882458 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:10:02 +00:00
Brett Porter d082c57592 [MRM-1282] add a draft content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882417 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 05:07:04 +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