Commit Graph

247 Commits

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