Commit Graph

1578 Commits

Author SHA1 Message Date
Olivier Lamy 27526f5262 use wagon in unit test to download the file hope will fix the issue with 1.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177683 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:49:05 +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 bf865287f3 don't fail on bad zip file to get debug infos
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177659 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:39:00 +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 7d285b2179 add some debug to understand why it fails with 1.5 on jenkins
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 12:25:32 +00:00
Olivier Lamy 0aaf3a2769 [MRM-1527] remove http://download.java.net/maven/2/ from default remote repositories (now sync with central) : missed to fix a unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177596 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 11:10:23 +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 21f14a45f0 add commented logger for wagon debug in main log4j.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177573 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:42:51 +00:00
Olivier Lamy 75aa4c3c6c fix logger name for headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177572 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:42:13 +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 543785d926 this package not exists anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177568 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:39:30 +00:00
Olivier Lamy 42b564bb7d use Base64 from commons-codec
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177567 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:38:20 +00:00
Olivier Lamy 5daf80bc20 fix maven 2.2.1 build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177255 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 10:28:13 +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 e442d48741 fix url calculation for artifacts found in remote repositoires
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177074 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:57 +00:00
Olivier Lamy ddb8a0a595 small hack for packaging maven-plugin in artifact url calculation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177073 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:38 +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 18b92bde16 format : no code change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177068 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:33:56 +00:00
Olivier Lamy 3323da7d34 [MRM-1500] Fix sample on how to use ldap in applicationContext.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176805 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 09:58:53 +00:00
Olivier Lamy 1e6934261c [MRM-1393] Commons configuration bug causes build to fail on Windows 7
I have changed a unit which IMHO was wrong as didn't take care about managed repo coming from old configuration format: ArchivaConfigurationTest#testConfigurationUpgradeFrom09

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176791 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 09:06:32 +00:00
Olivier Lamy 33771ae22c add a lot of missing eol-style native for *.jsp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176611 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:44:41 +00:00
Olivier Lamy 3c247ba1f8 add a lot of missing eol-style native
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176606 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:40:36 +00:00
Olivier Lamy 9b1ab5d366 trigger download remote index call in async mode
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176386 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 13:56:10 +00:00
Olivier Lamy 3283a043d1 configure appeserver.base value for surefire to avoid files creation in basedir
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 13:55:51 +00:00
Olivier Lamy afababf393 use isNotBlank to avoid warning in log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176384 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 13:55:26 +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 489d8bfaf0 fix needed authz for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176243 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 07:18:07 +00:00
Olivier Lamy f5dc1fdb10 fix 1.5 compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176242 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 07:17:50 +00:00
Olivier Lamy d3b0682003 [MRM-1516] missing dependency on velocity - ClassNotFoundException org.apache.velocity.tools.view.ToolboxManager
and fis unit tests.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176112 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:49:57 +00:00
Olivier Lamy 3c8c0b8554 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176111 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:49:15 +00:00
Olivier Lamy 276eaf0b5d [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : include remote repos when searching
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176110 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:48:28 +00:00
Olivier Lamy ae7be0e049 better output of the transferListener for remote index download
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176041 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:35:59 +00:00
Olivier Lamy d9c293217c in s so *1000 :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176040 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:35:35 +00:00
Olivier Lamy 604b421c28 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : add a download remote time out field as file are more import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176039 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:34:42 +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 ff06852acd [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : setup a default weekly schedule for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:33:46 +00:00
Olivier Lamy 4fabcacf28 add missing label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176009 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 19:31:36 +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 427f594239 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : honor full download parameter
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175932 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:09:01 +00:00
Olivier Lamy e6c5aff3fc commented code cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:08:43 +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 b42ae3b997 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175927 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:05:02 +00:00
Olivier Lamy ec59e758e3 no need to create all of those objects if index already exisst
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175926 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:04:48 +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