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
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
Martin Stockhammer
39b2449b7d
Switching to forked tests in webdav project
2018-11-01 14:02:41 +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
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
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
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
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
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
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
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
7a2710ec0a
Merge branch 'feature/jcr_oak'
2017-08-19 21:37:35 +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
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
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
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
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
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
Olivier Lamy
4ad5e63c64
more usage of MockRepositorySessionFactory
2015-10-01 16:21:14 +10:00
Olivier Lamy
6484df9d69
fix compilation
2015-09-30 22:26:21 +10:00
Olivier Lamy
9356efc2b1
add unit test for both MRM-935 and MRM-837
2015-02-16 21:59:08 +11:00
Olivier Lamy
d124802588
test not needed anymore
2015-02-13 09:42:40 +11:00
Olivier Lamy
d533e27ab2
using maven 1 legacy generate 404
2015-02-13 09:42:20 +11:00
Olivier Lamy
1ba1188d64
[MRM-1359] remove maven1 code
2015-02-12 23:41:27 +11:00
Olivier Lamy
073f69fb90
[MRM-1359] remove maven1 code
2015-02-12 23:31:10 +11:00
Olivier Lamy
642ceb3f9e
[MRM-1359] remove maven1 code
2015-02-12 23:00:22 +11:00
Olivier Lamy
041a8cc8e0
upgrade to cxf 3.0.3
2015-02-06 23:30:36 +11:00
Carlos Sanchez
63479200ce
Add a AbstractMetadataRepository to remove duplicated code
2014-11-06 13:39:28 +01:00
Jonathan Sharp
7c9267111a
MRM-813 tweak APC interface and ADRF AuditEvents
2014-10-17 15:23:47 -07:00
Eric Barboni
705fbd95c4
create a testrule to get a temp folder with a predictible name
2014-09-30 23:06:56 +02:00
Olivier Lamy
c3ef4bfbfb
[MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported
2014-09-15 14:54:08 +10:00
Olivier Lamy
373183554d
spring 4.1.0
2014-09-10 15:09:00 +10:00
Olivier Lamy
d4c85abfac
[MRM-1854] Last modified date is epoch on directory listing for a group
2014-09-01 14:04:41 +10:00
Olivier Lamy
d42a81ac34
format
2014-09-01 13:34:05 +10:00
Brett Porter
cd731be98b
unused import
2014-07-31 15:12:29 +10:00
Brett Porter
fafb8d284f
split out audit facet and listener to match others
...
by placing these in the metadata model / API they can be used more broadly,
while the storage-dependant implementation can be in a plugin. This means the
plugins can be removed from the admin implementation, which can then be used
(as required) in the CLI
2014-07-31 15:10:37 +10:00
Olivier Lamy
79cc8e3948
revert c648adb306
too
2014-06-25 16:33:31 +10:00
Olivier Lamy
7cc7854a26
revert previous commit as 2.x was not affected in fact
2014-06-25 16:27:46 +10:00
Brett Porter
48a42e895a
[MRM-1796] support artifacts larger than 4G
...
[MRM-1796] support artifacts larger than 4G
2014-06-25 16:23:53 +10:00
Brett Porter
c648adb306
[MRM-1796] support artifacts larger than 4G
2014-06-25 16:21:43 +10:00
Olivier Lamy
d93e36e62d
fix unit
2014-06-11 03:02:49 +10:00
Olivier Lamy
2124e24a18
add comment
2014-06-11 02:46:11 +10:00
Olivier Lamy
7972d75082
[MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported
2014-06-11 02:44:41 +10:00
Eric Barboni
145c89e731
assert from org.junit
2014-04-17 21:56:19 +02:00
Olivier Lamy
dc91fae5fa
more try with resources
2014-04-16 23:00:24 +10:00
Olivier Lamy
ec1e655c9d
use Files.copy from java.nio.file
2014-04-16 18:11:38 +10:00
Olivier Lamy
767e00c182
use Files from java.nio
2014-04-16 17:36:01 +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
5fa4ceb731
more diamond
2014-04-10 16:36:21 +10: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
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
Olivier Lamy
17eb20fb63
fix unit test due to bad previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568841 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 21:58:26 +00:00
Olivier Lamy
99179ba58d
cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568623 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 11:59:21 +00:00
Olivier Lamy
1cbce6c13b
[MRM-1804] IndexOutOfBoundsException when browsing a group with 0 or 1 repo
...
fix display
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568622 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 11:59:13 +00:00
Olivier Lamy
b4f1eb21cf
[MRM-1804] IndexOutOfBoundsException when browsing a group with 0 or 1 repo
...
avoid npe
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1568621 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 11:59:04 +00:00
Olivier Lamy
91e5cffb20
remove files not needed anymore
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556444 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 05:33:19 +00:00
Olivier Lamy
c104acfb06
use mock servlet here too to have faster tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555678 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:38 +00:00
Olivier Lamy
9a0d520266
fix deployment and mkcol unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555677 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:27 +00:00
Olivier Lamy
fc087e3f5e
need to override this one too
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555676 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:16 +00:00
Olivier Lamy
91af8c3d5a
follow redirect as previous testing tool did
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555675 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:32:07 +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
d0bd0ec118
take care of http method
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555673 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:47 +00:00
Olivier Lamy
8ceb67abc9
using mock servlet execution definitely faster than starting tomcat or servlet runner for each test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555672 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:40 +00:00
Olivier Lamy
3bef8aec70
fix unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555671 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:33 +00:00
Olivier Lamy
f9e7178608
fix unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555670 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:26 +00:00
Olivier Lamy
7065cd1585
refactor
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555669 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:20 +00:00
Olivier Lamy
0be38b5026
fix unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555668 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:13 +00:00
Olivier Lamy
ba3e35c60c
missed to add a class
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555667 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:31:06 +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
4825f8eb88
remove use of old httpunit library
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1555665 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 05:30:35 +00:00
Olivier Lamy
009686ad2d
add a nex flag to indicate the merged index is temporary
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551477 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:29:51 +00:00
Olivier Lamy
3ac4f6e662
extract inner classes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551474 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:29:07 +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
b67de4117e
refactoring to ease cron scheduling
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551472 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:28:27 +00:00
Olivier Lamy
28898793f5
start refactoring merging remote indexes to have a cron job doing it
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551122 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 06:53:27 +00:00
Olivier Lamy
06cb9ea4f9
[MRM-1702] use the fileLockLManager in the code with possible race condition
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550636 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:36 +00:00
Olivier Lamy
6b23332e9d
add a new module for file locking
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550396 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 11:26:40 +00:00
Olivier Lamy
d1de91d824
use a temporary redirect for SNAPSHOT download
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549551 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:27 +00:00
Olivier Lamy
ab7ef5c73f
configure redirect type temporary or permanently
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549550 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:18 +00:00