286 Commits

Author SHA1 Message Date
Martin Stockhammer
d599b89e3d Removing usage of Repository.getLocalPath 2019-07-14 01:18:42 +02:00
Martin Stockhammer
b48158fdcd Fixing RepositoryGroupAdmin after refactor 2019-06-22 08:03:00 +02:00
Martin Stockhammer
a52b7f2005 Adding context merge to provider 2019-06-22 03:43:52 +02:00
Martin Stockhammer
380c152114 Using storageAsset for Index API 2019-06-22 19:31:49 +02:00
Martin Stockhammer
e77759901e Changes for updated interfaces 2019-06-10 10:15:16 +02:00
Martin Stockhammer
aa68c370b2 Refactoring index merger 2019-06-06 21:37:19 +02:00
Martin Stockhammer
a13bfb5a01 Moving maven specific modules 2019-05-06 22:08:19 +02:00
Martin Stockhammer
8a13d818fe [MRM-1987] Improving URL check for organisation info
(cherry picked from commit 796716d44183bd315dd20184a66b39ae533eb747)

This is the final commit from the 2.x branch of multiple commits to fix the vulnerabilities
CVE-2019-0213 and CVE-2019-0214
2019-05-03 20:51:05 +02:00
Martin Stockhammer
2ade46ab20 [MRM-1972] Adding additional encoding for name value
(cherry picked from commit 8e5fdd4536421a1a3f0cc5b70725148eeb27b652)
2019-05-03 20:48:31 +02:00
Martin Stockhammer
890bca0be6 Add url validation for certain fields
(cherry picked from commit a36035b49ba7d6514d6c386b51e1ad2512371b3d)
2019-05-03 20:48:55 +02:00
Martin Stockhammer
a9ebba65ac Adding config file removal before tests
(cherry picked from commit 63154a6af822384907566f3998c7948d6d34eed8)
2019-05-03 20:48:31 +02:00
Martin Stockhammer
21220fcd57 Starting refactoring of proxy handling. 2019-01-31 22:49:06 +01:00
olivier lamy
5e7d541cf1 no more osgi bundle as no one use it and the build stucks on Jenkins because of this
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-31 17:00:54 +10:00
Martin Stockhammer
586f3c3c2b Adding archiva-modules site build changes for git migration 2018-11-04 13:34:47 +01:00
Martin Stockhammer
d39977c413 Fixing dependencies and adapting to new lib versions 2018-10-28 13:04:30 +01:00
Martin Stockhammer
83df105260 Reducing compiler warnings 2018-04-01 19:40:26 +02:00
Martin Stockhammer
cf347e1eb8 Reducing compiler warnings 2018-04-01 18:45:33 +02:00
Martin Stockhammer
98236b99cb Switching to apache commons collections4 2018-04-01 17:21:48 +02:00
Martin Stockhammer
f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer
c002211a10 Removing IndexerCleaners 2018-03-30 15:15:26 +02:00
Martin Stockhammer
9cd3c61340 Adding packedIndexDir 2018-03-29 23:47:13 +02:00
Martin Stockhammer
2541e48dce Adapting to event api change 2018-03-27 07:57:58 +02:00
Martin Stockhammer
663768d83a Moving code to repository registry 2018-03-27 07:57:29 +02:00
Martin Stockhammer
58a377b372 Cleaning up imports 2018-03-27 07:56:53 +02:00
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.
2018-03-24 17:44:13 +01:00
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.
2017-11-01 22:52:14 +01:00
Martin Stockhammer
fd51964c13 Using RepositoryRegistry in repository admin implementations
Switching to the repository registry to retrieve repository data.
Indexing is currently kept in the admin part, but will be moved in the future
to the registry.
2017-11-01 15:30:35 +01:00
Martin Stockhammer
e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer
d721477935 Migration repository admin to java.nio 2017-09-08 11:41:32 +02:00
Martin Stockhammer
c8b3346225 Moving indexer to java.nio 2017-09-04 23:18:30 +02:00
Martin Stockhammer
cd1f4a9e79 Switching the checksum module to java.nio 2017-09-02 22:05:16 +02:00
olivier lamy
7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy
2351414ee6 take care of too old repository
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-15 19:55:54 +10:00
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/
2017-07-30 13:26:05 -07:00
olivier lamy
8a76b99641 more progress on oak lucene shaded
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 14:56:21 +10:00
Martin Stockhammer
f637c02c71 [MRM-1957] Spliting statistics plugin module
Adding new API module (metadata-statistics-api) for statistics and move the
jcr specific tasks to the metadata store module.

Providing interfaces for the statistics API.

Removing dependencies to store specific libraries (like JCR) from the statistic
modules.
2017-07-16 17:56:54 +02:00
olivier lamy
22430044a4 push work started with shaded lucene
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-07 17:20:47 +10:00
olivier lamy
0bfead8264 some progress on new indexer
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:33:50 +10:00
olivier lamy
f0ba11a2f8 indexer is not using plexus bridge anymore
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:05:49 +10:00
olivier lamy
4b6131e8ba take of default now jpa, jdo not exists anymore so handle migration
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-26 12:04:44 +10:00
Martin Stockhammer
7e6ad27e07 Centralizing openjpa log config 2017-05-21 22:36:03 +02:00
Martin Stockhammer
acc02bf962 [MRM-1942] Merge branch 'jpa' into master
Removing JDO and add JPA backend.
2017-05-20 23:15:10 +02:00
olivier lamy
053315826d bump version to 3.0.0-SNAPSHOT
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-18 15:04:58 +10:00
Martin Stockhammer
a43d980be3 [maven-release-plugin] prepare for next development iteration 2017-05-12 21:36:19 +02:00
Martin Stockhammer
e80c3cd529 [maven-release-plugin] prepare release archiva-2.2.3 2017-05-12 21:36:09 +02:00
Martin Stockhammer
1acc6e7b84 Adding check path to remote repositories
Allow to set a check path for connection checks to the remote repositories.
This is useful for repositories that do not allow to browse the base directory.

Improved the fix for MRM-1933
2017-05-10 21:39:15 +02:00
Martin Stockhammer
0626aa2bde Going back to version 2.2.3 2017-04-28 00:33:58 +02:00
Martin Stockhammer
9d60ac3832 Fixing redback runtime configuration of list properties 2017-04-28 00:32:24 +02:00
Martin Stockhammer
04e221a571 [maven-release-plugin] prepare for next development iteration 2017-04-21 22:56:58 +02:00
Martin Stockhammer
41327eebf1 [maven-release-plugin] prepare release archiva-2.2.2 2017-04-21 22:56:47 +02:00