Olivier Lamy
992f6a96dd
miss to add a file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128080 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:19 +00:00
Olivier Lamy
2816105cf3
[MRM-1473] remove plexus-spring
...
fix maven2-repository module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128079 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:05 +00:00
Olivier Lamy
1788eb54c4
[MRM-1473] remove use of plexus-spring
...
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Olivier Lamy
02b4b8d6af
[MRM-1473] remove use of plexus-spring
...
start with archiva-configuration and archiva-policies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +00:00
Olivier Lamy
b781d2f5f7
update plexus-spring groupId
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Brett Porter
86ed5afc5c
[MRM-1111] upgrade to Struts 2.1.8.1
...
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter
76289acb8d
rename metadata-repository-file to metadata-store-file for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086590 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:13:37 +00:00
Brett Porter
076a33f877
[MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Brett Porter
bed7aa1b59
[MRM-1327] fix 'used by' to work under JCR store. This will still have problems under the file store at the moment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085722 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:00:06 +00:00
Brett Porter
522a7ac514
fix optional for dependencies in file metadata repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085707 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 12:07:15 +00:00
Brett Porter
95b297a2ae
[MRM-1327] use nodes for dependencies, make several notes about fixes required to properly isolate maven2 pieces
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085704 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:54:11 +00:00
Maria Odea B. Ching
28a0b59676
[MRM-1461]
...
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Brett Porter
f2b0885b53
ensure that it gets closed, even if close throws exception
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071608 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 13:31:17 +00:00
Maria Odea B. Ching
1460694de3
close streams from previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071145 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 04:51:03 +00:00
Maria Odea B. Ching
cb61344408
used IOUtils copy for merging so streams are buffered
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071136 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 03:30:53 +00:00
Jevica Arianne B. Zurbano
13609a81fe
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1063154 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 06:45:31 +00:00
Brett Porter
605c1db826
[MRM-1327] choose a better default for login
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1061114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 04:20:21 +00:00
Brett Porter
91a012ebdd
[MRM-1448] additional '.' in the classifier & extension should be attributed to the extension instead of the classifier.
...
Note that existing records will not be updated - the repository may need to be re-scanned to reflect the change.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1054034 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 00:53:23 +00:00
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
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
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
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
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
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
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
deba382d42
[MRM-1436] better Map handling
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1040919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:48:32 +00:00
Brett Porter
30f0ab2365
[MRM-1435] fix up useless boxing issues
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:39:43 +00:00
Maria Odea B. Ching
bc56d6353c
[MRM-1097]
...
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem)
o updated unit tests with changes made
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Maria Odea B. Ching
b719ecb818
check if metadata exists first before updating and copying to target repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022822 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 05:15:51 +00:00
Maria Odea B. Ching
0d70a68dc6
remove versions since these are already set in parent
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003740 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 03:37:58 +00:00
Maria Odea B. Ching
d35e740ca9
[MRM-1409] web services for repository merge
...
submitted by Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 03:50:04 +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
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
Maria Odea B. Ching
f51b049d51
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951241 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:16:24 +00:00
Maria Odea B. Ching
1794af3da5
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added new facet for generic properties
o display correct metadata in Metadata tab
o add new properties to metadata from UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951239 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:11:25 +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
866fbdff7a
[MRM-958] switch tests to Mockito and make it easier to abstract
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924631 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 04:26:23 +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
b7810bb5f8
remove dependency on repository-layer from audit module
...
- fix components
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921818 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:07:35 +00:00
Brett Porter
e2f5e24bf0
fix test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921806 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:36:00 +00:00
Brett Porter
3387b53fca
remove dependency on repository-layer from audit module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00
Brett Porter
51acb7acd7
remove dependency on repository-layer from repository-statistics module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921791 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:39:33 +00:00
Brett Porter
5c18f8b344
[MRM-1359] add tests for legacy format translation in WebDAV and other Maven 1 repository notes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921789 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:34:42 +00:00
Brett Porter
52176501a4
[MRM-1359] Separate Maven 1.x functionality into its own plugin
...
- add skeleton and comments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:50:05 +00:00
Brett Porter
a7238c5eb0
[MRM-1361] add support for NPanday artifact types. Currently requires some hard coding into webapp and tests, but removing the plugin from the webapp would safely disable the functionality.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921687 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:43:23 +00:00
Brett Porter
5761f19b58
[MRM-1360] move type population into Maven 2 plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921686 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:33:02 +00:00
Brett Porter
4330002cef
[MRM-1360] store artifact metadata in the repository and make maven facet's compliant
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921671 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 02:40:39 +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
f97e798940
[MRM-1282] Repository Path Translation consolidation
...
- DefaultPathParser now a shell around RepositoryPathTranslator, for refactoring away
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:35:31 +00:00
Brett Porter
3f9d3bac3e
[MRM-1360] move type population into Maven 2 plugin
...
- correct problem with the instantiation of the translator in the legacy code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921227 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:21:54 +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
1f60d14c48
enforce test ordering
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920792 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:55:47 +00:00
Brett Porter
4c2bd734ff
[MRM-1282] remove JDK 6 API usage and unused method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920766 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:10:56 +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
Maria Odea B. Ching
1694da2470
fixed sorting which is causing the test to fail in some platforms
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@915240 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 08:34:24 +00:00
Brett Porter
4231711a40
[MRM-1282] sort the results for platform independance
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@911488 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 16:56:49 +00:00
Brett Porter
13d0e893b2
[MRM-1282] sort the results for platform independance
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@911469 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 16:15:15 +00:00
Brett Porter
13f4b3cc1f
[MRM-1282] sort the results for platform independance
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@911453 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 15:51:07 +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
74d0a6376f
simplify test case
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910453 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 10:19:58 +00:00
Brett Porter
ec255eb8ee
avoid timing issues with audit logs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910447 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 09:48:16 +00:00
Brett Porter
cad485de24
centralise the name <-> timestamp construction to make it easier to change the pattern
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910421 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 08:15:29 +00:00
Brett Porter
38c8d861ea
revert r910400, look for a simpler solution and unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910410 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 06:17:00 +00:00
Brett Porter
0db9498522
avoid timing issues with audit logs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910400 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 05:34:01 +00:00
Brett Porter
d0b2a20903
[MRM-1025] avoid concurrent access exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 15:49:53 +00:00
Brett Porter
93f9e26408
[MRM-1269] restore pseudo-search by artifact in audit logs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900726 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:21:10 +00:00
Brett Porter
9a1c82e9af
[MRM-1025] remove Java 1.6 methods
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900720 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 10:41:19 +00:00
Brett Porter
9c28117ca3
[MRM-1282] switch all timestamps to UTC
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900698 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 08:31:11 +00:00
Brett Porter
70fc5323d6
[MRM-1316] restrict audit log report to repositories that you are a manager of
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900696 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 08:15:44 +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
82f8a22ed6
[MRM-1301] remove any problem reports when metadata is re-processed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893692 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:20:41 +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
aa6f46b121
[MRM-1282] avoid creating invalid facets
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893369 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:02:15 +00:00
Brett Porter
eea9187d45
[MRM-1282] make sure snapshot artifact versions are processed correctly - remove debugging
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892792 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 12:15:06 +00:00
Brett Porter
5a92d22118
[MRM-1282] make sure snapshot artifact versions are processed correctly
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892790 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 12:12:58 +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
63e3253e79
[MRM-1301] add back summary statistics for per-type counts
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891113 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 03:47:02 +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
2a5c2bb81a
[MRM-1301] add back problem reporting for POM in the wrong location
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891087 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:53:37 +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
33401e9819
[MRM-1282] fix problem with getArtifactVersions when there are multiple artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889062 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 02:30:01 +00:00
Brett Porter
d7148894cf
[MRM-1282] correct getArtifactVersions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888730 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:22:15 +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
ebaee33d1e
Merged /archiva/trunk:r887040-888396
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888427 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:09:13 +00:00
Brett Porter
b0304e08c3
[MRM-1293] remove RepositoryContentStatistics in favour of new repository-statistics module and adjust reporting action. Note that data population is still required to complete this issue
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888325 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:14:14 +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
52bcd1b58b
[MRM-1292] replace the dependency graph by a maven-dependency-tree based implementation (maven-project is not used)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885812 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:01:31 +00:00
Brett Porter
1cf0f9f7a5
[MRM-1282] correct updating of facets in the file-based repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885466 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 15:51:19 +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
e9962a70d5
[MRM-1282] set the validation level to a more reasonable one for this purpose
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 03:46:06 +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
f863666a3d
[MRM-1282] fix file metadata format
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 15:26:07 +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
dd67f0be67
[MRM-1282] improve unit testing
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884084 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 13:00:39 +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
7a52fa2fbf
[MRM-1282] handle snapshot versions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883981 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 05:32:18 +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
7d2c217bdb
[MRM-1282] commit missing test files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883938 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:48:43 +00:00
Brett Porter
9c623e7fb2
[MRM-1282] commit missing test files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883937 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:47:58 +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
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
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