Commit Graph

1231 Commits

Author SHA1 Message Date
Olivier Lamy 3ce179965e remove not anymore used interface
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1574767 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 04:38:58 +00:00
skygo 3f378e23fd refresh Common @Override, package level jdoc for api ref, resolve File.toUrl deprecation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1573835 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 00:59:50 +00:00
Olivier Lamy cf9d918e51 [MRM-1807] Archiva wrapper fail to start: add values in default-archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571882 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 00:30:58 +00:00
Olivier Lamy d7b9b3e9f1 format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571849 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 22:41:23 +00:00
Olivier Lamy 97a4b06e0b format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571848 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 22:41:13 +00:00
Olivier Lamy 73b0d6bf95 more logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571847 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 22:41:04 +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 0b3773952c remove non used file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 23:07:05 +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 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 7c61a2b65e add stage repository for consumer-archetype build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565977 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 11:59:30 +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 cf0be71e5f fix issue with typeahead
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1557935 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 05:27:18 +00:00
Olivier Lamy 2ac34a15b2 remove use of httpunit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556440 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 04:57:00 +00:00
Olivier Lamy 9c775bf55a use constructor injection
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556439 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 04:56:45 +00:00
Olivier Lamy 2d840d9ffe use strict matching for model mapper
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556158 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 09:28:05 +00:00
Olivier Lamy 59743128e8 use strict matching for model mapper
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556150 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 08:55:08 +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 3c2817d545 use model mapper
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1553475 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 12:55:56 +00:00
Olivier Lamy 840c116465 remove non used private method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552196 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 01:03:40 +00:00
Olivier Lamy 347a3918be fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551836 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 04:41:43 +00:00
Olivier Lamy 3e6c7ea831 ignore ClosedChannelException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551831 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 04:04:38 +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 d5830c882e prevent running in parrallel
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551476 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:29:40 +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 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 dcd4afcdb8 configure cron expression to merge remote indexes tru the UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551471 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 07:28:16 +00:00
Olivier Lamy 66ed6cb4b0 prevent possible NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551386 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 22:35:10 +00:00
Olivier Lamy 52caa0198b better handling of FNFE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551370 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 22:01:19 +00:00
Olivier Lamy db3fd658d5 osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551178 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 11:17:16 +00:00
Olivier Lamy 56d48bd36e start refactoring merging remote indexes to have a cron job doing it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551123 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 06:53:37 +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 c2d4f8bce1 prevent possible file limit issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551121 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 06:53:09 +00:00
Olivier Lamy 4e077a844e prevent possible race condition if the file has been deleted
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1551109 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 03:35:55 +00:00
Olivier Lamy 4803f6be06 [MRM-1702] make the locking configurable via the UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550708 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 12:33:35 +00:00
Olivier Lamy 3e91228d28 try creating the file before the lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550648 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 05:31:21 +00:00
Olivier Lamy a597458ba9 track FileNotFoundException if a concurrent thread delete the file before locking and try recreate it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550647 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 05:31:13 +00:00
Olivier Lamy 76d1127f8b skip locking true per default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550644 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 05:04:27 +00:00
Olivier Lamy e1c3663b01 use a concurrent map to handle file lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550641 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:47:36 +00:00
Olivier Lamy a903627323 fix rat and naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550640 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:47:24 +00:00
Olivier Lamy 679725dd5d file lock manager must be configurable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550639 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:47:10 +00:00
Olivier Lamy 49c91d619d add missing @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550638 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:54 +00:00
Olivier Lamy e48c05fb6f add note on possible improvments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550637 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:45 +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 c3ba717d4c expose how to skip locking mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550635 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 04:46:12 +00:00
Olivier Lamy 62fd82d3c2 fix osgi
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550563 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:39 +00:00
Olivier Lamy 79329d262e fix timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550562 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:34 +00:00
Olivier Lamy 7fc6fb2158 add class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550561 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:24 +00:00
Olivier Lamy 3e344bc827 throw a timeout exception if not possible to get the lock after the timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550560 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:16 +00:00
Olivier Lamy 4f4e15568d fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550559 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:37:05 +00:00
Olivier Lamy a724876adf license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550558 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:36:58 +00:00
Olivier Lamy 7f1ddf0b2f fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550557 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:36:48 +00:00
Olivier Lamy 875890880a cleanup this file locking library
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550556 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 22:36:40 +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 074386d154 dependencies not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550044 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 03:40:15 +00:00
Olivier Lamy 8039adacd0 not needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1550042 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 03:39:59 +00:00
Olivier Lamy 2260b8e867 [MRM-589] use last plexus-utils 3.0.15
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1549807 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 11:03:32 +00:00
Olivier Lamy 05065c4deb not needed variable declaration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1547290 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 05:46:19 +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 0edb0a75ef use last ehcache 2.7.4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1544405 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 03:38:58 +00:00
Olivier Lamy b07ef499d8 fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1542166 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 03:55:45 +00:00
Olivier Lamy 76b43a9254 ignore files part of index directory when scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1542140 13f79535-47bb-0310-9956-ffa450edef68
2013-11-15 00:41:06 +00:00
Olivier Lamy 402f10c841 code cleanup comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541400 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 06:33:14 +00:00
Olivier Lamy ab6f5bde33 move to last easymock 3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541399 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 06:31:24 +00:00
Olivier Lamy 609b3d7e98 remove non used variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539519 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 05:21:12 +00:00
Olivier Lamy 0399353cf3 use last jackson version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1537754 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 23:01:29 +00:00
Olivier Lamy 4d6b0df838 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1525883 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 13:31:30 +00:00
Olivier Lamy ef1759b856 [MRM-1779] pom artifacts cannot be searched on Archiva 1.4-M4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1525882 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 13:31:10 +00:00
Olivier Lamy cbd48a3a99 use index for faster startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1522750 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 00:15:31 +00:00
Olivier Lamy 02fc935ac9 use guice no_aop which is faster for our usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1519361 13f79535-47bb-0310-9956-ffa450edef68
2013-09-02 07:47:03 +00:00
Olivier Lamy c809f0249b use guice from google
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1512683 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 12:56:05 +00:00
Olivier Lamy 63533c4177 next version will be 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1508017 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 12:31:34 +00:00
Olivier Lamy d7f7a0d9a3 next version will be 1.4.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1488666 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 11:25:25 +00:00
Olivier Lamy 233a2d78e4 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1486549 13f79535-47bb-0310-9956-ffa450edef68
2013-05-27 09:29:30 +00:00
Olivier Lamy d6d41d28f0 [maven-release-plugin] prepare release archiva-1.4-M4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1486547 13f79535-47bb-0310-9956-ffa450edef68
2013-05-27 09:28:55 +00:00
Maria Odea B. Ching fbc8c42996 [MRM-1751] removed unused methods and config + update docs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484418 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 10:28:30 +00:00
Maria Odea B. Ching 04bb7a29d3 [MRM-1751] include mergedIndexTtl in temporary group index & indexmergerrequest so the repo config for ttl will be used upon clean up instead of the default config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484377 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 06:24:33 +00:00
Olivier Lamy cfaf9559dd use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:28:52 +00:00
Maria Odea B. Ching 48b1538702 [MRM-1751] add merged index ttl to repo group configuration + unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1481952 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 16:23:22 +00:00
Olivier Lamy 2955db481a remove redundant version element
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1480559 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 08:34:00 +00:00
Olivier Lamy d287c744b4 use inject plexus from eclipse
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1475752 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 13:19:19 +00:00
Olivier Lamy 616b41d781 no need of public method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471411 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 13:38:45 +00:00
Olivier Lamy a63168fbbc verify roles for repository are configured on startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471410 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 13:38:23 +00:00
Olivier Lamy 3c082f7e58 add some FIXME but not for this release :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471376 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 12:00:12 +00:00
Olivier Lamy cadd272aa0 log4j2 2.0-beta5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1471362 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 10:41:53 +00:00
Olivier Lamy 0da207565c fix handling of dynamic mergedIndexPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470363 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 23:35:17 +00:00
Olivier Lamy 3b64d5dca9 fix update/add for mergedIndexPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470359 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 22:56:28 +00:00
Olivier Lamy 65f55af646 configure default value for the path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470298 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 13:27:42 +00:00
Olivier Lamy e0c2f0af78 [MRM-1745] path of merged index for group configurable
implement backend part

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1470295 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 13:22:26 +00:00
Olivier Lamy 1323fcc1dc [MRM-1736] map roles to ldap groups
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1460936 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 00:07:51 +00:00
Olivier Lamy bdabf612a2 [MRM-1736] map roles to ldap groups
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1460935 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 00:07:15 +00:00
skygo 40c462af88 fix imports and minors warning sonar.
remove a space in transactions name pom.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1456696 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 22:12:24 +00:00
Olivier Lamy 14e25a7b23 add a simple index with link to configuration file model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1452839 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 15:08:27 +00:00
Olivier Lamy 7c7f3233bb make sure rbacmanager is not readonly before chaining write actions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449090 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 16:04:52 +00:00
Olivier Lamy b7df9ae27e ease users life for ldap setup make com.sun.jndi.ldap.LdapCtxFactory default if available.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449089 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 16:04:29 +00:00
Olivier Lamy 9d77408e43 fix compilation of mock RoleManager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448675 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 15:00:37 +00:00
Olivier Lamy 08c68fe7f0 default must be jdo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1448663 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:39:24 +00:00
Olivier Lamy 907ffd42d8 this optimisation was very crappy in fact so remove it: too much synchronization were needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447476 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:30:51 +00:00
Olivier Lamy 95f86b2fe2 no need to rebuild the collection if exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447475 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:30:27 +00:00
Olivier Lamy 2c4b7c6c4c prevent possible multi thread issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447472 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 20:30:09 +00:00
Olivier Lamy e807e6d869 add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447168 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:30:00 +00:00
Olivier Lamy 8364c17d3a service to provide available rbacmanager implementations informations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447164 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:28:48 +00:00
Olivier Lamy cd9cb8eb82 prevent possible NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446363 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 22:12:36 +00:00
Olivier Lamy 7711abea0d reload field in case of configuration change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445993 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:53:27 +00:00
Olivier Lamy 84cc32a55f optimize a bit: no need to fully rebuild the bean if no change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445900 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 20:21:54 +00:00
Olivier Lamy dd4703f181 no need to expose keys which are stored in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445899 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 20:21:33 +00:00
Olivier Lamy 114eb24636 add ldap bind authenticator enabled as a archiva config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445544 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 10:31:28 +00:00
Olivier Lamy 08297071c2 map property ldap.config.groups.use.rolename in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445346 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 20:38:31 +00:00
Olivier Lamy b2130aacec ensure correct default values for archiva model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445274 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:13:23 +00:00
Olivier Lamy 600d8258c1 ordering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445273 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:12:30 +00:00
Olivier Lamy 46900eea43 ldap writable save in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1445271 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 17:11:15 +00:00
Olivier Lamy 22b57d7be9 add baseGroupDn in archiva configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1444880 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 17:13:06 +00:00
Olivier Lamy b72d669109 better logging when cleaning temp group index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443793 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 23:44:28 +00:00
Olivier Lamy 6abe3b6a90 log time to merge indexes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443760 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 22:22:13 +00:00
Olivier Lamy 4e81a58810 use value from registry
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443755 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 22:21:10 +00:00
Olivier Lamy 47b902d8ab better with adding the new class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443528 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:58:12 +00:00
Olivier Lamy cde16b4a26 use a bean class for request to ease future enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443527 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:55 +00:00
Olivier Lamy e0ecff38ea simplify code and better variable name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443526 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:32 +00:00
Olivier Lamy 3e447d498c rename method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443524 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 14:57:11 +00:00
Olivier Lamy fafe841a99 fix archiva-indexer module tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443366 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 09:29:51 +00:00
Olivier Lamy cbf92221e7 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443281 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:59:57 +00:00
Olivier Lamy 33527242fb fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443280 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:59:33 +00:00
Olivier Lamy 4fe1215675 dont use a default directory inside data for repositories content
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443265 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:54:56 +00:00
Olivier Lamy b978de05ff fix issue when creating repository with relative path index used a wrong repository directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443259 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:49:40 +00:00
Olivier Lamy 53f8581435 no need to create etc.. if the index already exists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443258 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 22:49:25 +00:00
Olivier Lamy 295d3296c0 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443223 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:24:34 +00:00
Olivier Lamy 9b1ba50b0a remove duplicate code with using exposed method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443220 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:22:04 +00:00
Olivier Lamy a331e649ca be consistent for index repository created with a relative path with default ones
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443219 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:50 +00:00
Olivier Lamy 442c782a1d be consistent for repository created with a relative path with default ones
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443218 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:33 +00:00
Olivier Lamy 6131e693a9 correctly delete previous index directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443217 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:18 +00:00
Olivier Lamy c606acd784 [MRM-1744] updating managed repository fail to correctly update maven index directory.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443216 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 21:21:01 +00:00
Olivier Lamy d9781d064a use StringUtils.isNotBlank
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1442912 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 11:23:06 +00:00
Olivier Lamy eee92e93b8 add a better default value
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1442911 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 11:22:46 +00:00
Olivier Lamy b43aff915e add a marker to be able to debug this part without debugging all of this class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1442649 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 16:28:34 +00:00
Olivier Lamy 0e4862b241 fix groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1441809 13f79535-47bb-0310-9956-ffa450edef68
2013-02-02 20:50:31 +00:00
Olivier Lamy 9de15a459f correctly shutdown http connection manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1439693 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:29:09 +00:00
Olivier Lamy 71b7c89c8e remove use of deprecated class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1439691 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 23:25:18 +00:00
Olivier Lamy 11afd010f5 use cache per default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1436468 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 16:37:13 +00:00
Olivier Lamy 6c05482be3 fix dynamic usage of rbac manager impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1434422 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 21:48:35 +00:00
Olivier Lamy 9a014b52dc use our own RBACManager to be able to configure dynamically real impls used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1433553 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 17:55:53 +00:00