Commit Graph

153 Commits

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