Commit Graph

4968 Commits

Author SHA1 Message Date
Martin Stockhammer acbcb48747 Adding data path to configuration 2017-10-22 17:01:27 +02:00
Martin Stockhammer cb38dbbbc6 Changing the initialization behaviour of metadata repo factory 2017-10-21 14:42:32 +02:00
Martin Stockhammer 2c12980a3a Adding configuration entry and removing old v1 repositories 2017-10-21 14:41:59 +02:00
Martin Stockhammer 5416993a99 Improving repository registry 2017-10-17 23:12:33 +02:00
Martin Stockhammer 4a3d11737e Improving repository provider 2017-10-15 23:36:30 +02:00
Martin Stockhammer 5121735795 Adding maven repo implementation and unit test 2017-10-13 22:23:08 +02:00
Martin Stockhammer 267b6a702b Repository changes and implementation of provider 2017-10-07 19:56:00 +02:00
Martin Stockhammer a34090cf93 Reverting the schedule definition back to cron string
Considered it too complex to convert the cron expressions into java interface
that takes all features into account that are possible by quartz cron strings.
2017-10-06 07:39:02 +02:00
Martin Stockhammer 1b7b2dbfc5 Fixing syntax error 2017-10-03 23:49:58 +02:00
Martin Stockhammer 9706f85fdc Adding some (imcomplete) changes to the scheduling part 2017-10-03 21:52:45 +02:00
Martin Stockhammer e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer 3976c3fb23 Adding maven repository implementation 2017-10-03 19:27:15 +02:00
Martin Stockhammer 1b89266820 Some progress in repository abstraction 2017-10-03 18:46:16 +02:00
Martin Stockhammer 93af7e9457 Adding repository registry 2017-10-02 22:21:26 +02:00
Martin Stockhammer 656af5ce4d Adding new interface for repository
Adding interfaces for managed and remote repositories. Features
that may not be common for repository implementations use the
RepositoryFeature interface.
2017-09-30 23:35:35 +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 3ae101f7a9 Adding retry to some tests because of async index updates
Adding tryAssert function that does repeatedly run the assert
function, because JCR Oak uses asynchronous index updates and changes
are not reflected immediately in the index.
2017-09-19 13:20:54 +02:00
Martin Stockhammer d9beaa1d2b Migrating repository merger to java.nio 2017-09-14 19:50:31 +02:00
Martin Stockhammer 0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +02:00
Martin Stockhammer a446c03853 Migrating metadata file store to java.nio 2017-09-11 22:31:13 +02:00
Martin Stockhammer a7db09420a Migrating some plugins to java.nio 2017-09-11 09:23:39 +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 7503cb83e3 Migrating consumers to java.nio 2017-09-10 13:41:44 +02:00
Martin Stockhammer 413b6d7f1a Migrating transaction module to java.nio 2017-09-08 17:12:01 +02:00
Martin Stockhammer 9148a900ee Migrating repository scanner to java.nio 2017-09-08 15:24:01 +02:00
Martin Stockhammer d721477935 Migration repository admin to java.nio 2017-09-08 11:41:32 +02:00
Martin Stockhammer 98715c57ea Migrating xmltools and proxy to java.nio 2017-09-08 10:06:01 +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 b5eddeb67b Moving converter module to java.nio 2017-09-03 11:01:15 +02:00
Martin Stockhammer cd1f4a9e79 Switching the checksum module to java.nio 2017-09-02 22:05:16 +02:00
Martin Stockhammer faceef262c Moved checksum module to java.nio 2017-09-02 20:37:52 +02:00
Martin Stockhammer 90250dc304 And another one for moving to java.nio 2017-09-02 19:17:01 +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
Martin Stockhammer a015600d48 Reformat code 2017-08-27 16:18:57 +02:00
Martin Stockhammer c50c6d5e3f Remove unused imports 2017-08-27 16:16:53 +02:00
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
2017-08-27 16:12:27 +02: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
olivier lamy 33b66d1493 get rid of some System.out
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-21 11:13:43 +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
Martin Stockhammer 83622e8dd1 Removing indexer directory from source
This directory seems to be accidentally in the source
2017-08-20 20:46:58 +02:00
olivier lamy 7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy 8838508899 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 21:13:26 +10:00
olivier lamy 46ec727204 inherit version from parent
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 14:38:45 +10:00
olivier lamy 053e5c1322 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 14:26:08 +10:00
olivier lamy 03465a024d helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 12:06:25 +10:00
olivier lamy c2bb83aa1f helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-18 09:57:43 +10:00
olivier lamy ed1bfa3a90 helping consumer archetype to build with an empty repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-17 21:27:05 +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 2351414ee6 take care of too old repository
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-15 19:55:54 +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
Martin Stockhammer f93a787e74 Adding custom properties to project metadata.
Extending the project metadata to add custom properties. This may be used by
storage implementations later.
2017-08-12 14:49:45 +02:00
Martin Stockhammer e5e11721b1 Merge branch 'pr-30' 2017-08-01 22:39:34 +02:00
olivier lamy e4ef8273a4 increase memory for test
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-01 14:33:46 +10:00
olivier lamy c0623553f0 shutdown executor service on close
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-31 22:16:08 +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 623eb062da shaded package changed
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-28 21:10:24 +10:00
olivier lamy 91e42dee5b no need of this file
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 17:35:09 +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 bba9d8b512 Removing osgi dependencies 2017-07-19 22:36:17 +02:00
olivier lamy 7480b7ffe2 some progress
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-17 18:41:14 +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 58ac86f011 force jcr save
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 10:21:14 +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 ddbb6cdaf4 cosmetic change :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:06:22 +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
Martin Stockhammer 96843bd488 Fixing tests and path for jcr oak 2017-06-24 09:05:49 +10:00
Martin Stockhammer 7d2cc26b4b Adding jcr oak implementation 2017-06-24 09:05:49 +10:00
olivier lamy 7fc559dce1 revert previous changes for this test as it fail on jenkins but not locally... It Works On My Machine is back :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-21 16:34:03 +10:00
olivier lamy 8d3f82a479 [MRM-1956] Replace tomcat-jdbc pool with HikariCP
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-20 21:49:28 +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 3a18da17df Fixing DTD of jcr config file 2017-06-13 23:36:25 +02:00
Martin Stockhammer 6ff4d94f6c [MRM-1953] Upgrading and fixing jacoco configuration 2017-06-13 22:48:31 +02:00
Martin Stockhammer 7c4e951f8d Updating config for new site plugin 2017-06-13 20:44:32 +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
Martin Stockhammer 878287b7b3 [MRM-1945] Fixing race condition
Do not return used locks anymore. If the lock map contains
an entry already, the retry loop continues.
2017-05-28 22:40:07 +02:00
olivier lamy 0e73c44d89 use same plugin version
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-27 21:21:06 +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 2cc9dc8b4a Fix for initialization problems with new spring version 2017-05-21 22:38:21 +02: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 889ac84686 Fixing jdk version 2017-05-05 13:20:15 +02: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 e37ed62098 Synchronizing surefire versions 2017-04-28 22:48:09 +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 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
Martin Stockhammer c48c96d705 Adding additional help texts for config properties 2017-04-21 22:32:15 +02:00
Martin Stockhammer e367cba9b3 Additional try to fix build problems on ci 2017-04-17 21:44:04 +02:00
Martin Stockhammer 76f733e579 Trying to fix build error on ci server 2017-04-17 21:30:03 +02:00
Martin Stockhammer b0f22a2469 Fixing locking tests on windows 2017-04-16 22:17:16 +02:00
Martin Stockhammer 151fae7e17 Adding additional information for failing tests 2017-04-16 21:55:35 +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 94e8342ec0 [MRM-1859] Improve handling of invalid artifacts
Throws only exception if all artifacts are invalid.
Ignores resolver-status.properties
2017-04-14 18:45:49 +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