Commit Graph

356 Commits

Author SHA1 Message Date
Olivier Lamy ea5ddd0961 improve MetadataRepository api to be able to remove an artifact with MetadataFacet use case deleting a maven artifact with a classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:42:02 +00:00
Olivier Lamy 8d5fdbb102 [MRM-1629] Add a configuration field for the application url.
add necessary mdo changes.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1342456 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 21:59:40 +00:00
Olivier Lamy 944bd484b8 osgi metadatas for taskqueue change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325980 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:10:42 +00:00
Olivier Lamy cc2feeebbe move spring-taskqueue to apache namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325979 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:10:16 +00:00
Olivier Lamy 5ba11055fe repackage spring-registry-commons to o.a.a namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325321 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:27:10 +00:00
Olivier Lamy 6f7d3ac0a8 fix repackaging of spring-registry to a new package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:09:01 +00:00
Olivier Lamy ac5be1730c use o.a.a package namespace for spring-registry-api component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325311 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:08:39 +00:00
Olivier Lamy 16c46cae45 osgi fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325168 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 09:36:55 +00:00
Olivier Lamy 870ce2c4d8 use o.a.a package namespace for spring-quartz component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325047 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 22:26:10 +00:00
Olivier Lamy f255d0216a use spring quartz with asf groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325025 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:46:31 +00:00
Olivier Lamy b2c292d5b6 osgi grhhh :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1311006 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 13:54:15 +00:00
Olivier Lamy 73f15c6bc7 move to package o.a.a.r redback module redback-rbac-role-manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310912 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:12:02 +00:00
Olivier Lamy 22682eeaf8 move to package o.a.a.r
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310784 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 15:06:15 +00:00
Olivier Lamy da36c0b96e redback package change to asf namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310765 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 13:19:01 +00:00
Olivier Lamy 5c8ae7ca09 use new redback groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310512 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 17:57:23 +00:00
Olivier Lamy 59420ec4c4 adding repository with existing location, confirm modal was not closed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308494 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:27:38 +00:00
Olivier Lamy 69f3413fcb take of non absolute path when creating a repository index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308493 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:27:14 +00:00
Olivier Lamy 3e8972f42e take of non absolute path when creating a repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308492 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:26:58 +00:00
Olivier Lamy 6c2bf258aa start working on browsing only one repository to avoid merging incomplete metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301522 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:01:33 +00:00
Olivier Lamy 09a3de2d63 add validation on adding LegacyPath rest method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297637 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 18:30:59 +00:00
Olivier Lamy 378c3365aa display artifacts number found in the search result
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295939 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 22:12:35 +00:00
Olivier Lamy 9b37010349 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295496 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:28:16 +00:00
Olivier Lamy ec49aa3e4b fix compilation issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293769 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:08:13 +00:00
Olivier Lamy e56582fb8f [MRM-1576] rewrite proxies connector page
fix update of properties.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 17:24:11 +00:00
Olivier Lamy e711aa2679 add convenient getter/setter to ease json mapping for Map fields.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242597 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 23:08:27 +00:00
Olivier Lamy 68365364e3 add wagon-http-lightweight as dependency to prevent CNFE in tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240629 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:17:53 +00:00
Olivier Lamy e258bfb349 [MRM-1599] NTLM proxy no longer works
add bean attribute and modify ui.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240622 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:04:51 +00:00
Olivier Lamy fc4b4d3d36 ensure ProxyConnector are correctly ordered
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237697 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 14:58:35 +00:00
Olivier Lamy 627bdfa6b1 add rest service to validate cron expression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235828 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 17:13:37 +00:00
Olivier Lamy 720bbfe195 fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235561 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:43:25 +00:00
Olivier Lamy 4ada471449 [MRM-1574] add rest method to get repositoty statistics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233310 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:18:19 +00:00
Olivier Lamy 839d3e0028 fix rest call for scanRepositoryNow fullScan parameter was not honoured
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233135 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 00:01:42 +00:00
Olivier Lamy 58c30c851d add a rest method to validate if managed repository location already exists.
So move RepositoryCommonValidator to admin api and add the interface

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:08 +00:00
Olivier Lamy b15679f6a9 prevent NPE on initial scan at repository creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232213 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 22:57:03 +00:00
Olivier Lamy c86c62cd2d when possible rest error must return the field with issue to map it in the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231992 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 13:27:37 +00:00
Olivier Lamy f4c55ef0d4 validate managedRepository before remowing it for update. In case of non valid cronExpression it was removed before the validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231900 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 10:29:13 +00:00
Olivier Lamy 3e554184c4 start adding various files for repositories management: html templates js
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231182 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 17:00:51 +00:00
Olivier Lamy a0477581fb fix annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1231177 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 16:59:40 +00:00
Olivier Lamy 717cbf7c8a take care of some ArrayList size init
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229118 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 12:44:02 +00:00
Olivier Lamy 58b08d0094 bump to 1.4-M3-SNAPSHOT version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213816 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:18:37 +00:00
Olivier Lamy 9d3a719381 [MRM-1562] Update to Archiva as OSGi compliant application.
Submitted by Jean-Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205009 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 14:17:04 +00:00
Brett Porter 8b0e861e98 support Windows paths. Thanks to Chris Graham for the tip.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204364 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 06:37:59 +00:00
Olivier Lamy 67b0a5a62a [MRM-1560] Add the possibility to schedule retrieve remote indexes when application startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203406 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:50:21 +00:00
Olivier Lamy 83dfa790b3 skip error in MetadateRepository when deleting a repository; log warn the exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203405 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:49:50 +00:00
Olivier Lamy cef293cf57 move jdbc test url and jdbc test driver to properties to be able to change that in one place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198646 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:35 +00:00
Olivier Lamy 64e1d8c81a use derby only in memory for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197665 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:59:20 +00:00
Olivier Lamy 159806983d use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Olivier Lamy 3504307447 fix archiva-xmlrpc-services unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197142 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:31:06 +00:00
Olivier Lamy 42edbc5ca5 fix tests in archiva-core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197139 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:29:43 +00:00
Olivier Lamy 545a16dbc8 correctly close index on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196856 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 23:19:46 +00:00
Olivier Lamy b698377ca7 take care of non absolute directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:31:01 +00:00
Olivier Lamy eb125e9a34 add a convenient method to create index in repository admin service for remote repos
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196838 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:30:45 +00:00
Olivier Lamy e86c15f7b8 missed to commit pom with indexer dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196837 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:30:22 +00:00
Olivier Lamy 43eae0e795 add a convenient method to create index in repository admin service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196836 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:30:08 +00:00
Olivier Lamy 013ee7f312 remove a FIXME as it's fixed and covered by a unit test too RepositoryGroupAdminTest#addAndDeleteGroupWithRemowingManagedRepo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1188327 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:35:43 +00:00
Olivier Lamy 33776a4920 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185622 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 12:26:11 +00:00
Olivier Lamy ccd7d803f7 [maven-release-plugin] prepare release archiva-1.4-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185616 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 12:19:44 +00:00
Olivier Lamy 659ab05e9f remove self assignemet
use StringBuilder to concate String in a loop.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179997 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:56:07 +00:00
Olivier Lamy e506bed25d [MRM-1327] implement alternative or improve repository metadata storage: remove some repository.xml not needed for test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179244 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 14:48:15 +00:00
Olivier Lamy f260414f76 [MRM-1327] implement alternative or improve repository metadata storage: jcr is now default storage mode.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179142 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:23:09 +00:00
Olivier Lamy 12ba74abf2 fix @since 1.4 with @since 1.4-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178731 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:05:30 +00:00
Brett Porter 6b69ca6416 fix tests that check duplicate artifacts are not added to the lists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178289 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 03:34:40 +00:00
Brett Porter 3c20054f1d update version to 1.4-M1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178021 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:38:32 +00:00
Brett Porter 0fa1fa6ac2 change configuration base to org.apache.archiva instead of org.apache.maven.archiva, update "upgrading" document accordingly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:56:48 +00:00
Brett Porter 77e42c692f make RAT report pass
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177919 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:17:00 +00:00
Brett Porter b1e349b85a avoid derby.log in the current directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177903 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:40:58 +00:00
Olivier Lamy 05191844ba add some materials to be able to use REST services in a gwt based application
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177666 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:00:23 +00:00
Olivier Lamy 0aedd14607 [MRM-1526] configure http connection pool values for wagon http : configure wagon on Archiva start
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177655 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:37:30 +00:00
Olivier Lamy e42e26c8e1 [MRM-1526] configure http connection pool values for wagon http.
add basic services.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177654 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:36:56 +00:00
Olivier Lamy 1b44321088 [MRM-1527] remove http://download.java.net/maven/2/ from default remote repositories (now sync with central) .
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177595 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 11:09:56 +00:00
Olivier Lamy 276eaf0b5d [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : include remote repos when searching
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176110 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:48:28 +00:00
Olivier Lamy 506abf01c8 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : add a download remote time out field as file are more important and can take more time.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176036 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:34:24 +00:00
Olivier Lamy ff06852acd [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : setup a default weekly schedule for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:33:46 +00:00
Olivier Lamy 4c507b7beb [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : fix configuration of the network proxy to use for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 19:30:14 +00:00
Olivier Lamy d1a54e99e8 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175928 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:07:16 +00:00
Olivier Lamy fcfd86cf53 [MRM-1519] api to configure webappconfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175919 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:02:23 +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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
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 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