Commit Graph

3600 Commits

Author SHA1 Message Date
Brett Porter 2620870be8 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164496 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 12:02:23 +00:00
Brett Porter b9a43698d1 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164493 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 11:56:51 +00:00
Olivier Lamy 3ac3a4133f prevent creating ~/.m2/archiva.xml during unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:30:24 +00:00
Olivier Lamy ce995cce6d [MRM-1509] change xmlrpc to use new repository administration management api
fix xml rpc spring declaration in webapp

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164394 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:18:56 +00:00
Olivier Lamy 75f7fab6d4 [MRM-1509] change xmlrpc to use new repository administration management api
use new api for ManagedRepository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:18:38 +00:00
Olivier Lamy 56587c1e6d this should be fix unit test on ci server : again the famous it works on my machine :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164354 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 06:17:27 +00:00
Olivier Lamy 428ab46553 run unit test in specified order to understand why those break on jenkins @ asf
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164238 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 20:05:19 +00:00
Olivier Lamy 0fdb6a722c align/magnify names :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164172 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 17:09:08 +00:00
Olivier Lamy 3629e72ab3 throw exception when id or cron expression are empty
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164154 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:43:14 +00:00
Olivier Lamy e6ce81d425 add unit for issue fixed in the previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164151 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:42:17 +00:00
Olivier Lamy 9be7bece75 fix missing value in a bean constructor
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164150 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:41:50 +00:00
Olivier Lamy 55f94e09f6 upgrade to dependency plugin 2.3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163948 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:49:16 +00:00
Olivier Lamy 745243b347 remove some logic methods not anymore used as move to repo admin api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163946 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:49:08 +00:00
Olivier Lamy 2d5d7683fd [MRM-1490] expose rest services: split in more smaller classes rather than a big one with all services split unit tests too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163924 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 07:33:39 +00:00
Olivier Lamy 5a1a84ca30 [MRM-1490] expose rest services: split in more smaller classes rather than a big one with all services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163923 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 07:33:21 +00:00
Olivier Lamy f42244015e fix unit test when executing all : an other unit tests set a mock in the singleton component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163922 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 07:04:39 +00:00
Olivier Lamy 75b97f7c21 [MRM-1505] api to configure ManagedRepository : use it for EditAction in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163914 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:03:05 +00:00
Olivier Lamy 53c7f783a5 fix updateManagedRepo in rest service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163913 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:02:30 +00:00
Olivier Lamy b88c2f5107 [MRM-1505] api to configure ManagedRepository
fix update with staged repo .

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163912 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:01:58 +00:00
Olivier Lamy d111b2f894 fix unit tests while implementing [MRM-1505] in rev 1163444
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163565 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 10:30:09 +00:00
Olivier Lamy 4f0ccd3020 [MRM-1505] api to configure ManagedRepository
fix delete of staged repo too.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163510 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:12:47 +00:00
Olivier Lamy d12d5d853a extract common test methods,add unit test for staged repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163509 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:12:22 +00:00
Olivier Lamy 005b157da7 use QueryParam rather than PathParam to have a more human readable url :
deleteManagedRepository?repositoryId=&deleteContent
rather than deleteManagedRepository/foo/true

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:11:55 +00:00
Olivier Lamy c9b788afb9 add a missing a PathParam
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163449 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 22:53:53 +00:00
Olivier Lamy 0887d40cd8 [MRM-1505] api to configure ManagedRepositories : integrate it in webapp for delete action.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163444 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 22:49:42 +00:00
Olivier Lamy 8b766739ad oups olamy failed the build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163271 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 16:11:21 +00:00
Olivier Lamy 0faa26af80 take care of symlink for asf jenkins
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163264 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:37:51 +00:00
Olivier Lamy 415ba43b68 [MRM-1504] new repository admin module : start using it in webapp module for add.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163258 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:23:55 +00:00
Olivier Lamy c23eed84a3 add more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163200 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 13:19:26 +00:00
Olivier Lamy f38d60d26f ensure roles for repositories are correclty added/removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163199 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 13:19:07 +00:00
Olivier Lamy 925ec59db6 rest services use new repo admin module for managed repos
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163031 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:57 +00:00
Olivier Lamy 67cfeeab8f trigger audit event listeners call in repo admin api when add/delete a managed repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163030 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:33 +00:00
Olivier Lamy 3573e5a36e test we pass in audit event listener
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163029 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:12 +00:00
Olivier Lamy 48ef3f20f2 introduce an AuditInformation bean to have more easily extensible audit mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163027 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:42:38 +00:00
Olivier Lamy 8eba376fb8 [MRM-1504] repository admin module : implements update ManagedRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163025 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:42:14 +00:00
Olivier Lamy 8015b813c2 [MRM-1504] repository admin module : implements delete ManagedRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163024 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:41:34 +00:00
Olivier Lamy f2dbfdf0a8 use location rather than url : better naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162819 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:02:39 +00:00
Olivier Lamy 6f4e720378 [MRM-1504] repository admin module : add unit test for add repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162818 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:02:09 +00:00
Olivier Lamy 5528856fb2 lock maven-dependency-plugin version in parent pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162817 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:01:42 +00:00
Olivier Lamy 6c75081b2a lock maven-dependency-plugin version in parent pomarchiva-modules/archiva-web/archiva-webapp/pom.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162816 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:01:17 +00:00
Brett Porter 82d6d72490 replace url with location to match configuration API and populate sensible values
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162668 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 07:41:16 +00:00
Brett Porter a2ca0a36fb don't write configuration to ~/.m2/archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162658 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 07:07:07 +00:00
Olivier Lamy 66d063c736 oups fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162443 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 21:02:16 +00:00
Olivier Lamy f7c3341a98 remove unused import which fail compilation on 1.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162370 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 15:06:57 +00:00
Olivier Lamy 0d10fd3a9f [MRM-1504] api for repository admin
start some jobs

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162369 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 15:06:42 +00:00
Maria Odea B. Ching 76821dd5c9 [MRM-1488] allow users with sysadmin role to flush cache from System Status page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161988 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 04:16:34 +00:00
Olivier Lamy eb52fe82f7 delete plexus descriptor files : not anymore used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161464 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 09:31:57 +00:00
Brett Porter 3445922612 update licenses and send in RAT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161440 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:42:50 +00:00
Olivier Lamy b988841b1e [MRM-1502] upgrade to wagon http 2.0-SNAPSHOT to avoid http(s) connection recreation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161435 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:21:03 +00:00
Brett Porter 6c2bcf8b39 remove empty file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161431 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:07:40 +00:00