Commit Graph

4531 Commits

Author SHA1 Message Date
Olivier Lamy f21e64d0c9 [MRM-815] aggregate indices for repository groups.
add a unit for this feature.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199337 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:48:35 +00:00
Olivier Lamy 6a767ceb44 configure archetype test to run with an empty repo to ensure all artifacts are available
use archetype 2.2-SNAPSHOT which has those features.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199336 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:47:11 +00:00
Olivier Lamy e4ca7d18c0 move some test stuff in an Abstract class to be able to reuse it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199335 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:46:50 +00:00
Olivier Lamy 430bfe6791 [MRM-1555] upgrade derby version to 10.8.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199162 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 09:22:18 +00:00
Olivier Lamy ec34863713 restore 1.5 build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199161 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 09:07:51 +00:00
Olivier Lamy 52b31a8ee9 m not needed for memory settings in wrapper.conf
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198794 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 16:16:29 +00:00
Olivier Lamy 1952006041 use new tld uri from redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198761 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 14:58:16 +00:00
Olivier Lamy 4521696d10 upgrade to jackrabbit 2.3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198700 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 11:00:48 +00:00
Olivier Lamy e9f5d8bbde [MRM-815] aggregate indices for repository groups.
add a note on this new feature in virtual-repositories documentation.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198672 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 09:34:27 +00:00
Olivier Lamy 4c10128a3a [MRM-815] aggregate indices for repository groups.
add a sys props in wrapper.conf for ttl value.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198648 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:30:06 +00:00
Olivier Lamy 0f6f9dfa4a [MRM-1549] add some initial memory setup in wrapper.conf
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198647 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:53 +00:00
Olivier Lamy cef293cf57 move jdbc test url and jdbc test driver to properties to be able to change that in one place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198646 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:35 +00:00
Olivier Lamy 9721429786 restore a good value, this value was here for testing: not a good production value :--
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198644 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:28:46 +00:00
Olivier Lamy 5dbee3276e add basic memory settings in jetty wrapper distrib
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198643 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:28:33 +00:00
Olivier Lamy 31d46f8f87 restore derby version 1.5 compat
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198595 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 00:05:40 +00:00
Olivier Lamy 7738486c1a maven indexer cleanup only directory content so cleanup manually directory too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198370 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 13:50:40 +00:00
Olivier Lamy 0da6ef6d8c [MRM-1548] configure a java.io.tmpdir in ./temp for jetty distrib
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198293 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 09:02:03 +00:00
Olivier Lamy 4693e534c1 use temp directory in ${project.build.directory} for tomcat7 run
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198015 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:56:57 +00:00
Olivier Lamy b3f0bc9730 gloups compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198014 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:56:43 +00:00
Olivier Lamy 7ad0e303a0 [MRM-815] aggregate indices for repository groups.
delete temporary on session end with a session listener
periodical taks to cleanup too old temp group index.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198011 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:50:28 +00:00
Olivier Lamy e9d93aa21b fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197956 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 13:31:53 +00:00
Olivier Lamy ea0034cd8a fix test compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:15:00 +00:00
Olivier Lamy 3332f36a12 [MRM-815] aggregate indices for repository groups.
correctlty returned various index files.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197906 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:08:42 +00:00
Olivier Lamy f0a3cbb416 check first if the request is .indexer browsing to not iterate over repositories (ie normal process)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197905 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:07:59 +00:00
Olivier Lamy 1c437a85fb fix consumer archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197792 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 21:28:51 +00:00
Olivier Lamy 6963879067 upgrade slf4j to 1.6.4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197791 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 21:28:12 +00:00
Olivier Lamy 48314e4daa remove temporary indexes from indexer too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197703 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 18:29:41 +00:00
Olivier Lamy 392019d186 gloups missed to add the file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197697 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 17:58:42 +00:00
Olivier Lamy 64e1d8c81a use derby only in memory for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197665 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:59:20 +00:00
Olivier Lamy 08be498ff3 fix unit tests in webapp those lucene locks kills me :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197664 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:58:51 +00:00
Olivier Lamy d1da0d0d20 fix compilation issue due to redback upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197635 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:33:15 +00:00
Olivier Lamy a383916c30 fix link returned by archiva during browsing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197602 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:41:53 +00:00
Olivier Lamy 534334dd98 fix unit test in webdav weird issue with spring context not the same in servlet runner
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197599 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:29:31 +00:00
Olivier Lamy 2b4b9f0c0b cleanup some test code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197570 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 13:52:43 +00:00
Olivier Lamy 840cabb0fb avoid lucene lock issues with starting spring container with no repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197569 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 13:51:54 +00:00
Olivier Lamy 1f57d52fa4 fix component in charge of cleaning maven index @Inject comes from a lot of packages: just use the good one :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197434 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 08:56:59 +00:00
Olivier Lamy e11c4ccf18 start fixing unit test on webdav module: ensure correctly closing lucene index on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197361 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:47:50 +00:00
Olivier Lamy 9cc35c2f0e use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
missed rest-services module

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197360 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:47:23 +00:00
Olivier Lamy 159806983d use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Olivier Lamy f91f284d77 upgrade to redback 1.4-SNAPSHOT
use an artifact with test resources from redback to avoid too much file duplication redback-core.xml

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197356 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:45:56 +00:00
Olivier Lamy 0b94298d7c ensure we cleanup Maven IndexingContext on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197355 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:45:37 +00:00
Olivier Lamy 08c8f5fafd add unit tests to ensure javadoc is respected regarding usage of repo Ids in SearchRequest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197354 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:45:14 +00:00
Olivier Lamy 8a7a516283 remove this struts2-jqboot-theme
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197184 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:22:45 +00:00
Olivier Lamy 1baef37e75 fix unit tests in archiva-rest-services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197182 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:44 +00:00
Olivier Lamy 44885020d8 optimize io consume by not deleting/copying artifacts for all tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197181 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:21 +00:00
Olivier Lamy d3fe5410c7 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197180 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:00 +00:00
Olivier Lamy c362beb078 upgrade to ehcache 2.4.6
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197143 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:31:20 +00:00
Olivier Lamy 3504307447 fix archiva-xmlrpc-services unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197142 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:31:06 +00:00
Olivier Lamy eeed38179f fix tests in archiva-lucene-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197141 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:30:36 +00:00
Olivier Lamy c215c38616 fix unit tests in archiva-scheduler-indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197140 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:30:03 +00:00