Commit Graph

142 Commits

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