Commit Graph

3861 Commits

Author SHA1 Message Date
Martin Stockhammer 712867584d Switching to new xmlunit version 2020-01-29 23:03:00 +01:00
Martin Stockhammer 3d7c109589 Increasing easymock version 2020-01-27 20:55:41 +01:00
Martin Stockhammer 621dd56659 Moving easymock dependencies into modules 2020-01-27 20:12:09 +01:00
Martin Stockhammer c1d3814836 Dependency update 2020-01-26 23:18:05 +01:00
Martin Stockhammer b034cff6b5 Adapting configuration to redback changes 2020-01-24 21:52:07 +01:00
Martin Stockhammer 5887922449 Switching to https protocol for repo.maven.apache.org 2020-01-16 18:34:29 +01:00
Martin Stockhammer a59df13f7c Improving log messages 2020-01-16 18:33:40 +01:00
Martin Stockhammer d805755df8 Adapting to redback dependency changes. 2019-12-25 18:10:49 +01:00
Martin Stockhammer c9da1ef58d Fix for JDK11 dependencies 2019-12-25 15:10:14 +01:00
Martin Stockhammer 1955e4c27e Adapting to dependency changes of redback 2019-12-25 10:50:01 +01:00
Martin Stockhammer af5745356b Adapting to component registry changes. Updating to commons configuration 2. 2019-12-12 18:34:11 +01:00
Martin Stockhammer 58b9a3a8b6 Changing dependencies to new spring-quartz component 2019-11-24 11:22:58 +01:00
Martin Stockhammer 0e01b1f6b2 Changing eferences to moved spring-taskqueue component 2019-11-21 22:09:39 +01:00
Martin Stockhammer 1d5e607431 Switching to moved component-spring-cache module 2019-11-19 23:36:35 +01:00
Martin 672e1e1b7f
Merge pull request #51 from joestr/patch-1
change tabs-below to tabs-top
2019-11-17 13:37:34 +01:00
Martin Stockhammer 622006c9fd Applying references after package change of components spring-registry and expression-evaluator 2019-11-17 13:29:31 +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 8d800b6e1a Removing dependency on ComponentContainer (spring-utils) 2019-10-09 19:48:54 +02:00
Martin Stockhammer 11fa0a513a Removing velocity dependency 2019-10-05 18:38:32 +02:00
Martin Stockhammer 01666eea89 Switching to new rome version for rss 2019-10-05 16:15:17 +02:00
Martin Stockhammer bde6350a30 Removing jpox dependency 2019-10-05 00:59:42 +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 8a94fa6bdd Removing junit 4 dependencies 2019-10-03 19:18:36 +02:00
Martin Stockhammer 391442c6a0 Changing package for audit events 2019-10-03 18:36:54 +02:00
Martin Stockhammer 405687b120 Migrating basic event API to archiva commons 2019-10-03 18:30:48 +02:00
Martin Stockhammer af09aefac1 Removing xalan dependencies 2019-09-28 22:50:53 +02:00
Martin Stockhammer 88329740a3 Removing xerces dependencies 2019-09-28 22:37:41 +02:00
Martin Stockhammer 842ec05b5d Migrating xml tools to standard API 2019-09-28 16:34:10 +02:00
Martin Stockhammer 302185ede1 Migrating servlet to repository registry usage 2019-09-22 00:09:54 +02:00
Martin Stockhammer df8da96f98 Modifying repository registry behaviour 2019-09-22 00:09:54 +02:00
Martin Stockhammer b072f6921d Proxy changes 2019-09-22 00:09:54 +02:00
Martin Stockhammer 363c4c9608 Switching to enum for policy options 2019-09-06 21:14:28 +02:00
Martin Stockhammer ebf95723a5 Modifying NetworkProxy class. Adding tests. 2019-09-03 14:40:22 +02:00
Martin Stockhammer 316874dc90 Removing sonatype aether dependency 2019-09-02 18:13:55 +02:00
Martin Stockhammer d3310322d0 Updating apache commons library versions 2019-09-02 16:51:46 +02:00
Martin Stockhammer 8dd880c230 Fixing enunciate configuration 2019-09-01 21:06:21 +02:00
Martin Stockhammer 316c190b1a Replacing jsr250 dependency by javax.annotations 2019-09-01 21:01:33 +02:00
Martin Stockhammer d7c3dbe771 Removing maven-artifact-manager dependency 2019-09-01 20:09:48 +02:00
Martin Stockhammer d07420aa72 Fixing bad import 2019-09-01 20:09:13 +02:00
Martin Stockhammer 697bef3066 Updating maven dependencies 2019-09-01 14:37:52 +02:00
Martin Stockhammer f39fc917a8 Fixes for JDK11 2019-09-01 11:18:11 +02:00
Martin Stockhammer 36249f6646 Trying to fix merge test error on build server 2019-08-31 18:59:37 +02:00
Martin Stockhammer f1ae6b4145 Moving mavenmerge class to archiva-maven-repository module 2019-08-31 17:01:36 +02:00
Martin Stockhammer 9bb3c0d4ce Relaxing precision for date comparison in unit test 2019-08-30 23:07:09 +02:00
Joel Strasser bb0a682800
cahnge tabs-below to tabs-top; 2019-08-30 00:09:48 +02:00
Martin Stockhammer 32c4ada259 Using test loop for browse service test 2019-08-29 19:04:00 +02:00
Martin Stockhammer 31fd0d917e Migrating to primaryTypes and modifying dependencies 2019-08-27 22:09:09 +02:00
Martin Stockhammer 81be348796 Switching to list as return values. 2019-08-25 22:29:00 +02:00
Martin Stockhammer 8f42ce002c Changing method names and adding javadoc for metarepository 2019-08-25 19:55:00 +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 34806cdf35 Using repository copies in unit tests 2019-08-03 20:34:28 +02:00
Martin Stockhammer 9ebf8c8880 Fixing Unit Tests 2019-08-03 16:02:09 +02:00
Martin Stockhammer c56ce11c20 Fixing unit tests 2019-08-02 23:49:08 +02:00
Martin Stockhammer bb3b074aaf Refactoring to StorageAsset access 2019-07-28 15:24:13 +02:00
Martin Stockhammer 8e4acdc82a Migrating to storage API 2019-07-19 19:29:01 +02:00
Martin Stockhammer 830ea54e0c Moving storage api to repository level 2019-07-11 23:28:01 +02:00
Martin Stockhammer 7eb0f48b5a Fixing test failures after refactoring 2019-07-10 22:07:35 +02:00
Martin Stockhammer 56ce684ea6 Fixing test errors after refactoring 2019-07-09 21:28:00 +02:00
Martin Stockhammer 9ca52f4e27 Fixing tests after refactoring 2019-06-30 22:47:24 +02:00
Martin Stockhammer 380c152114 Using storageAsset for Index API 2019-06-22 19:31:49 +02:00
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
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
Martin Stockhammer 7d2cc26b4b Adding jcr oak implementation 2017-06-24 09:05:49 +10:00
olivier lamy 41f6912814 get rid of tomcat plugin
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-17 09:36:31 +10:00
olivier lamy c8fd32bbb7 start work using jetty maven plugin
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-16 16:30:26 +10:00
olivier lamy 63827f482b remove all references to sirona
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-16 16:27:02 +10:00
Martin Stockhammer 65c0d017c0 Adding version for jacoco plugin config 2017-06-14 09:25:24 +02:00
Martin Stockhammer dc259c035b [MRM-1954] Adding validatehierarchy property for JCR 2017-06-14 00:04:07 +02:00
Martin Stockhammer 6ff4d94f6c [MRM-1953] Upgrading and fixing jacoco configuration 2017-06-13 22:48:31 +02:00
Martin Stockhammer 577fa611b1 Fixing another timing issue with JS tests 2017-06-13 16:39:33 +02:00
Martin Stockhammer 5608f7bbaf Cleaning up pom.xml 2017-06-13 13:29:52 +02:00
Martin Stockhammer c958387951 Fixing another timing issue with htmlunit tests 2017-06-13 13:29:24 +02:00
Martin Stockhammer 0ebdedcbe5 Adding empty tags avoid schema errors in IDE 2017-06-13 13:18:59 +02:00
Martin Stockhammer a674bda129 Trying to stabilize htmlunit tests 2017-06-11 22:40:32 +02:00
Martin Stockhammer 7abf559673 Adding workaround for timing problems with htmlunit 2017-06-11 22:08:22 +02:00
Martin Stockhammer 087f6258f3 Changing execution flow of JS test for repositories 2017-06-11 21:40:29 +02:00
Martin Stockhammer 9e3a3c60af Timeout fix for WebDriver test 2017-06-11 21:08:44 +02:00
Martin Stockhammer abab994f71 Fixing issues on ciserver 2017-06-10 21:07:39 +02:00
Martin Stockhammer edb7bd346b Trying to fix chrome issues with the WebDriver 2017-06-10 11:34:59 +02:00
Martin Stockhammer 5aab7ac1b9 Trying another fix for a chrome error 2017-06-10 01:25:53 +02:00
Martin Stockhammer 0643a0fb3f Trying additional fix for chrome WebDriver 2017-06-10 00:20:04 +02:00
Martin Stockhammer aab52dc461 Additional fix for chrome WebDriver 2017-06-09 23:39:38 +02:00
Martin Stockhammer 2513029e2e Adding fixes for chrome WebDriver 2017-06-09 23:19:58 +02:00
Martin Stockhammer f242578be0 Fixing maven config for remote selenium server 2017-06-09 22:24:54 +02:00
Martin Stockhammer 85352aae7d Improving robustness of JS Tests
Fixed timing issues that occurred during javascript updates.
2017-06-09 21:35:31 +02:00
Martin Stockhammer 8183ff19eb Finish migrating tests to Webdriver 2017-06-09 16:46:52 +02:00
Martin Stockhammer d31ce651b1 Migrating additional tests to WebDriver
LoginTest, ArchivaAdminTest, RepositoryAdminTest are migrated to WebDriver tests
with FluentWait usage.
2017-06-08 23:25:16 +02:00
Martin Stockhammer 7b8d3bb380 Changing tests to WebDriver 2017-06-08 07:02:29 +02:00
Martin Stockhammer 69c6b594b1 Updating tests for WebDriver and jetty backend 2017-06-05 22:31:48 +02:00
Martin Stockhammer 0bbedd7201 Migrating selenium tests 2017-06-04 18:20:40 +02: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 46a38451bc Removing duplicate dependency 2017-05-21 16:19:44 +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
olivier lamy 84a1846854 Merge branch 'feature/jetty_9.4' 2017-05-18 13:53:17 +10:00
olivier lamy 7dae8bd546 use last parent for test module
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-15 10:28:01 +10:00
olivier lamy dc97f3ef8c jetty.xml ready, do not force encoding in encoding servlet
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-13 09:02:07 +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
olivier lamy e9376eeb6d migrate all tests to jetty 9.4
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-12 16:19:41 +10:00
olivier lamy 52147ba057 upgrade to jetty 9.4 for archiva-rest-services module
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-11 21:38:51 +10: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
olivier lamy 10b408249e avoid null
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-10 21:35:53 +10:00
Martin Stockhammer 2bf5154f13 MRM-1933, MRM-1940: Fixing repository check
Remove trailing slashes from the remote repositories
Use special check paths for certain servers
2017-05-04 00:22:31 +02:00
Martin Stockhammer de5a585c9b Change version number for webapptest 2017-04-30 23:16:22 +02:00
Martin Stockhammer d61f68e684 Fixing browse service filter handling
Improved handling of slashes at the beginning of filters
Added patterns for surefire tests to ensure the test runs
2017-04-28 22:41:47 +02:00
Martin Stockhammer 0626aa2bde Going back to version 2.2.3 2017-04-28 00:33:58 +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
Martin Stockhammer c48c96d705 Adding additional help texts for config properties 2017-04-21 22:32:15 +02:00
Martin Stockhammer c29a3426db Changing webdriver tests to remotewebdriver 2017-04-16 20:34:21 +02:00
Martin Stockhammer 48e76b64bd Changing selenium version for web tests 2017-04-15 15:52:03 +02:00
Martin Stockhammer 63154d9d38 [MRM-1937] Prevent creation of wrong initial admin
Disables the name field for the admin user, when the primary admin
is created.
2017-04-14 20:52:12 +02:00
Martin Stockhammer c773e3835c Adding documentation for snippets 2017-03-21 20:53:10 +01:00
Martin Stockhammer a981c1847c Fixing test cases for rest service 2017-03-10 22:09:08 +01:00
Martin Stockhammer b2ce531fa2 Adding validation token during login 2017-02-12 18:46:37 +01:00
Martin Stockhammer 709ee5bb39 Implementing method after interface change 2017-02-12 18:45:57 +01:00
Martin Stockhammer fc41a79885 Adding Header check to archiva rest services 2017-01-31 22:56:50 +01:00
Martin Stockhammer 65e04d66ce Adding Referer Header to REST tests 2017-01-30 22:41:55 +01:00
Martin Stockhammer dd311845e1 Use JPA as default and only database backend
Remove the JDO dependencies and set the JPA implementation as only
database alternative and default implementation. Uses the same database
as JDO before.
2016-12-30 15:35:19 +01:00
Martin Stockhammer f327eb9b24 Add admin user check after system configuration change 2016-10-26 23:29:11 +02:00
Martin Stockhammer 6dcd84d2db Add name and cache reset 2016-10-26 23:28:43 +02:00
Martin Stockhammer 14a667c4a0 Change userManager reference for configuration service 2016-10-26 23:28:01 +02:00
Martin Stockhammer e6950bba28 Add jpa settings to test spring contexts 2016-10-26 23:27:26 +02:00
Martin Stockhammer 593d69f52e Add cache reset after configuration save 2016-10-25 22:43:09 +02:00
Martin Stockhammer 49323248e4 Remove comment 2016-10-25 22:42:39 +02:00
Martin Stockhammer 203de64d19 Fix i18n string for JPA RBac Manager 2016-10-24 22:03:48 +02:00
Martin Stockhammer 2164ef75ca Merge branch 'master' into jpa 2016-10-16 20:10:06 +02:00
Martin Stockhammer 3fe1000865 Adding isValid() method to authentication classes 2016-10-16 17:18:23 +02:00
Martin Stockhammer e7143b5e78 Changing transaction handling 2016-10-14 21:40:10 +02:00
Martin Stockhammer b7174c4440 Adding JPA provider as user manager 2016-10-09 21:20:45 +02:00
Martin Stockhammer 0cc2733ca0 Adding isValid() method to authentication classes 2016-10-04 20:52:25 +02:00
Ciprian Ciubotariu ef0f29235d [MRM-1928] Use applicationUrl setting in HTTP redirects
Make use of webapp application URL setting when constructing the HTTP
Location header within redirect responses, which allows clients to
follow them when Archiva runs behind HTTP reverse proxies.
2016-10-04 18:12:05 +03:00
Martin Stockhammer 1fd9c951e1 Improving error handling for LDAP configuration
Error is only displayed, if LDAP is used as repository. The error
messages are more detailed and internationalized.
2016-10-02 15:20:56 +02:00
Martin Stockhammer 5bc8ad7de3 Adding test case for repository listing 2016-09-14 23:04:03 +02:00
Martin Stockhammer de3eb83242 Adding restricted view for user managable repositories
Adds additional rest method to list the repositories where the user
has manage permissions.
Restricts the view for uploads to only managable repositories.
2016-09-14 21:49:30 +02:00
Martin Stockhammer d01764bed9 Changing upload permissions using parameter reference
Needs the new functionality in the redback annotations.
2016-09-14 21:48:59 +02:00
Martin Stockhammer 5bb5f76520 Adding unit test for remote repository check 2016-09-14 10:22:21 +02:00
Martin Stockhammer e4a2e65f6e Removing trailing slash in remote repository check
See https://issues.apache.org/jira/browse/MRM-1909
2016-09-13 18:33:19 +02:00
olivier lamy cae55ace9f Merge branch 'pr/23'
[MRM-1924] merge pull request
2016-09-13 10:59:55 +10:00
Martin Stockhammer 02b892796c Increasing timeouts for repository check
Slow responding repositories were marked with a repository failure because of the
low read timeout value.
Increases the timeout for the repository check.
2016-09-08 19:00:40 +02:00
Martin Stockhammer 0b939e928a Fixing issue of multiple login requests after logout
Resets the event listeners on the login button when the modal dialog is started.
2016-09-08 18:41:13 +02:00
Ciprian Ciubotariu a746721940 Fix non-deterministic test failures
archiva-rest-services tests need to wait for repo scanning to finish
2016-05-31 20:05:29 +03:00