Commit Graph

1087 Commits

Author SHA1 Message Date
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