190 Commits

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