Commit Graph

72 Commits

Author SHA1 Message Date
Martin Schreier e236e7f98d Unifying mocks to mockito 2022-01-04 20:46:35 +01:00
Martin Stockhammer 1fafee574c Cleanup of package names 2021-12-24 14:46:51 +01:00
Martin Stockhammer bf219edd16 Refactoring of repository classes 2021-07-02 19:59:13 +02:00
Martin Stockhammer 71196f3125 Dependency cleanup of rss 2020-06-25 22:41:56 +02:00
Martin Stockhammer adeb46cce9 Moving filesystem storage classes in sub package 2020-02-29 19:04:01 +01:00
Martin Stockhammer 3a08931d19 Removing plexus dependency 2019-11-15 20:05:48 +01:00
Martin Stockhammer e41fb343bc Fixing time zone issue 2019-11-15 20:05:15 +01:00
Martin Stockhammer 01666eea89 Switching to new rome version for rss 2019-10-05 16:15:17 +02:00
Martin Stockhammer 5d90a2102d Renaming packages to make them distinct over modules 2019-10-04 13:04:18 +02:00
Martin Stockhammer 6766beb8ac Extracting interface from RepositoryRegistry 2019-10-03 20:55:40 +02:00
Martin Stockhammer f39fc917a8 Fixes for JDK11 2019-09-01 11:18:11 +02:00
Martin Stockhammer 9bb3c0d4ce Relaxing precision for date comparison in unit test 2019-08-30 23:07:09 +02:00
Martin Stockhammer 379a72c3b7 Changing time parameter 2019-08-20 20:08:49 +02:00
Martin Stockhammer 7a5bc65de4 Implementing stream methods. Changing date arguments to java time API. 2019-08-20 10:01:49 +02:00
Martin Stockhammer d4ce38836d Implementing new stream methods 2019-08-20 00:08:08 +02:00
Martin Stockhammer 118604a706 Fixing unit tests 2019-08-16 22:36:09 +02:00
Martin Stockhammer 21d5cf53fe Refactoring repository metadata session handling 2019-08-06 22:06:57 +02:00
Martin Stockhammer eca0097d85 Changing session handling for metadata API 2019-08-04 22:40:04 +02:00
Martin Stockhammer f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer a6706c8414 Migrating web modules to java.nio 2017-09-11 08:48:01 +02:00
Carlos Sanchez 63479200ce Add a AbstractMetadataRepository to remove duplicated code 2014-11-06 13:39:28 +01:00
Olivier Lamy 4e331298e4 no need to lookup those beans for each request 2014-10-13 16:35:00 +11:00
Eric Barboni 99117364be one move for all remaining override annotation 2014-04-11 23:46:35 +02:00
Olivier Lamy d6c28781b0 more diamond 2014-04-10 23:11:38 +10:00
Olivier Lamy d9de8dc7af use diamond operator 2014-04-10 11:43:11 +10:00
Olivier Lamy 402f10c841 code cleanup comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541400 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 06:33:14 +00:00
Olivier Lamy ab6f5bde33 move to last easymock 3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 06:31:24 +00:00
Olivier Lamy cfaf9559dd use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:28:52 +00:00
skygo 40c462af88 fix imports and minors warning sonar.
remove a space in transactions name pom.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1456696 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 22:12:24 +00:00
Olivier Lamy e92fede155 fix all RepositoryManager implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423879 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:21:20 +00:00
Olivier Lamy f1d408f40e fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400903 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:50:49 +00:00
Olivier Lamy e7bc35db81 add unit test for new method in MetadataRepository and fix compilation for some impls/mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397345 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:43:15 +00:00
Olivier Lamy 2e95b7d4ba fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381582 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:39:14 +00:00
Olivier Lamy bf52af4760 change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:49:49 +00:00
Olivier Lamy 1484a3316a [MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:36:23 +00:00
Olivier Lamy cbfc4aa789 fix compilation of impls
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353620 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:56:28 +00:00
Olivier Lamy a1230dc9e7 fix test mock compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346610 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:29 +00:00
Olivier Lamy ac4dbb87e1 get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy f0c6ee5a71 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy 09292c0037 [MRM-1473] remove use of plexus-spring
fix archiva-rss module



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130146 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:27:46 +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 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 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 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
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
Carlos Sanchez Gonzalez 887786e059 Seconds difference could make test fail, compare date differences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:05:55 +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 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