Commit Graph

351 Commits

Author SHA1 Message Date
Martin Stockhammer f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer 8cb4ef0aea Cleaning up indexing task 2018-03-30 17:33:54 +02:00
Martin Stockhammer 9cd3c61340 Adding packedIndexDir 2018-03-29 23:47:13 +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 754b2d5940 Adding local path to repository API 2017-11-20 08:20:42 +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 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 32ff2ca265 Adapting the scheduler to the new repository api 2017-11-01 15:38:42 +01:00
Martin Stockhammer acbcb48747 Adding data path to configuration 2017-10-22 17:01:27 +02:00
Martin Stockhammer e0eff36ebc Changing daysOlder to retentionTime 2017-10-03 19:50:23 +02:00
Martin Stockhammer f886688c25 Migrating scheduler to java.nio 2017-09-10 17:47:17 +02:00
Martin Stockhammer 9148a900ee Migrating repository scanner to java.nio 2017-09-08 15:24:01 +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 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 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 f72ff88c46 fixing some directories
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-15 21:12: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 623eb062da shaded package changed
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-28 21:10:24 +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
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
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
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
olivier lamy 84a1846854 Merge branch 'feature/jetty_9.4' 2017-05-18 13:53:17 +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
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 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 e6950bba28 Add jpa settings to test spring contexts 2016-10-26 23:27:26 +02:00
olivier lamy e2482432b2 [maven-release-plugin] prepare for next development iteration 2016-05-23 10:38:28 +10:00
olivier lamy 64f4bc5e0e [maven-release-plugin] prepare release archiva-2.2.1 2016-05-23 10:38:19 +10:00
Olivier Lamy be4c847d96 more usage of MockRepositorySessionFactory 2015-10-01 15:50:35 +10:00
Olivier Lamy d13adfd5ed more usage of MockRepositorySessionFactory 2015-10-01 15:02:46 +10:00
Eduardo Souza 01f9aad617 [MRM-1861] Proxy behaviour issue migrating from 1.3.x to 2.x 2015-06-11 20:18:45 -03:00
Olivier Lamy 46ccfb47a6 [maven-release-plugin] prepare for next development iteration 2015-02-24 21:55:57 +11:00
Olivier Lamy e5500cce83 [maven-release-plugin] prepare release archiva-2.2.0 2015-02-24 21:55:45 +11:00
Olivier Lamy 61c83ff3d9 [MRM-1867] Adding a find jar by checksum functionality to the REST api 2015-01-12 17:07:54 +11:00
Carlos Sanchez f11f39932a [MRM-1390] Bump version to 2.2.0 2014-12-01 16:56:43 +01:00
Carlos Sanchez 63479200ce Add a AbstractMetadataRepository to remove duplicated code 2014-11-06 13:39:28 +01:00
Eric Barboni c2f9100dda MRM-1865 remove isPermanent flag 2014-10-10 22:41:59 +02:00
Olivier Lamy ede01e523e [maven-release-plugin] prepare for next development iteration 2014-09-01 15:15:00 +10:00
Olivier Lamy aca120c87c [maven-release-plugin] prepare release archiva-2.1.1 2014-09-01 15:14:47 +10:00
Brett Porter 2b8f78afe2 take advantage of generic type 2014-08-01 12:48:26 +10:00
Olivier Lamy f051ac2796 [maven-release-plugin] prepare for next development iteration 2014-07-16 10:51:34 +10:00
Olivier Lamy 93eafa089c [maven-release-plugin] prepare release archiva-2.1.0 2014-07-16 10:51:21 +10:00
Olivier Lamy 2132965397 more code simplification with 1.7 features 2014-04-17 10:46:06 +10:00
Olivier Lamy bb30140719 using more java.nio.file 2014-04-17 09:57:30 +10:00
Olivier Lamy afd02f3a13 Revert "[MRM-1828] upgrade to jetty 9.x"
This reverts commit a7a2c9130e.
2014-04-14 15:56:30 +10:00
Olivier Lamy a7a2c9130e [MRM-1828] upgrade to jetty 9.x 2014-04-14 14:08:55 +10:00
Eric Barboni 99117364be one move for all remaining override annotation 2014-04-11 23:46:35 +02:00
Olivier Lamy d6c28781b0 more diamond 2014-04-10 23:11:38 +10:00
Olivier Lamy d9de8dc7af use diamond operator 2014-04-10 11:43:11 +10:00
Olivier Lamy 751bffaef1 bump version to 2.1.0-SNAPSHOT because of 1.7 pre requisite
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585071 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:57:09 +00:00
Olivier Lamy bef128817d move the factory bean to the api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582713 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43:24 +00:00
Olivier Lamy 663de30beb [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581635 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:25 +00:00
Olivier Lamy 477615ea47 [maven-release-plugin] prepare release archiva-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581634 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:39:38 +00:00
Olivier Lamy 7156611df0 use assertj as fest-assert is not maintained anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581256 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:29:30 +00:00
skygo 764c9d6424 fix javadoc. Generation possible on jdk8
(fix html content + replace @todo with TODO  )

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571532 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 02:01:14 +00:00
Olivier Lamy d5dfe85111 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566005 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:07:59 +00:00
Olivier Lamy 57d85761a8 [maven-release-plugin] prepare release archiva-2.0.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566004 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:07:08 +00:00
Olivier Lamy 4535901efd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566002 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:06:19 +00:00
Olivier Lamy 12722ebf9d [maven-release-plugin] prepare release archiva-2.0.0-RC3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:05:32 +00:00
Olivier Lamy f6b004c361 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565998 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:04:34 +00:00
Olivier Lamy 8efe254c0f [maven-release-plugin] prepare release archiva-2.0.0-RC2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565997 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:03:45 +00:00
Olivier Lamy bd56eac0c4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565985 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:01:36 +00:00
Olivier Lamy 7c38ab4088 [maven-release-plugin] prepare release archiva-2.0.0-RC1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565984 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:00:46 +00:00
Olivier Lamy abf7ffaa6d change version to 2.0.0-RC1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565974 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 11:59:09 +00:00
Olivier Lamy 69c9ae20de cleanup use jsoup to parse html result
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555674 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:58 +00:00
Olivier Lamy 471bb12beb refactor unit tests to get rid of the old httpunit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555666 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:30:55 +00:00
Olivier Lamy 84bcc48e6b [MRM-1750] Add remote repository health check
Add rest api

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552981 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 12:25:23 +00:00
Olivier Lamy 14736745e4 use fest assert
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552161 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 23:27:31 +00:00
Olivier Lamy 1e1f7cdacd [MRM-1746] build merged index for groups with a cron schedule
fix issues

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551475 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:29:31 +00:00
Olivier Lamy af520c00cf [MRM-1746] build merged index for groups with a cron schedule
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551473 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:28:54 +00:00
Olivier Lamy 3ee1c5f9ff cleanup logging on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549732 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 01:29:51 +00:00
Olivier Lamy 60b382e36e fix logging warn level
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546890 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 04:07:17 +00:00
Olivier Lamy 1fcefd5846 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546488 13f79535-47bb-0310-9956-ffa450edef68
2013-11-29 00:46:30 +00:00
Olivier Lamy 039f595e42 use new quartz builder
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546487 13f79535-47bb-0310-9956-ffa450edef68
2013-11-29 00:46:15 +00:00
Olivier Lamy f303650541 fix logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546485 13f79535-47bb-0310-9956-ffa450edef68
2013-11-29 00:45:40 +00:00
Olivier Lamy 2795973bce remove empty javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546473 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 23:14:13 +00:00
Olivier Lamy 8a9c07a9c2 dependency not anymore needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541819 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 04:56:09 +00:00
Olivier Lamy 0bd43cf6f8 back to use wagon for remote download index to prevent unit test failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541818 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 04:55:51 +00:00
Olivier Lamy c230bdbe41 add a service to know repositories ids running a remote download
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541794 13f79535-47bb-0310-9956-ffa450edef68
2013-11-14 03:11:06 +00:00
Olivier Lamy a8fc937678 fix timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539888 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 00:55:15 +00:00
Olivier Lamy 359c0bc335 osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539526 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 05:23:37 +00:00
Olivier Lamy dbc237dc03 cleanup and fix logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539524 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 05:23:08 +00:00
Olivier Lamy db38728d12 add listener for downloading
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539523 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 05:22:45 +00:00
Olivier Lamy 99aa5b7535 fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539522 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 05:22:19 +00:00