Commit Graph

1727 Commits

Author SHA1 Message Date
Olivier Lamy e23376ad2a [MRM-1129] web applications are not indexed for java source code : add a unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174827 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 15:16:56 +00:00
Brett Porter 438026ad5c make test more robust - the executor was previously disabled so it didn't operate and the queue removal was not reliable. Now wait for initial scan to complete, then force a scan.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174596 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 08:42:40 +00:00
Olivier Lamy 1e6b57df30 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174561 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 07:19:43 +00:00
Olivier Lamy ebc6b76dcc format code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174543 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:43:19 +00:00
Olivier Lamy b79bd84a0c REST service to copy artifact from one repo to an other one use a field from parent class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174542 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:42:51 +00:00
Olivier Lamy 041699f218 fix assertion in unQueueTask !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174541 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:42:13 +00:00
Olivier Lamy 38036165f0 better documentation in SNIPPET
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174540 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:41:41 +00:00
Olivier Lamy bfbdfc036e use a field from parent class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174538 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 06:41:04 +00:00
Olivier Lamy 078860949f cleanup created test repos after test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174425 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:21:24 +00:00
Olivier Lamy 6e960088a2 add snippet for documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174424 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:21:08 +00:00
Olivier Lamy 45eaefbd9a [MRM-1490] REST services : add a service to copy an artifact from one repo to an other one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174423 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:20:45 +00:00
Olivier Lamy 604d5117e8 fix selenium issues i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174421 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:19:00 +00:00
Olivier Lamy 0157bc252d as there is String concat use log.isDebugEnabled
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174420 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 22:18:06 +00:00
Olivier Lamy 98db72a675 fix some selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172595 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:41:29 +00:00
Olivier Lamy 39f4b78d4f revert previous as don't work very well....
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172593 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:41:07 +00:00
Olivier Lamy 035ed200ac add a hack for selenium issue http://jira.openqa.org/browse/SRC-302
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:40:46 +00:00
Olivier Lamy 22870274ca fix more selenium tests no need to wait server response for client side validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172554 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:10:14 +00:00
Olivier Lamy b2837be655 fix some test : with struts we cannot have both client and server side validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172553 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:53 +00:00
Olivier Lamy b296aef2e4 for some tests which are only javascript validation : no need to wait the response: improve tests speed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172552 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:31 +00:00
Olivier Lamy 4ff75a4b90 start fixing selenium tests, faster tests with no wait when testing javascript form validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1172551 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 10:09:04 +00:00
Olivier Lamy 290e716752 oups fix properties file path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171631 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:43:10 +00:00
Olivier Lamy 13df5c0860 fix snippet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171624 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:29:25 +00:00
Olivier Lamy 4df0e552f9 more search snippet links
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171623 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:25:45 +00:00
Olivier Lamy 67c3409c6e add more OSGI search fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:24:54 +00:00
Olivier Lamy 1eb278af89 start rest documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171591 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:33:21 +00:00
Olivier Lamy f44fe02ef2 add some snippet for using it in documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171573 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 14:09:12 +00:00
Olivier Lamy 2c6e286e71 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171549 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:35:04 +00:00
Olivier Lamy 8a372207dd [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171542 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:28:30 +00:00
Olivier Lamy 33850774a4 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171539 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:18:21 +00:00
Olivier Lamy f62c5ec2d2 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-webdav module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171522 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 12:09:31 +00:00
Olivier Lamy 3c42d0834e fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171467 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:23:31 +00:00
Olivier Lamy 353936a74f [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-model module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171458 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:06:08 +00:00
Olivier Lamy 58b11bca24 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-consumer-api module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171453 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:54:07 +00:00
Olivier Lamy e41ad31bf9 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-repository-layer module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171447 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:41:33 +00:00
Olivier Lamy d5366b9a91 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-policies module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171444 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:34:11 +00:00
Olivier Lamy e4e35de0fa [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-proxy module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171440 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:21:12 +00:00
Olivier Lamy 7a01a324d6 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-common module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171418 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:42:25 +00:00
Olivier Lamy 6561a250ed [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-cli module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171413 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:32:43 +00:00
Olivier Lamy 259220f867 code formatting : NO CODE CHANGE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171407 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:16:06 +00:00
Olivier Lamy 5ff9dab635 [MRM-1520] remove duplicate beans : no more need of BeanReplicator in some places
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171404 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:10:59 +00:00
Olivier Lamy 0396658ae6 [MRM-1520] remove duplicate beans : fix for ArchivaAdministration service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171245 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:53:24 +00:00
Olivier Lamy de35618128 [MRM-1520] remove duplicate beans : fix for RemoteRepository service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171243 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:52:44 +00:00
Olivier Lamy d2f2163fe7 [MRM-1520] remove duplicate beans : fix for NetworkProxy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171242 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:51:58 +00:00
Olivier Lamy baf98dbb9c [MRM-1520] remove duplicate beans : fix for ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171241 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:51:04 +00:00
Olivier Lamy e7a28da297 fix for jdk1.5 build jaxb api is not included
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171206 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:17:53 +00:00
Olivier Lamy 4f136bffe8 [MRM-1520] remove duplicate beans : fix for RepositoryGroup service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171205 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:17:06 +00:00
Olivier Lamy d59216a4f1 [MRM-1520] remove duplicate beans : model beans jaxrs capable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171204 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:16:34 +00:00
Olivier Lamy 44ebf70e2d [MRM-1520] remove duplicate beans : fix for ManagedRepositoryAdmin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171190 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:37:35 +00:00
Olivier Lamy c8ef0abdec [MRM-1520] remove duplicate beans : move model beans to a single package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171188 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:36:22 +00:00
Olivier Lamy 4579f684aa fix quick search which returns artifacts with classifier too : hackhish solution currently as I can't find a way to say in a Lucene query this field must empty or null
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171151 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 15:45:49 +00:00
Olivier Lamy 4298c23f6d [MRM-1509] change xmlrpc to use new repository administration management api : fix bean configuration in the webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171103 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 14:01:04 +00:00
Olivier Lamy 4325788c50 [MRM-1509] change xmlrpc to use new repository administration management api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171102 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 14:00:51 +00:00
Olivier Lamy d13a6a799e rest services path for test is configurable so align to the one defined in web.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171060 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 11:25:04 +00:00
Olivier Lamy 92f181109d fix index optimize default index location
optimize io in search rest service unit test

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171043 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 10:44:52 +00:00
Olivier Lamy 7c1ab2042a [MRM-1490] REST services : unit test for search on OSGI SymbolicName which returns two versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171041 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 10:44:22 +00:00
Olivier Lamy f0b844b438 [MRM-1490] REST services : unit test for search on OSGI SymbolicName
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171040 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 10:44:07 +00:00
Olivier Lamy 8b96e97585 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171039 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 10:43:44 +00:00
Olivier Lamy ee3dd3c5e6 oups missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171016 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 09:06:53 +00:00
Olivier Lamy 979fee6e57 [MRM-1490] REST services : search now returns classifier : fix new services based on this
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171015 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:59:28 +00:00
Olivier Lamy 7b51409788 [MRM-1490] REST services add missing fields when creating a managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171014 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:58:52 +00:00
Olivier Lamy 1aa85c7d7e fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170892 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:05:13 +00:00
Olivier Lamy d29c648c8f fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170889 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:03:52 +00:00
Olivier Lamy 6e252d9a2d -fix unit : lucene sometimes has pain to flush...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170884 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:52:52 +00:00
Olivier Lamy ae4ff95a87 more tests on search rest services
prevent copying files for test in archiva-indexer : with scan activated some results were false

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170883 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:52:22 +00:00
Olivier Lamy 039b587b7e [MRM-1003] get RID of org.apache.maven package : artifact-converter module : test packages too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170639 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:25:24 +00:00
Olivier Lamy 1904684d12 [MRM-1003] get RID of org.apache.maven package : artifact-converter module : fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170633 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:04:12 +00:00
Olivier Lamy 63e9988bb5 [MRM-1003] get RID of org.apache.maven package : artifact-converter module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170632 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:02:57 +00:00
Olivier Lamy 32eddecfda [MRM-1003] get RID of org.apache.maven package : fix previous : never do such move with an ide !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170626 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:54:26 +00:00
Olivier Lamy ae7f816a4f [MRM-1003] get RID of org.apache.maven package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170591 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:06:08 +00:00
Olivier Lamy 808aa92aa0 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170514 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:23:09 +00:00
Olivier Lamy 2459cfd7a8 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170513 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:22:39 +00:00
Olivier Lamy 76ddd65c91 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170512 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:22:19 +00:00
Olivier Lamy f561846380 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170511 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:21:39 +00:00
Olivier Lamy da35eac6b5 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170510 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 10:21:16 +00:00
Olivier Lamy ebac483742 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170352 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 21:10:05 +00:00
Olivier Lamy d1fe90fe66 fix field name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170269 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:47:31 +00:00
Olivier Lamy 0ce164d106 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170263 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:31:51 +00:00
Olivier Lamy 3d29a9d3f4 [MRM-1490] Expose Archiva services trough REST : search service more impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170261 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:31:27 +00:00
Olivier Lamy cd57d56fe9 remove IndexingContext when deleting a managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170259 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:30:51 +00:00
Olivier Lamy 915ef10186 [MRM-1490] Expose Archiva services trough REST : search service add a method to scan repo now useful for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170258 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:30:35 +00:00
Olivier Lamy 0dacf0cb79 not used anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170207 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 15:17:34 +00:00
Olivier Lamy a71e2b06ec get RID of file ~/.m2/archiva.xml created during tests with a new sysprops to use for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170189 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 14:07:24 +00:00
Olivier Lamy 4b9ef913f9 [MRM-1504] Add a new module for repository administration management : remove some direct use of archivaconfiguration in the webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170171 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 13:22:36 +00:00
Olivier Lamy 667064686c fix unit test due to refactoring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170160 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:56:02 +00:00
Olivier Lamy 4ae58b1684 fix unit test due to refactoring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170158 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:55:40 +00:00
Olivier Lamy 919a5ac3eb [MRM-1504] Add a new module for repository administration management
split the repo admin in two modules : api and default implementation (to be able to more easily change the impl).
Use the repo admin api consumers and indexing modules.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170135 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:12:39 +00:00
Olivier Lamy 5c067f2a4d [MRM-1490] REST services : fix design of search service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170133 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:03:08 +00:00
Olivier Lamy 659bd9fa43 reduce search REST service scope for the moment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170132 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:02:52 +00:00
Olivier Lamy 7a01429a44 format cleanup : no code change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170131 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:02:36 +00:00
Olivier Lamy b4959a42f5 during ManagedRepository update save only once as it cause some issues on RegistryListener (repo not found at the first save after removing the updated repo)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:02:18 +00:00
Olivier Lamy 2af805785d remove unused import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1169553 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 22:29:04 +00:00
Olivier Lamy 0b9bfbbb74 fix pom snippet generation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1169552 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 22:26:12 +00:00
Olivier Lamy f761a154b8 fix unit test which fail due to previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167482 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 09:33:33 +00:00
Olivier Lamy 1a122b92b7 update error message
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167476 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 08:25:36 +00:00
Olivier Lamy b9ae9f3e79 [MRM-1514] api to configure OrganisationInfo : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167475 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 08:25:08 +00:00
Olivier Lamy 1f05224168 [MRM-1490] REST services : organisation configuration methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167473 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 07:34:10 +00:00
Olivier Lamy 3c92bc1b40 [MRM-1514] api to configure OrganisationInfo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167472 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 07:33:38 +00:00
Olivier Lamy 648794df0d use admin auto creation feature in dev run
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167348 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 20:14:34 +00:00
Olivier Lamy 2e2934ff94 remove no more use beans : see previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167225 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:41:48 +00:00
Olivier Lamy b31467ae8d [MRM-1512] api to configure RepositoryScanningConfiguration : refactor to remove full access to bean with a large tree of nesteed beans. use simple methods to update fields of RepositoryScanningConfiguration.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167224 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:41:04 +00:00
Olivier Lamy 97de6d3118 [MRM-1490] REST services : more unit test for LegacyArtifactPath and LegacyArtifactPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167223 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:40:15 +00:00
Olivier Lamy 102fd6f531 [MRM-1490] REST services : rest exception without dependencies on internal implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167221 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:39:46 +00:00
Olivier Lamy 7ab4f28232 [MRM-1490] REST services : fix bad design as rest-api introduced a dependency on repo admin api : when using rest services you need to depend only on the remote api not internal to implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167220 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:39:19 +00:00
Olivier Lamy 6aaa0c0e1e [MRM-1490] REST services : expose repository scanning configuration : missed to add some new files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167219 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:38:45 +00:00
Olivier Lamy 18a5202231 [MRM-1490] REST services : expose repository scanning configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167218 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:38:09 +00:00
Olivier Lamy 8566f7a26c [MRM-1512] api to configure RepositoryScanningConfiguration : more test auditlistener call for consumers modification
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167037 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:34:17 +00:00
Olivier Lamy 18d67e6fa8 [MRM-1512] api to configure RepositoryScanningConfiguration : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167036 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:33:55 +00:00
Olivier Lamy ff43de7a65 trigger audit event for file pattern actions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:33:15 +00:00
Olivier Lamy 9a7ab73755 [MRM-1512] api to configure RepositoryScanningConfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:32:59 +00:00
Olivier Lamy 5b7476e8d6 [MRM-1490] REST services : configure legacy paths tru rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166884 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:17:04 +00:00
Olivier Lamy 146c63dd72 [MRM-1511] api to configure LegacyArtifactPath : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166883 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:15:50 +00:00
Olivier Lamy 1bb10ee01e [MRM-1511] api to configure LegacyArtifactPath create services
and add some beans for other archiva admin service

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166882 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:15:23 +00:00
Olivier Lamy cd10c1cde8 [MRM-1513] Remove DatabaseScanningConfiguration fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166734 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:13:58 +00:00
Olivier Lamy b3f0fb7937 reoder modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166588 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:36:24 +00:00
Olivier Lamy d52d2dc6d7 [MRM-1490] REST services : network proxy services tru rest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166587 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:34:43 +00:00
Olivier Lamy 84775832fd [MRM-1510] api to configure NetworkProxy : use it webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166586 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:33:57 +00:00
Olivier Lamy 4060f79073 [MRM-1510] api to configure NetworkProxy : use it webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166585 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:33:34 +00:00
Olivier Lamy 07ae616d7e add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:08:03 +00:00
Olivier Lamy 81b2b9cf7e [MRM-1510] api to configure NetworkProxy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:05:01 +00:00
Olivier Lamy 69074d1008 [MRM-1490] REST services : proxyconnector service : add simple unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166428 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 21:49:33 +00:00
Olivier Lamy 5b3487fe7f fix compilation due to remove of duplicate method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166427 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 21:49:05 +00:00
Olivier Lamy d9d5b0d710 [MRM-1490] REST services : proxyconnector service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166426 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 21:48:21 +00:00
Olivier Lamy 11f4c92f4b remove unused imports and methos
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:37:33 +00:00
Olivier Lamy 9acde9b594 MRM-1507 : api to configure ProxyConnector : use it in the webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:35:00 +00:00
Olivier Lamy a2dd1fd1a4 use beanlib for wrappers constructions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166391 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:33:48 +00:00
Olivier Lamy 06a1782dcd copy Collection to avoid ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166163 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:15:20 +00:00
Olivier Lamy 1032b3d5d1 start using new repo admin module in webdav : need some other refactoring to remove it completely
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166148 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 12:18:55 +00:00
Olivier Lamy 2a795aa6bf MRM-1507 : api to configure ProxyConnector : oops missed to add some files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166131 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:47 +00:00
Olivier Lamy 281092c41a MRM-1507 : api to configure ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:15 +00:00
Olivier Lamy 9822a37199 [MRM-1490] Expose Archiva services trough REST : repository group admin tru rest service : basic unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165893 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:54:42 +00:00
Olivier Lamy 7d82f5a42b [MRM-1490] Expose Archiva services trough REST : repository group admin tru rest service : fix spring annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165866 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:32:36 +00:00
Olivier Lamy b11271fe49 [MRM-1490] Expose Archiva services trough REST : repository group admin tru rest service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165865 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:32:13 +00:00
Olivier Lamy fcaaaa56a5 [MRM-1508] api to managed repository group : use it in webapp fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165848 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:07:30 +00:00
Olivier Lamy cd252dc729 [MRM-1508] api to managed repository group : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165847 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:07:07 +00:00
Olivier Lamy 0f4fdab10d implements hashCode/equals for Collections
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165845 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:31 +00:00
Olivier Lamy 64bf00a031 [MRM-1508] api to managed repository group
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165844 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:11 +00:00
Olivier Lamy 8b54c2ee99 [MRM-1504] new repository admin : more use of new api in webapp : in the repositories index action
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165842 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:05:02 +00:00
Olivier Lamy 9799b541ab formatting : no code changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165560 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:18:43 +00:00
Olivier Lamy ed36598016 get RID of plexus.configuration annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165559 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:13:32 +00:00
Olivier Lamy ac4dbb87e1 get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy 05962b6b42 add missing spring context files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:27:22 +00:00
Olivier Lamy f0c6ee5a71 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy 7e35594e29 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165524 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:23:39 +00:00
Olivier Lamy 3929d7d7df get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165523 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:22:48 +00:00
Olivier Lamy 113fa60beb get RID of deprecated use of ArchivaRoleConstants and some plexus annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165521 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:21:43 +00:00
Olivier Lamy c6066ec4b2 upgrade selenium version used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165352 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 16:35:11 +00:00
Olivier Lamy 31ee82d0d9 start working on fixing issue with selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165351 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 16:34:57 +00:00
Olivier Lamy b2fb3e0465 [MRM-1506] api to configure RemoteRepository : use it in the webapp instead of directly archiva-configuration : fix attribute name and xmlrpc bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165336 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 15:31:28 +00:00
Olivier Lamy 605465f13e [MRM-1506] api to configure RemoteRepository : use it in the webapp instead of directly archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165335 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 15:31:04 +00:00
Olivier Lamy 24fb5970db remove version already defined in parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165334 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 15:30:31 +00:00
Olivier Lamy 7961aeb46a [MRM-1509] change xmlrpc to use new repository administration management api : switch for remote repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165281 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:44:04 +00:00
Olivier Lamy 86d521a12b [MRM-1490] Expose Archiva services trough REST : remote repository management available tru rest service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165278 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:25:30 +00:00
Olivier Lamy 45698e6363 [MRM-1490] Expose Archiva services trough REST : remote repository management available tru rest service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165277 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:24:58 +00:00
Olivier Lamy d915951007 add missing fields in rest beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165276 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:24:19 +00:00
Olivier Lamy 15ce0477fe [MRM-1506] api to configure RemoteRepository : implementation of update method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165210 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:53:47 +00:00
Olivier Lamy a79716d2eb add missing license header and align name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165205 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:32:05 +00:00
Olivier Lamy 4f42feb44f [MRM-1504] Add a new module for repository administration management : move redback configuration and role constants to a new module in archiva-base called archiva-security-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165203 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:31:35 +00:00
Olivier Lamy 0a1b1d317f [MRM-1506] api to configure RemoteRepository : add auditListener call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165044 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:54:52 +00:00
Olivier Lamy 9b2e294e8c [MRM-1506] api to configure RemoteRepository : move some common methods to a common abstract class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165043 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:54:10 +00:00
Olivier Lamy 77eaae1d01 [MRM-1506] api to configure RemoteRepository : implementation of add and delete
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165041 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:53:33 +00:00
Olivier Lamy 8269936883 [MRM-1506] api to configure RemoteRepository : start adding unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165040 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:53:03 +00:00
Olivier Lamy a782dbfd5b [MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation : missed to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164932 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:23:31 +00:00
Olivier Lamy 77287dbb1c [MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:22:56 +00:00
Olivier Lamy 025c72c95c scanning package org.apache.archiva.web too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164837 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 09:03:16 +00:00
Olivier Lamy 72a5da6643 get RID of org.apache.maven.archiva packages : transaction package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164829 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:27:41 +00:00
Olivier Lamy 021495050a get RID of org.apache.maven.archiva packages : xml package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164824 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:21:42 +00:00
Olivier Lamy bfa85f543b get RID of org.apache.maven.archiva packages : applet package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164823 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:19:38 +00:00
Olivier Lamy c7e5fea75a get RID of org.apache.maven.archiva packages : security package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:15:36 +00:00
Olivier Lamy 0f94c8a025 get RID of org.apache.maven.archiva packages : interceptor package in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164821 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:08:11 +00:00
Olivier Lamy 50ec629df8 get RID of org.apache.maven.archiva packages : startup package in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164820 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:05:44 +00:00
Olivier Lamy b1d8c69f44 get RID of org.apache.maven.archiva packages : tags package in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164818 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:00:58 +00:00
Olivier Lamy 54eed9ca99 get RID of org.apache.maven.archiva packages : validator package in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164816 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:46:52 +00:00
Olivier Lamy 30e0e0a01f start to get RID of org.apache.maven.archiva package : rss package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164815 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:44:31 +00:00
Olivier Lamy 25dd5b9a3e start to get RID of org.apache.maven.archiva package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164814 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:41:43 +00:00
Olivier Lamy f4477dca33 start to get RID of org.apache.maven.archiva package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164813 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 07:39:04 +00:00
Olivier Lamy 9bd413340e [MRM-1506] api to configure RemoteRepository : implement get methods missed to add impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:57 +00:00
Olivier Lamy 472c72d85c [MRM-1506] api to configure RemoteRepository : implement get methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164590 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:35 +00:00
Olivier Lamy ac051c8acd [MRM-1506] api to configure RemoteRepository : move common attributes in an AbstractRepository class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164589 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:53:58 +00:00
Olivier Lamy df883fe499 remove fixed FIXME :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164561 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:54:36 +00:00
Olivier Lamy d376a39688 [MRM-1505] api to configure ManagedRepository : use it in webapp instead of directly archiva model : fix attribute in jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164560 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:53:37 +00:00
Olivier Lamy d9b6ddeba1 [MRM-1505] api to configure ManagedRepository : use it in webapp instead of directly archiva model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:53:15 +00:00
Olivier Lamy d1a0d0eb32 [MRM-1505] api to configure ManagedRepository : get RID of not any more used methods/fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164555 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:52:07 +00:00
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 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
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
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
Brett Porter 1f730953af remove generated test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161427 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 07:56:59 +00:00
Brett Porter da3051d315 Jasper reports no longer supported
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161426 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 07:56:17 +00:00
Brett Porter 78348b12ef fix directory name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161396 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 05:49:37 +00:00
Brett Porter 8d439b8f77 no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161150 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 15:23:33 +00:00
Brett Porter 71f1dbe96e update release
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161101 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:50:59 +00:00
Brett Porter 7e0d039096 remove redundant if statement
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161094 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:30:06 +00:00
Brett Porter 41d91f293a clean up comments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161088 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:17:52 +00:00
Brett Porter 0699d4aaaa [MRM-1317] Pagination is broken in audit log report in trunk
Submitted by: Maria Catherine Tan


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161083 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:10:10 +00:00
Brett Porter b3ca825219 remove redundant setup method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161077 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 12:44:24 +00:00
Olivier Lamy 80b7556beb get rid of created ${plexus.home} with derby database created in and never cleaned : could cause some issues -> account locked
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160783 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 16:35:49 +00:00
Olivier Lamy 324c61a7be take care of cleaning redback database : it can cause failure due to account locked !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160717 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 14:46:03 +00:00
Olivier Lamy 95e2f5b636 [MRM-1503] use wagon-http instead of wagon-http-lightweight (as it change proxy network system properties)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160694 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 13:55:11 +00:00
Olivier Lamy 97f001e967 write methods for interface RemoteRepositoryAdmin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160658 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:30:26 +00:00
Olivier Lamy 0f0a3486c9 start working on interfaces for module archiva-repository-admin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160654 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:20:00 +00:00
Olivier Lamy d27077404a desactivate animal sniffer plugin as it fail in module archiva-modules/metadata/test-repository/
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160653 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:36 +00:00
Olivier Lamy 92ee458231 oups fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160650 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:02 +00:00
Olivier Lamy f71c441d3d jaxb api is used so declare it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160649 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:18:49 +00:00
Olivier Lamy 1b3e593825 missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160648 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:18:35 +00:00
Olivier Lamy 1f9b928264 add maven layout for the new module to managed repo : archiva-repository-admin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160297 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:13:34 +00:00
Olivier Lamy fa90a670b1 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160296 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:12:36 +00:00
Olivier Lamy 957679528e oups fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160295 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:12:08 +00:00