Commit Graph

517 Commits

Author SHA1 Message Date
Olivier Lamy ff09a910b3 use a better name for those methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298150 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:02:22 +00:00
Olivier Lamy 1646114f7a [MRM-1579] rewrite repositories scanning admin page
improve rest services to ease screen implementation.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298149 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:01:51 +00:00
Olivier Lamy 1f1599658f [MRM-1579] rewrite repositories scanning admin page
start some refactoring to ease implementation (reusable beans)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1298148 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:01:13 +00:00
Olivier Lamy 526a11efce [MRM-1577] rewrite legacy path admin page
add ok.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297639 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 18:32:06 +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 3332083d45 add search for osgi: Import-Package and Require-Bundle are now searchable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1297102 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:52:56 +00:00
Olivier Lamy aabab285c4 add comment in code snippet and add a snippet in pom for rest dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295689 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 17:34:21 +00:00
Olivier Lamy d0eaad0341 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons
add a jackson configurator for archiva.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295499 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:29:08 +00:00
Olivier Lamy 7aacdb1bf1 [MRM-1610] Use Jackson as jaxrs provider for cxf for performance reasons
fix some javascript mapping for redback part.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295498 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 10:28:52 +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 9eb977f581 correctly sort versions on artifact view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295024 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 09:14:28 +00:00
Olivier Lamy 49bccb5d33 fix regression in json/boolean due to parameter to fix transformation of 2.0 to 2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294407 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:04:05 +00:00
Olivier Lamy 7c71fde835 fix search query
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294405 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:03:26 +00:00
Olivier Lamy 202a699884 add rest method to search with query on a set of repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 00:03:04 +00:00
Olivier Lamy 42bd64aaec use chosen to multi select repoIds for searching.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294222 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:57:43 +00:00
Olivier Lamy 48da9ae955 add rest method to getObservableRepoIds
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294221 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 16:57:14 +00:00
Olivier Lamy a294aff1b7 fix browse for directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293946 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 22:12:25 +00:00
Olivier Lamy 9ea612361f add unit test for search with guest user.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293871 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:58:50 +00:00
Olivier Lamy 2538f012b5 authz not mandatory for search: repositories list limited for guest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293870 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:58:30 +00:00
Olivier Lamy bd98d2d274 hack jqueryui to have autocomplete working with bootstrap
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293869 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 16:58:13 +00:00
Olivier Lamy 773d2784a5 fix String transformation of 2.0 -> 2 was not correct for artifacts versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293715 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:45:37 +00:00
Olivier Lamy 38aaec51a7 upgrade to cxf 2.5.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:11:29 +00:00
Olivier Lamy 31e5bf8148 fix osgi imports.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293681 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 20:45:31 +00:00
Olivier Lamy f1f0ceaf47 [MRM-1573] improve browse service with returning ProjectVersionMetadata (so add some annotation for REST exchange)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293423 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:18:34 +00:00
Olivier Lamy d026cc88a7 add REST to browse a groupId/artifactId and retrieve all versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1292963 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 21:25:20 +00:00
Olivier Lamy b07b0de488 no display full groupId in browsing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245816 13f79535-47bb-0310-9956-ffa450edef68
2012-02-18 00:18:30 +00:00
Olivier Lamy 6d0d073824 implements repository browsing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 17:40:43 +00:00
Olivier Lamy fa2a45d627 rename class. it's always complicated to find the good name but the previous was very bad :-).
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245618 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 15:40:41 +00:00
Olivier Lamy 53f479e409 fix mimize js/css cleanup on browse
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245403 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:35:50 +00:00
Olivier Lamy fe446f4081 [MRM-1573]
refactor to have more generic REST model result.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245254 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 23:31:40 +00:00
Olivier Lamy 56c137f27f [MRM-1573] start work on browse screen
navigate on groupIds.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245185 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 21:27:08 +00:00
Olivier Lamy f86f621808 [MRM-1573] start work on browse screen
navigate on groupIds.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245184 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 21:26:48 +00:00
Olivier Lamy f6ec5a7e86 [MRM-1573] start work on browse screen
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1244606 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 17:42:55 +00:00
Olivier Lamy c8e8d8f95b wait end of first scan before deleting repo should prevent test failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1243016 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 08:07:37 +00:00
Olivier Lamy a269e32a92 more easy REST method to delete a ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1242594 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 23:07:37 +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 d080db57e5 proxy connector screen add PolicyInformation bean
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237581 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 09:47:41 +00:00
Olivier Lamy 91d63e741b start work on proxy connector screen
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1237580 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 09:47:16 +00:00
Olivier Lamy 7b50ea96e2 move this rest services used only by the js ui in a new rest ui service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1236634 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 11:19:51 +00:00
Olivier Lamy 9bd514d09e rest method to validate cron expression: add unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235829 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 17:14:11 +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 cadc118a5d missed to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235396 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 18:23:59 +00:00
Olivier Lamy d30085c7b8 javascript logging optionnal too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235395 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 18:23:38 +00:00
Olivier Lamy ad26a0d39e add a system property to configure lab js cache for script loading: true in dev env
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235041 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 22:32:45 +00:00
Olivier Lamy ac710a67b8 prevent doing to much String->Properties transformation for loading i18n
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234762 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 12:31:59 +00:00
Brett Porter 0a034cdec5 remove JDK 6 specific API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234639 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 22:57:02 +00:00
Olivier Lamy 9fbd56564a produce text plain doesn't have any sense missed a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234430 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 22:32:29 +00:00
Olivier Lamy 5df449c74e produce text plain doesn't have any sense
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234429 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 22:32:13 +00:00
Olivier Lamy 2d96427bd0 fix snippet url
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233900 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 13:23:33 +00:00
Olivier Lamy b722a82aec [MRM-1574] link to display pom snippet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233899 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 13:23:13 +00:00
Olivier Lamy 28a7a9cee8 fix indexing call as could cause NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233615 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:39:00 +00:00
Olivier Lamy 317cf9e4ce [MRM-1574] display repo stats
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233596 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:10:18 +00:00
Olivier Lamy 2d3d39db6a cleanup bad content from previous builds: my bad !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233368 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:33:34 +00:00
Olivier Lamy af18bdf380 add @since for those new rest methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233315 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 12:25:01 +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 cbb1fdef2d [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
improve unit test with testing getArtifactVersions method too.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233267 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:10:02 +00:00
Olivier Lamy 883900fa2a [MRM-1590] Wrong URL returned by SearchService.getArtifactVersions.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1233266 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 10:09:47 +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 3474c6f996 bad idea to use a path param for location with /
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232616 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 22:35:24 +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 b1741f9726 [MRM-1574] add managed repo now implemented.
change the rest service to return the repo rather than a Boolean to have real path available in the ui.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232062 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 16:53:57 +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 b01a04df29 upgrade to cxf 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229144 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 13:33:31 +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 8e2309ee39 avoid noise for asked locale en as it is default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229065 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 09:09:35 +00:00
Olivier Lamy a2123c92c8 load all i18n in only one rest call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229063 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 09:00:43 +00:00
Olivier Lamy d5461dcc53 close StringReader
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228022 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 08:56:03 +00:00
Olivier Lamy bcf944afb6 add rest method to load i18n from redback and archiva in one call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1228021 13f79535-47bb-0310-9956-ffa450edef68
2012-01-06 08:55:48 +00:00
Olivier Lamy b5d0bd3303 adapt to last redback changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226257 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 15:30:51 +00:00
Olivier Lamy ef781c9859 add i18n rest services for Archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1220779 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 14:43:57 +00:00
Olivier Lamy 67e313f681 [MRM-1564] spring 3.1.0 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213948 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 21:53:26 +00:00
Olivier Lamy 0642387135 fix version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213879 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 19:21:57 +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 abcebebe72 fix license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212369 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 12:26:40 +00:00
Olivier Lamy 07a70248eb [MRM-1562] Update to Archiva as OSGi compliant application
Archiva REST and Archiva RSS as OSGi bundle.
Submitted by Jean-Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1206014 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 23:04:57 +00:00
Olivier Lamy 20d3572faa fix import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205495 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 17:16:04 +00:00
Olivier Lamy 16f3847d18 simplify with using @Context annotation from jaxrs to get HttpServletRequest in rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205494 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 17:15:42 +00:00
Olivier Lamy 046cc5f5d9 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203410 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:54:12 +00:00
Olivier Lamy 988f8b45f3 includePom in index search results configurable: false by default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203376 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:29:44 +00:00
Olivier Lamy 6eb766e9d9 not return pom artifacts when searching artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203364 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:02:08 +00:00
Olivier Lamy 098ffbc90a make repository as a variable to be able to use an other on for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203363 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 21:01:33 +00:00
Olivier Lamy 472c7e1ff9 again fix some formatting I broke! and remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1203199 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:20:18 +00:00
Olivier Lamy 09d0dd1c0e no need of http error code field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201868 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 20:15:05 +00:00
Olivier Lamy b8c79cf8c6 use a Archiva* name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201812 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 17:58:54 +00:00
Olivier Lamy 414d1e6266 default http error code for an exception should be 500 not 0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201465 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 17:37:40 +00:00
Olivier Lamy 3f8665087a add an exception Mapper to customize reponse http status and response content
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200250 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:04:22 +00:00
Olivier Lamy 8424699c98 fix junit due to previous changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200020 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 22:54:03 +00:00
Olivier Lamy 609cdaabe9 [MRM-1551] add rest method to delete artifact.
reuse service in webapp action to avoid too much duplicate code.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200019 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 22:53:39 +00:00
Olivier Lamy 397e88dac8 add @since for new method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199829 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:22:04 +00:00
Olivier Lamy f66adc650b [MRM-1551] add rest method to delete artifact.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199828 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:21:33 +00:00
Olivier Lamy f92d281874 fix formatting no functionnal changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199825 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:20:20 +00:00
Olivier Lamy ec34863713 restore 1.5 build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199161 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 09:07:51 +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 9cc35c2f0e use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
missed rest-services module

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197360 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:47:23 +00:00
Olivier Lamy 0b94298d7c ensure we cleanup Maven IndexingContext on shutdown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197355 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:45:37 +00:00
Olivier Lamy 08c8f5fafd add unit tests to ensure javadoc is respected regarding usage of repo Ids in SearchRequest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197354 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:45:14 +00:00
Olivier Lamy 1baef37e75 fix unit tests in archiva-rest-services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197182 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:44 +00:00
Olivier Lamy 44885020d8 optimize io consume by not deleting/copying artifacts for all tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197181 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:21 +00:00
Olivier Lamy d3fe5410c7 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197180 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 15:19:00 +00:00
Olivier Lamy baaa23f092 remove this ugly static method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196841 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 22:32:15 +00:00
Olivier Lamy e624d21c43 [MRM-1539] Upgrade to Jetty 7.
change pom declaration.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1189902 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 18:09:49 +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 bebc547039 looks to be more english speaking :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185036 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 08:00:14 +00:00
Olivier Lamy 571c271b34 clarify javadocs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185035 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 07:57:46 +00:00
Olivier Lamy d10f2e2ef2 comment methods not yet implemented in SearchService REST Api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185034 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 07:57:32 +00:00
Olivier Lamy d338930876 if searching with SearchFields with unknown repo ids do not revert to a search on all index.
small changes on previous commit: only if SearchFields has repos set to not break previous behaviour.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1183443 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 17:49:30 +00:00
Olivier Lamy 8daf53e0f0 add a method to retrieve all groupIds available in indexs: available in REST services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181731 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 11:47:30 +00:00
Olivier Lamy 13bc1609f4 add some configuration to run unit tests with embeded tomcat: jetty still default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1180621 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 14:12:24 +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 3556951234 don't fail with an IOException when artifact to copy not exists, throw a more human readable message :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178739 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:31:39 +00:00
Olivier Lamy a30ed7be7f fix code format
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178738 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:31:11 +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
Olivier Lamy 0d0e89a25b [MRM-1515] see how to reduce dependencies: exclude stax:stax-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178425 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 15:12:20 +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 cf8d566442 avoid creating .archiva directory in src directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177930 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:23:32 +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 d331e85a8a fix properties to avoid putting test data in JAR and remove derby.log from root
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177913 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:05:16 +00:00
Olivier Lamy 3e0caade83 [MRM-1526] configure http connection pool values for wagon http : add REST services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177675 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:21:44 +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 3e6842504a add a wagon transfert listener for debugging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177571 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:41:47 +00:00
Olivier Lamy 3734ce78c8 [MRM-1496] Broken remote repository confuses Archiva
fixed with wagon 2.0 upgrade but add a unit test.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177570 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:40:59 +00:00
Olivier Lamy e259d38caf fix double / in url
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177075 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:38:13 +00:00
Olivier Lamy 6b77912095 move maven url calculation to NexusRepositorySearch rest services will just add baseUrl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:22 +00:00
Olivier Lamy 45ff9153bf add maven property to be able to override archiva url for rest services test for manual testing on an existing archiva instance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177070 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:35:11 +00:00
Olivier Lamy bcf81e82ac rest search service must provide the real url artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177069 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:34:34 +00:00
Olivier Lamy 066197cdd2 add a rest service to schedule a download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176245 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 07:18:30 +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 534b2e8363 ensure in tests we are fine with post and returning json type
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175923 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:04:03 +00:00
Olivier Lamy 7be4016505 [MRM-1519] api to configure webappconfiguration : expose it as a rest service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175920 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:03:16 +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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 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 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 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 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
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 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 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 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
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 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 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 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 0c7626a137 update changed name in maven indexer
add more rest service to update managed repository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160252 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 13:03:54 +00:00
Olivier Lamy 23cceb8c62 [MRM-1490] expose services tru rest
add some managed repo admin support

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159688 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 17:14:32 +00:00
Olivier Lamy 9077dbddcd oups fix bad commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159540 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 08:29:53 +00:00
Olivier Lamy 566379bb17 add a method to know if a repo is already under scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159533 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:54:42 +00:00
Olivier Lamy f4bb416191 fix permission management for scan repo rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159532 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:54:14 +00:00
Olivier Lamy 53d4ecac05 [MRM-1490] expose service tru rest
impl Repo management service

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159531 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:53:42 +00:00
Olivier Lamy fd94d9c6ec [MRM-1490] Expose Archiva services trough REST
start adding some services :
* search
* administration

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159529 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:52:52 +00:00
Olivier Lamy 3652f4c6e4 fix @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158974 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:54:12 +00:00
Olivier Lamy d598306cf2 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158973 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:53:53 +00:00
Olivier Lamy f3189bad3e [MRM-1490] Expose Archiva services trough rest
add modules structure with the very first service : ping :-)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158972 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 23:53:30 +00:00