Commit Graph

445 Commits

Author SHA1 Message Date
Brett Porter 4ec9c4356f re-order test 2014-08-01 14:20:56 +10:00
Brett Porter 8b1e1ffa71 refactor service tests
Split out scan call to be explicit to make it easier to refactor duplicate
sections, then move repeated configuration to before/after methods.

Make sure scanning has finished before operations that might concurrently try
to modify the metadata. This also means we can now verify the deletion of the
repository is successful
2014-08-01 12:51:12 +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
Brett Porter be20d16cfd more autowiring 2014-07-30 18:06:15 +10:00
Brett Porter 75c63ff2eb split out problem facet
this avoids modules wanting to report a problem from having to depend on the
plugin itself and its consumer, etc.
2014-07-30 12:02:04 +10:00
Olivier Lamy e92a96880e line ending 2014-07-17 17:54:44 +10:00
Olivier Lamy 0c689f9f6f version is mandatory too 2014-05-21 15:19:52 +10:00
Olivier Lamy ce79d61198 fix context when know repository 2014-05-21 12:09:19 +10:00
Olivier Lamy 89ec8af055 fix context when know repositoryarchiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java 2014-05-21 12:09:03 +10:00
Olivier Lamy b272a1bc2f [MRM-1843] provide mechanism to obtain the latest version of an artifact
Implements LATEST keyword
2014-05-21 10:12:43 +10:00
Olivier Lamy 511858d4ab more cleanup and fix a TODO :-) 2014-05-20 17:15:45 +10:00
Olivier Lamy 2c09abccbc [MRM-1843] provide mechanism to obtain the latest version of an artifact
add some query validation. ensure we properly change the repositoryId for queries without any repositoryId so result can come from a remote repository index
2014-05-20 16:55:34 +10:00
Olivier Lamy 85047d3bb6 [MRM-1843] provide mechanism to obtain the latest version of an artifact
start download api currently redirect
2014-05-20 15:04:47 +10:00
Olivier Lamy 0312f52d7f [MRM-1836] Make search limit (maxCount) configurable via UI 2014-05-02 15:53:54 +10:00
Olivier Lamy 2b03379852 [MRM-1210] Dependency tree should include the artifact type 2014-04-17 15:09:15 +10:00
Olivier Lamy 9dcb92bed0 fix wrong assignment 2014-04-17 09:21:27 +10:00
Olivier Lamy dc91fae5fa more try with resources 2014-04-16 23:00:24 +10:00
Olivier Lamy 65bcbc9d45 do the same as FileUtils.copyFile do 2014-04-16 19:48:53 +10:00
Olivier Lamy ec1e655c9d use Files.copy from java.nio.file 2014-04-16 18:11:38 +10:00
Olivier Lamy 67985e0486 diamond operator 2014-04-16 17:12:51 +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 56696b4bd8 fix cache invalidate when deleting a groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583868 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 04:04:00 +00:00
Olivier Lamy fa2a3efcc7 [MRM-1802] Find a cache solution for browsing part (especially root browsing)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583867 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 03:55:28 +00:00
Olivier Lamy abdad59483 add comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 01:29:07 +00:00
Olivier Lamy ddfbb1c41e fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583229 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 01:30:16 +00:00
Olivier Lamy 90d0b07393 add a bit of caching here at least for released version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582203 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:02:33 +00:00
Olivier Lamy 5719fa8827 format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582197 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:01:41 +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 28c5e2e323 fix issue when deleting project version non snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1558620 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 00:00:17 +00:00
Olivier Lamy 41eefa4f67 fixing browsing with typeahead
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1558609 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 23:32:28 +00:00
Olivier Lamy d2d596e7dc fix issue reported on the mailing list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1556973 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 22:33:52 +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 04d1d172a6 fix mapping with modelmapper
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1553476 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 12:56:18 +00:00
Olivier Lamy bd07ace6fb fix timeout
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552985 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 12:26:20 +00:00
Olivier Lamy 5743afc3ff add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552983 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 12:25:55 +00:00
Olivier Lamy 0c9fab3b3b [MRM-1750] Add remote repository health check
add unit test

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552982 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 12:25:43 +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 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 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 f7cf70133b setup this bean on startup: will make it more thread safe
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546898 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 05:02:19 +00:00
Olivier Lamy 500b4e8d5e reduce log noise for that
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1546897 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 05:02:12 +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 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 a265c0df34 [MRM-1792] Integrate Apache Sirona Monitoring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1540599 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 03:59:33 +00:00
Olivier Lamy a0b9510169 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1539900 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 02:01:29 +00:00