Commit Graph

3644 Commits

Author SHA1 Message Date
Martin Stockhammer 240292077e Switching to asset API 2019-06-20 19:25:28 +02:00
Martin Stockhammer 42257e9033 Using asset API in DAV 2019-06-10 23:34:13 +02:00
Martin Stockhammer aa68c370b2 Refactoring index merger 2019-06-06 21:37:19 +02:00
Martin Stockhammer 3b1d213a5b Using new storage API for DAV implementation 2019-05-19 17:36:31 +02:00
Martin Stockhammer f3aa14f3e2 Refactoring storage access and webdav 2019-05-13 22:23:01 +02:00
Martin Stockhammer 7adddbe141 Changing maven implementation to new RequestInfo interface 2019-05-09 22:58:14 +02:00
Martin Stockhammer 8335c60215 Moving filter API to common module 2019-05-08 19:38:23 +02:00
Martin Stockhammer a13bfb5a01 Moving maven specific modules 2019-05-06 22:08:19 +02:00
Martin Stockhammer 79bee6e847 Combining maven specific packages into subdirectory and package structure. 2019-05-05 21:46:25 +02:00
Martin Stockhammer 2e2018dbac Improving checksum implementation. Adding multiple algorithms. 2019-05-04 21:18:26 +02:00
Martin Stockhammer 8d73738906 Removing tomcat artifact 2019-05-04 21:14:40 +02:00
Martin Stockhammer 0e09883158 Using new artifact util in upload service 2019-05-04 10:49:34 +02:00
Martin Stockhammer 8a13d818fe [MRM-1987] Improving URL check for organisation info
(cherry picked from commit 796716d441)

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 6160966fa0 Adding error handling for new validations. Fix web ui tests.
(cherry picked from commit d4be8968cf)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 4fe9a38bea Adding additional verifications for upload
(cherry picked from commit cc0d8ad0b5)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 05e1c462af Merging upload artifact test to this archiva version 2019-05-03 20:48:31 +02:00
Martin Stockhammer c347ee5541 Adding parameter checks
(cherry picked from commit 29e40eae69)
2019-05-03 20:48:31 +02:00
Martin Stockhammer acb431b0bf Fixing unit tests for upload 2019-05-03 20:48:31 +02:00
Martin Stockhammer d3582e5897 Adding additional tests
(cherry picked from commit 0151aeded5)
2019-05-03 20:48:31 +02:00
Martin Stockhammer 747cc55b24 Adding additional verifications for upload
(cherry picked from commit c5bcbaabed)
2019-05-03 20:49:42 +02:00
Martin Stockhammer 0102f34cfe Adding upload unit tests
(cherry picked from commit 52b971c593)
2019-05-03 20:49:18 +02:00
Martin Stockhammer 7a0e81d515 Fixing unit tests after refactoring 2019-02-10 12:53:02 +01:00
Martin Stockhammer 21220fcd57 Starting refactoring of proxy handling. 2019-01-31 22:49:06 +01:00
jacobtolar cbd5517182
fix various typos in string messages 2019-01-29 12:14:33 -06:00
Martin Stockhammer 3da7b8ff94 Adding jabx dependency for JDK11
The dependency is needed by enunciate plugin. It is not sufficient to add it as plugin dependency.
Using profile for selecting JDK9+ only and adding it as 'provided' scope.
2019-01-20 22:20:25 +01:00
Martin Stockhammer fd76848d46 Fixing web tests: Changing jetty module version. Increasing some timeouts. 2019-01-20 18:49:42 +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
olivier lamy 1472fd224f use jettt version property from parent pom
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-31 15:57:55 +10:00
Martin Stockhammer 586f3c3c2b Adding archiva-modules site build changes for git migration 2018-11-04 13:34:47 +01:00
Martin Stockhammer 39b2449b7d Switching to forked tests in webdav project 2018-11-01 14:02:41 +01:00
Martin Stockhammer 956818e3e6 Running rest tests concurrently to reduce build time 2018-10-31 16:32:09 +01:00
Martin Stockhammer df330893d7 Moving dependency versions to main project 2018-10-28 15:48:01 +01:00
Martin Stockhammer d39977c413 Fixing dependencies and adapting to new lib versions 2018-10-28 13:04:30 +01:00
Martin Stockhammer ba75d27818 Changing maven version and removing plexus deps 2018-10-26 21:03:19 +02:00
Martin Stockhammer c069d160f9 Adding environment variable for user config file 2018-10-25 22:04:55 +02:00
Martin Stockhammer 1ce7039d4f Adding env variable for user config file 2018-10-25 12:25:33 +02:00
Martin Stockhammer 9351c66bc8 Another try to fix the ciserver issue for webtest 2018-05-24 23:51:50 +02:00
Martin Stockhammer 9ff0b63d8b Another try to fix webapp test issues on ciserver 2018-05-23 20:52:17 +02:00
Martin Stockhammer 6ae9703f1d Modifying dependencies to fix webui test failures
There is a guava compatibility problem with the selenium test
Removing the dependencies that came with the new cassandra version
2018-05-21 01:05:19 +02:00
Martin Stockhammer 27f5fd524c Preparing for JDK>=9 compatibility 2018-05-19 19:07:44 +02:00
Martin Stockhammer 8b16d7b24a Changing path for url cache 2018-05-01 20:19:20 +02:00
Martin Stockhammer 4b6ee0e554 Extracting maven specific scheduler part to single module 2018-04-16 23:39:39 +02:00
Martin Stockhammer ec8e6600ce Reducing compiler warnings and adapting to redback changes 2018-04-08 21:06:49 +02:00
Martin Stockhammer f59dd279cb Adaption to generics changes in Redback interfaces 2018-04-08 18:38:53 +02:00
Martin Stockhammer d3564941d5 Moving references to repositoryRegistry 2018-04-08 00:32:46 +02:00
Martin Stockhammer ae49e50067 Migrating usage of repositoryAdmin to repositoryRegistry 2018-04-07 19:59:13 +02:00
Martin Stockhammer 06fcbdbbb8 Changing URL for connectivity tests 2018-04-06 23:14:17 +02: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 b3335cf6e5 Changes to avoid compile warnings 2018-04-01 12:28:28 +02:00
Martin Stockhammer f8a9bc1640 Changing the event system to use the checksum module 2018-04-01 09:54:30 +02:00
Martin Stockhammer f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer f7facffea7 Removing nexus indexer from startup 2018-03-30 19:37:47 +02:00
Martin Stockhammer c424149d1c Updating index merge to new maven api 2018-03-30 19:35:16 +02:00
Martin Stockhammer 32acbe20f3 Adding Null checks for selenium 2018-03-30 17:32:16 +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 71c5f4f22c Adding ignore file 2018-03-29 23:44:33 +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 ae36964e7d [MRM-1966] Fixing error for 0 value of daysOlder entry
UI did not allow to enter value 0 for the daysOlder value.
2017-11-24 20:29:17 +01:00
Martin Stockhammer 754b2d5940 Adding local path to repository API 2017-11-20 08:20:42 +01:00
Martin Stockhammer bc9256ad08 Trying to fix the archetype error on ci-build 2017-11-15 22:17:32 +01:00
Martin Stockhammer c6e4e563d6 Implementation of new archivaindexer
Not finished yet, but uses the maven index service via spring dependency injection
Moving some maven specific classes to subpackages
2017-11-11 00:07:56 +01:00
Martin Stockhammer 6899bc54a7 Fxing unit tests for RepositoryRegistry 2017-11-09 19:10:21 +01:00
Martin Stockhammer 07d51cc356 Renaming archiva-indexer module to archiva-maven2-indexer 2017-11-09 17:45:32 +01:00
Martin Stockhammer e2cdbc2b72 Rearranging modules and adding indexer api
Combining the indexer api and repository api into archiva-repository-api
They have bidirectional dependencies so they are put together in one module.

Adding new classes for a generalized indexer api that will be used for interfaces
and implementation independent tasks.
2017-11-08 22:59:33 +01:00
Martin Stockhammer 2ab8942ccf Extracting indexing api as single module
[MRM-1964] Step to move all indexing features behind archiva API
2017-11-05 19:36:42 +01:00
Martin Stockhammer 77c375434f Fixing window size issues with selenium driver 2017-11-04 12:04:19 +01:00
Martin Stockhammer 8b3de94f77 Adding another hack for selenium tests 2017-11-02 21:53:11 +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 d6120d6c22 Adapting the web modules to the new repository api 2017-11-01 15:39:07 +01:00
Martin Stockhammer cb38dbbbc6 Changing the initialization behaviour of metadata repo factory 2017-10-21 14:42:32 +02:00
Martin Stockhammer e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer bed24eac44 Finally switching the file lock to java.nio 2017-09-20 22:34:10 +02:00
Martin Stockhammer 5806dc2980 Switching some more files to java.nio 2017-09-20 21:39:27 +02:00
Martin Stockhammer a6706c8414 Migrating web modules to java.nio 2017-09-11 08:48:01 +02:00
Martin Stockhammer abba44b0a8 Migrating web modules to java.nio 2017-09-11 00:03:05 +02:00
Martin Stockhammer b12b8a3ec9 Migrating rest services to java.nio 2017-09-10 20:40:50 +02:00
Martin Stockhammer f886688c25 Migrating scheduler to java.nio 2017-09-10 17:47:17 +02:00
Martin Stockhammer 5437dfd6de Migrating policies module to java.nio 2017-09-05 23:28:55 +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
Martin Stockhammer 4781155596 Next part for moving to java.nio 2017-09-02 18:18:56 +02:00
Martin Stockhammer ad9fee4399 First part in moving to java.nio 2017-09-02 13:18:15 +02:00
olivier lamy 6abccf3510 avoid npe
Signed-off-by: olivier lamy <olamy@apache.org>
2017-09-02 18:56:07 +10:00
olivier lamy 9964f9d5ea upgrade to wagon 3.0.0
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-21 21:52:14 +10:00
Martin Stockhammer 6cee4606ca Adding different guava dependency for webtests
Workaround to get the selenium tests running. Better would
be a solution that allows the new guava version for the complete
project.
2017-08-20 20:52:59 +02:00
olivier lamy 7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy f72ff88c46 fixing some directories
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-15 21:12:08 +10:00
olivier lamy 6fe2ee2ff9 format only to trigger a Jenkins build
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-15 19:19:18 +10:00
olivier lamy 88fccc84f0 fix test
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-14 21:38:49 +10:00
olivier lamy 789f879c3b fixing test for rest services, correctly close jcr repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-14 17:20:12 +10:00
olivier lamy e4ef8273a4 increase memory for test
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-01 14:33:46 +10:00
Daniel Trebbien da10799447 Fix two incorrect SLF4J logger calls
These issues were found by SLF4J Helper for NetBeans IDE:
http://plugins.netbeans.org/plugin/72557/
2017-07-30 13:29:29 -07: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 d93ae430d5 trying more memory too see what happen on Jenkins
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-29 09:22:14 +10: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
olivier lamy 003d5794a8 more progress on new maven indexer version
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 10:12:23 +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