Commit Graph

604 Commits

Author SHA1 Message Date
Maria Odea B. Ching 2fa9e76dfc [MRM-1228] Ping service in not working
o added ping invocation to sample client


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883067 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:25:10 +00:00
Maria Odea B. Ching 9c0bce1390 [MRM-1228] Ping service in not working
o changed from TestService to PingService
o fixed bean config in applicationContext in webapp
o added service object annotation for xmlrpc binder


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883066 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:23:00 +00:00
Maria Odea B. Ching 081473a2e3 fixed field name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:43:28 +00:00
Maria Odea B. Ching 860d4dcfb0 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o added selenium test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883059 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:26:06 +00:00
Maria Odea B. Ching 27cb4991b1 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o block re-deployment of released artifacts to repository of configured using web upload form
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883057 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 10:51:07 +00:00
Maria Odea B. Ching 56ddb014a1 updated comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883052 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 09:32:35 +00:00
Maria Odea B. Ching 614a6c1e2f [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o make blocking of re-dployments configurable per repository
o added test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 09:28:36 +00:00
Maria Odea B. Ching 0708065319 [MRM-1274] SearchService.quickSearch returns artifacts with null as repositoryId
o get repo id from db since it's not set in search result
o set repositoryId as bean field in Artifact obj so it's included when bean is converted
o updated unit tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883046 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 08:32:36 +00:00
Brett Porter 9a8138a5a2 [MRM-1283] additional tests for ShowArtifactAction
Merged from: r882457


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882459 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:15:06 +00:00
Maria Odea B. Ching 607b7fb090 [MRM-1033] Changing the location of a scanned repository results to the contents of the new location not getting indexed
submitted by Maria Catherine Tan
o delete all stats when repository location is changed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882448 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 08:41:50 +00:00
Maria Odea B. Ching 92d9bce38a remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882402 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:35:50 +00:00
Maria Odea B. Ching 33c8c4c81e [MRM-1278] Wrong repository displayed in Archiva browse
o added selenium test that uploads SNAPSHOT artifacts in releases and snapshots repositories and checks artifact info page for correct artifact information
o refactored upload artifact methos in AbstractManagementTest, moved them over to AbstractArchivaTest to avoid repetition in other tests that uses it


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882399 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:31:19 +00:00
Brett Porter caaee4251e [MRM-1281] remove unused database consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882363 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 23:39:09 +00:00
Maria Odea B. Ching e9d9ac68e6 [MRM-1278] Wrong repository displayed in Archiva browse
o retrieve artifact by using ArtifactsRelatedConstraint instead of using getArtifact(..) with an incorrect type
o updated existing and added new unit test for repo browse


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882090 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 09:51:03 +00:00
Maria Odea B. Ching 2819ac8d30 fix unable to delete index IOException in tests when built in windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@881656 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 03:11:13 +00:00
Maria Odea B. Ching 3724f9749c [MRM-1277] Create Selenium test for advanced search feature
o added webapp tests for searching non existing artifacts and when no search criteria is specified in advanced search


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@880666 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 08:33:59 +00:00
Maria Odea B. Ching 4abf4521ef use project.basedir instead of just basedir
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834798 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 08:11:53 +00:00
Maria Odea B. Ching eb4a1b8315 fixed path where tomcat zip is unpacked
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834773 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 05:56:40 +00:00
Maria Odea B. Ching 0b6a098ec3 [MRM-1275] Include other file types for the index consumer instead of just the indexable-content
o add artifacts file types so it gets processed by the consumer
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834426 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 11:04:15 +00:00
Brett Porter b4fe9fb58f JUnit tests were removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834420 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:48:26 +00:00
Brett Porter 08bdeff48b store cargo installations outside target to avoid re-downloading
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834415 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:26:23 +00:00
Brett Porter 8ff4b8cf34 set default timeout as well as the explicit one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834412 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:13:08 +00:00
Brett Porter d6e13a5e3b make test more resilient to whitespace in titles
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834410 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:12:04 +00:00
Brett Porter 737ef89580 more flexible test since it might have a newline in the middle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834404 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:45:44 +00:00
Brett Porter 2e46d0022f make it easier to debug by just starting Cargo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834403 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:44:04 +00:00
Brett Porter e0a8ec4bfc move the archiva database into target
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834398 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:35:23 +00:00
Brett Porter bc45d38110 make Tomcat version a property
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:18:52 +00:00
Brett Porter 3badf128c0 upgrade to a release of Selenium
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834393 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:10:58 +00:00
Brett Porter 7a8d1b790b remove clean plugin - the cleanJetty profile handles this
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@830090 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 08:08:55 +00:00
Brett Porter 3879c79bd6 remove duplicate dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@828892 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 23:47:04 +00:00
Brett Porter 61336c8774 clean up unused methods, bolierplate
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825750 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 02:56:47 +00:00
Brett Porter df39db0389 [MNG-1231] correct authorization for all getDepend* methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825739 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 02:27:25 +00:00
Brett Porter 9d8b2bddec [MRM-1266] results page fails when find artifact returns multiple results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825701 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:40:43 +00:00
Brett Porter fa096dfcdb [MRM-1264] don't close the indexing context - that is done by the finish task that was added. Since they are queued, it was being closed too early.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825468 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 11:37:09 +00:00
Maria Odea B. Ching 91cf97a170 fixed method name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825452 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 09:59:32 +00:00
Maria Odea B. Ching fa22abb913 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o moved check for metadata support files to RepositoryRequest and added tests
o throw DavException error 409 immediately for released artifacts intead of a ReleaseArtifactAlreadyExistsException


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825449 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 09:40:40 +00:00
Jevica Arianne B. Zurbano 7ecf7e1e88 revert changes made (MRM-1246)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825431 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 08:18:29 +00:00
Brett Porter 9325a5a1c6 [MNG-1264] make it clearer if the index gets into a bad state
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825415 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 07:22:29 +00:00
Brett Porter 3b5817496e [MRM-1265] .indexer should be excluded from scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825390 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 04:41:43 +00:00
Brett Porter e5c3dc20fb [MRM-1259] only index content that is listed in indexable-content configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825382 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 03:41:57 +00:00
Brett Porter c30389bfe8 [MRM-1264] Only create the DefaultIndexingContext once for a scan to reduce the amount of garbage collection. Also move optimization to end of scan to increase performance.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825163 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 15:15:43 +00:00
Brett Porter 0cf3f93e5a [MRM-1264] reduce memory used by indexing process
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825082 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:27:48 +00:00
Brett Porter accfd9680f unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825080 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:19:31 +00:00
Brett Porter 4116a4177a clean imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825075 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:00:21 +00:00
Brett Porter 36042466c5 remove unused vars
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825074 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 09:59:25 +00:00
Brett Porter 3a327868d0 remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825073 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 09:56:19 +00:00
Brett Porter c61e55fd4f [MRM-1262] move the index packing job to the end of a scan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825012 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 05:41:45 +00:00
Brett Porter 2d73132f91 shorten job names to preserve some memory since they are frequently created
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825005 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 03:56:44 +00:00
Maria Odea B. Ching c893eefe9f [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
submitted by Marc Lustig
o added checks in webdav to block re-deployment if artifact version already exists in the repo and throw a 409 in such cases
o added tests for deploying and re-deploying an artifact

additional modifications to the patch:
o update checking for artifact types that will be blocked
o add tests for deploying metadata and support file


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824677 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:36:24 +00:00
Maria Odea B. Ching 88f79fe1e7 [MRM-1080] Update SearchServiceImplTest so that it uses the new search API
submitted by Gwen Harold Autencio
o added tests for quick search (with search hits and with no search hits)

additional changes to the patch:
o updated testQuickSearchArtifactRegularSearch() to conform to the recent changes in SearchServiceImpl from MRM-1230


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824259 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 08:44:10 +00:00