Commit Graph

2719 Commits

Author SHA1 Message Date
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
Jevica Arianne B. Zurbano cb89fdf9bb [MRM-1268] - Hide the sub-topics in documentation menu by default
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@833369 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 12:07:14 +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 da8fc92805 not longer need to ignore subdirectories, as we don't use war:inplace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825856 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 11:54:11 +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
Maria Odea B. Ching 16b13f831a [MRM-1254] Add more unit tests for searching artifacts
o more unit tests for advanced search and quick search (code coverage is now 88%)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824257 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 08:08:29 +00:00
Jevica Arianne B. Zurbano 5a8a5a92f8 [MRM-1246] - MetadataUpdaterConsumer didn't run during a repository scan after deleting a version of an artifact.
- added unit test for updating metadata
- added unit test sample artifacts
- applied the submitted patch

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824220 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 04:29:06 +00:00
Maria Odea B. Ching ecb90855a1 [MRM-1254] Add more unit tests for searching artifacts
o added test for searching artifacts with numeric values in the artifactId using advanced search (MRM-981)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823505 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 10:28:52 +00:00
Maria Odea B. Ching 3390708c18 [MRM-1230] Type of artifact is allways "pom"
o for each search hit, get project model thru repositorybrowse#selectVersion(..) where complete project model is retrieved instead of just the bare artifact obj
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823109 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 10:01:32 +00:00
Maria Odea B. Ching 8a116d5a94 [MRM-636] war:inplace usage is not compatible with cobertura
o unpack redback war in target dir
o configure jetty plugin to use multiple source dirs
o cleaned up clean-plugin config


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823065 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:40:21 +00:00
Jevica Arianne B. Zurbano 94647f519e [MRM-1251] - Update documentation - Artifacts not displayed in Archiva GUI after release
Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823011 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 03:29:41 +00:00
Brett Porter 8142e83c50 additional clean up code to prevent the tests from running out of memory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@822794 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 16:29:27 +00:00
Brett Porter eb9383c0a4 some POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@822640 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 10:12:41 +00:00
Jevica Arianne B. Zurbano b24d5ceb4b [MRM-1257] - Selenium Test for accessing bundled repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@818710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 03:55:57 +00:00
Maria Odea B. Ching 185d83243c [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o added new method for creating task with scanAll flag
o added unit tests for creating tasks with different configs


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816545 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:58:50 +00:00
Maria Odea B. Ching 372aaae288 [MRM-1249] Archiva does not respect configuration of the index directory
o added index directory field with description in docs for Archiva repositories


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816099 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 08:53:35 +00:00
Maria Odea B. Ching cbd23225cc [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o update docs when scanning repositories and upgrading archiva to newer versions



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816092 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 08:27:31 +00:00
Maria Odea B. Ching 40e247c7e4 [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o add checkbox for processing all artifacts beside Scan Repository Now button in repositories page
o scan all artifacts if flag is set
o added unit tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816084 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:48:55 +00:00
Maria Odea B. Ching 8604c2f389 changed ordering of log when queueing tasks, it appears as if the task was queued again after it was executed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@815697 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 10:01:06 +00:00
Maria Odea B. Ching 8ee59dc910 update upgrade docs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@815246 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 10:04:29 +00:00
Marecor M. Baclay 6459b2f47f update version in pom to 1.2.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813725 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 08:53:54 +00:00
Jevica Arianne B. Zurbano 0ce636965d [MRM-1238] - NPE when updating consumers of known content without setting any of the checkboxes (enabled)
- added null checks
- added unit tests

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813473 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 15:14:48 +00:00
Jevica Arianne B. Zurbano d20cce3a52 [MRM-1240] - NPE when updating consumers (not setting any of the checkboxes) of Unprocessed Artifacts and Artifact Cleanup Scanning in Database
- added null checks
- added unit test for DatabaseAction

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813439 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:50:40 +00:00
Maria Odea B. Ching 9471a08db3 [MRM-1250] Granting the Global Repository Manager/System Administrator role does not automatically assign the Global Repository Observer role
o add global repository observer role as child role of global repository manager


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813337 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 09:59:00 +00:00