Commit Graph

3488 Commits

Author SHA1 Message Date
Brett Porter 8aacc3cd0b [MRM-1443, MRM-1327] change to JSR-170's SQL queries to avoid the problem in JackRabbit 2.2.0 with ISDESCENDANTNODE and a large number of nodes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053857 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 11:38:35 +00:00
Brett Porter 6e782b161c [MRM-1443, MRM-1327] properly restrict per repository and improve performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053840 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 10:03:44 +00:00
Brett Porter 23a09c2024 [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
- updates to other mock repositories

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +00:00
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 bf3058dbeb [MRM-1327] save changes after metadata is added / removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053779 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:14:52 +00:00
Brett Porter 8c5de76d3b Customise settings so that you can debug the cargo instance, and show tests to output as they progress
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053778 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:05:58 +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 2700c684dd back to 2.5 again due to SUREFIRE-679
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053621 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 11:58:45 +00:00
Brett Porter ce25807cd6 upgrade Surefire to latest version again
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053620 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 11:51:22 +00:00
Brett Porter 653a42283b [MRM-1330] problem-reports is decoupled
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053608 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 10:44:09 +00:00
Brett Porter 53c1188710 [MRM-1330] correct bug - ensure parsed model from storage gets added to content repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053567 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 08:15:02 +00:00
Brett Porter e7c8bea2e6 [MRM-1330] update DuplicateArtifactsConsumer to the session-based API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053554 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 07:06:17 +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 a44b2ac9dd cache has moved to a different spring ID - use the default one from the archiva-policies module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052163 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:18:17 +00:00
Brett Porter 091ebb7aea avoid exception if the scheduler never started
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052162 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:15:17 +00:00
Brett Porter cdcc0f4ded move cache configuration into Spring context file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052117 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 00:19:22 +00:00
Brett Porter 1055953866 2.6 also has a problem
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051857 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 11:45:33 +00:00
Brett Porter 30e7377a3d back up a version so that errors are detected
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051822 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:47:46 +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 f9cd1037d1 ignore target
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051758 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 05:25:45 +00:00
Brett Porter eff60e10de [MRM-1327] instantiate the repository via Spring and avoid hard-coding
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051741 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 03:12:51 +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 1ff88d24fe [MRM-1327] clean up path construction and method sorting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051466 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:40:08 +00:00
Brett Porter 7f610bca75 [MRM-1327] namespaces should be paths to avoid being too flat. Use queries for some other traversal methods.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:21:57 +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 c82a0e6bc1 [MRM-1327] remove unnecessary facet node for artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 09:30:25 +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 8ab39caf50 upgrade to Surefire 2.7
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051354 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 01:06:09 +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
Brett Porter f2579ffce2 update release notes
Merged from: r1049412


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049416 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:23:49 +00:00
Brett Porter 5ce9fd5025 [MRM-1445] disable referrer check by default
Merged from: r1049409


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049410 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:04:59 +00:00
Brett Porter 70537eb036 [MRM-1421] Archiva repository purge incorrectly purges based on file timestamps even when the snapshot timestamp is known
Merged from: r1049391:1049399

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:39:46 +00:00
Brett Porter f475ae1d1b test case improvements
Merged from: r1049384-1049390

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049406 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:30:38 +00:00
Brett Porter 3c7670142f [MRM-1396] Purge task problem : Not enough parts to the path
Merged from: r1049375


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049382 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:50:28 +00:00
Brett Porter 82485c9ed4 move mockito version to management section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049376 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:28:22 +00:00
Brett Porter 458e11fd33 correctly acknowledge September 19
Image is derived from http://commons.wikimedia.org/wiki/File:Piratey,_vector_version.svg, which is in the public domain
Merged from: r1043948



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1043969 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 14:02:45 +00:00
Brett Porter 59bc6aa509 fix title, as it is showing amount used, not free
Merged from: r1042714


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042715 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:41:05 +00:00
Brett Porter 5285d77732 [MRM-1440] add current time as well, for comparison when troubleshooting captured results
Merged from: r1042711


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042712 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:34:52 +00:00
Brett Porter 6b58a6c15c status page tweaks
Merged from: r1042700:1042702


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042704 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:25:19 +00:00
Brett Porter 98d9fea131 [MRM-1442] track time spent in each consumer during a scan, to help diagnose poor scanning performance
Merged from: r1042689


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042695 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:03:02 +00:00
Brett Porter 9565cefd5b [MRM-1440] correct incorrect package name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042690 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 15:57:12 +00:00
Brett Porter 6897c1f68a [MRM-1441] add repository scanning details to system status page
Merged from: r1042633


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 14:09:28 +00:00
Brett Porter c795a64c84 [MRM-1440] add a system status page
Merged from: r1042625:1042631


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042646 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 13:58:34 +00:00
Brett Porter 23ebf87131 [MRM-1439] improve indexing performance
Avoid re-reading the entire index each time an artifact is added, and instead search to see if it should be added or updated
Merged from: r1041829


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1041846 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 15:01:20 +00:00