Martin Stockhammer
5d90a2102d
Renaming packages to make them distinct over modules
4 years ago
Martin Stockhammer
6766beb8ac
Extracting interface from RepositoryRegistry
4 years ago
Martin Stockhammer
391442c6a0
Changing package for audit events
4 years ago
Martin Stockhammer
405687b120
Migrating basic event API to archiva commons
4 years ago
Martin Stockhammer
d3310322d0
Updating apache commons library versions
4 years ago
Martin Stockhammer
8f42ce002c
Changing method names and adding javadoc for metarepository
4 years ago
Martin Stockhammer
118604a706
Fixing unit tests
4 years ago
Martin Stockhammer
21d5cf53fe
Refactoring repository metadata session handling
4 years ago
Martin Stockhammer
eca0097d85
Changing session handling for metadata API
4 years ago
Martin Stockhammer
c56ce11c20
Fixing unit tests
4 years ago
Martin Stockhammer
830ea54e0c
Moving storage api to repository level
5 years ago
Martin Stockhammer
2e2018dbac
Improving checksum implementation. Adding multiple algorithms.
5 years ago
Martin Stockhammer
60bbe9dde6
Trying to remove compiler warning
6 years ago
Martin Stockhammer
98236b99cb
Switching to apache commons collections4
6 years ago
Martin Stockhammer
f8a9bc1640
Changing the event system to use the checksum module
6 years ago
Martin Stockhammer
f101252375
Reorganizing imports
6 years ago
Martin Stockhammer
42376e8fbf
Removing unused dependencies
6 years ago
Martin Stockhammer
ee953f8d13
Removing NexusIndexer references
6 years ago
Martin Stockhammer
c544376afb
Switching repository admin and dependent classes to RepositoryRegistry
RepositoryRegistry is used for indexing context now. There is still more work to do
to move the maven dependent parts into its own projects and update the dependencies.
6 years ago
Martin Stockhammer
754b2d5940
Adding local path to repository API
6 years ago
Martin Stockhammer
97b2c9c909
Refactoring the repository content factory
Adding content provider service that creates repository content instances
remove direct access to the repository content instances.
6 years ago
Martin Stockhammer
4bcf4c0cd0
Adapting consumers to new repository api interfaces.
Using the repository api where necessary.
6 years ago
Martin Stockhammer
0eadc9bab1
Migrating maven2-repository to java.nio
6 years ago
Martin Stockhammer
7503cb83e3
Migrating consumers to java.nio
6 years ago
Martin Stockhammer
cd1f4a9e79
Switching the checksum module to java.nio
6 years ago
Martin Stockhammer
c50c6d5e3f
Remove unused imports
6 years ago
Martin Stockhammer
1601657702
Fixing metadata removal. Adding mocks for verification.
- Prevent redundant removals for same artifacts
- Adding metadata removal for each file removal
- Adding mock verifications for metadata removal in unit tests
6 years ago
Daniel Trebbien
0b15664f1c
Utilize parameterized logging and remove toString() calls
As suggested in the SLF4J FAQ:
https://www.slf4j.org/faq.html#logging_performance
.. parameterized logging can improve the efficiency of logger calls when
logging at the specified level is disabled.
In addition, per the FAQ: https://www.slf4j.org/faq.html#paramException
since SLF4J 1.6.0 it is possible to use parameterized logging and also
log an exception/throwable.
toString() is called automatically:
https://www.slf4j.org/faq.html#string_contents
These changes were suggested by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
6 years ago
olivier lamy
22430044a4
push work started with shaded lucene
Signed-off-by: olivier lamy <olamy@apache.org>
7 years ago
Olivier Lamy
87ff9f5d3d
more usage of MockRepositorySessionFactory
8 years ago
Olivier Lamy
436b117e7f
ensure we test correctly for [MRM-1877]
9 years ago
Olivier Lamy
a6c73dcde2
use more java 1.7 for file io
9 years ago
Olivier Lamy
f5022a2721
use 1.7 features for files
9 years ago
Olivier Lamy
402f10c841
code cleanup comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541400 13f79535-47bb-0310-9956-ffa450edef68
10 years ago
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
10 years ago
Olivier Lamy
73509cab5c
prefer Charset.defaultCharset() over a hardcoded charset
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1385188 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Olivier Lamy
833d272ab4
fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1385187 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
skygo
0af6c7a560
Archiva core consumumer test refresh to junit 4
remove testcase; reorder import;
repositorypurgeconsommerTest fixed for:
Unable to add new repository with id [test-repo], that id already exists as a managed repository.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1379835 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
skygo
fd6b9b7e93
fix unit paths so you can run unit on path with space
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370597 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
skygo
7dfd478f18
replace by &20 instead of %20 % not allowed shame
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370577 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
skygo
8be9f7b746
attempt to stabilie core consummer tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370562 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
skygo
3d4b925a5e
Core Consummers module: add @Override for unit test + attempt to fix CleanupReleaseSnapshotRepositoryPurgeTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369920 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
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
12 years ago
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
12 years ago
Olivier Lamy
67443bea6e
add unit for test purge of -javadoc.zip artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325558 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
b137e9a99c
an other try to prevent windauze file leak, I hope the last one :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204957 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
5f6f2e9833
an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204908 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
4b16406276
an other try to prevent windauze file leak
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204873 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
42edbc5ca5
fix tests in archiva-core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197139 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Olivier Lamy
2378e1a5a7
fix bean name used for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179665 13f79535-47bb-0310-9956-ffa450edef68
12 years ago