Commit Graph

713 Commits

Author SHA1 Message Date
Brett Porter 05d2784124 [MRM-1282] load content only from a single node at a time
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882532 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:14:04 +00:00
Brett Porter b1866d7dd0 more interesting fields to remember
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882519 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:51:59 +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
Brett Porter f092d04e90 [MRM-1282] a couple more notes on the content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882458 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:10:02 +00:00
Brett Porter 07675585a2 [MRM-1283] write tests for artifact() method of ShowArtifactAction in preparation for switching to metadata content repository based access
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882457 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:09:01 +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
Brett Porter d082c57592 [MRM-1282] add a draft content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882417 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 05:07:04 +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 69a38f7af5 Merged /archiva/trunk:r882055-882383
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882394 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:15:07 +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
Brett Porter 4102a4a916 [MRM-1025] split the scheduler into modules to isolate database and indexer dependent code
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882207 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:16:20 +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
Brett Porter 644537ee8b cleanup javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882063 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:18:49 +00:00
Brett Porter bfd5ffb44a cleanup javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:16:29 +00:00
Brett Porter 601939b9e9 Merged /archiva/trunk:r825850-882054
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882055 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 06:20:43 +00:00
Brett Porter fcd88ac350 analyze POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 06:02:35 +00:00
Brett Porter fe034d4f99 [MRM-1281] remove unused consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882046 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 04:35:09 +00:00
Brett Porter ad41c470cc clean up some notes, plans and formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882027 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 01:55:27 +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 402c390102 PlexusInSpringTestCase correctly translates this
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@827026 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 10:30:52 +00:00
Brett Porter 2a5d5cea40 [MRM-1025] note about hard coding
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825920 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:53:57 +00:00
Brett Porter 116d2d2387 [MRM-1025] make sure listeners work in delete artifact action
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825884 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:26:47 +00:00
Brett Porter e89326d687 [MRM-1025] merge -r721944:723577 from former MRM-1025 branch, now aligned to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825867 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:35:38 +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
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 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
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
Maria Odea B. Ching e9da0e496b [MRM-1243] Encoding issues with Archiva UI: add Spring CharacterEncodingFilter
submitted by Julien Henry
o add filter to force utf-8 encoding


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@810457 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 11:25:55 +00:00
Maria Odea B. Ching 6ad5da6f8d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:34:26 +00:00
Maria Odea B. Ching 924e33b562 [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:30:51 +00:00
Maria Odea B. Ching df265f5fad remove unused section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808298 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 06:44:36 +00:00
Maria Odea B. Ching 573472d62a [MRM-1239] Unable to get artifact-level maven-metadata.xml of artifacts that are only three directory levels deep
o added tests
o allow three levels for metadata and metadata checksums when checking if repository layout is default


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808295 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 06:40:37 +00:00
Marecor M. Baclay 9c3facccc7 [MRM-1241] Selenium Tests for Repository Scanning and Database
- added tests for repository scanning.


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808252 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:55:46 +00:00
Maria Odea B. Ching 81aa36aa09 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807091 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:14:31 +00:00
Maria Odea B. Ching 03aae7ee6a [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:12:10 +00:00
Marecor M. Baclay 024dd3d865 fixed failed/skipped tests with jdk 1.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807077 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 05:24:35 +00:00
Marecor M. Baclay 2b05e40f8b - refactored the scripts.
- added more tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807056 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 03:14:44 +00:00
Brett Porter 0a4b078b01 simplify test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806324 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 19:45:05 +00:00
Jevica Arianne B. Zurbano 76c66f5a83 [MRM-1204] - org.apache.maven.archiva.repository.project.ProjectModelMerge.merge throws NPE
- added unit test



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806081 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 08:07:04 +00:00
Jevica Arianne B. Zurbano 7c53e15614 [MRM-1236] - Locale selection is broken
- added blank *_en.properties files



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@805782 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 12:57:48 +00:00
Maria Odea B. Ching 3cb6dd196a [MRM-1155] m2eclipse - getting index from archiva 1.2 failed
o optimize index before packaging
o added test case


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@805736 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 10:30:53 +00:00
Jevica Arianne B. Zurbano f4cc3f7208 [MRM-1151] - Error when processing file nexus-maven-repository-index.zip
applied patch and added unit test.
Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@805371 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 11:41:29 +00:00
Maria Odea B. Ching 4be2924979 [MRM-1194] Archiva doesn't cope with versions in a pom.xml that are properties
o updated test cases


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@804909 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 09:40:44 +00:00
Jevica Arianne B. Zurbano 1c301353ac [MRM-1204] - org.apache.maven.archiva.repository.project.ProjectModelMerge.merge throws NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803840 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 11:00:51 +00:00
Marecor M. Baclay 11135fe668 [MRM-1234] Typo in Appearance Page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803821 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:44:07 +00:00
Maria Odea B. Ching 8b3037bfdc [MRM-1232] Unable to get artifacts from repositories which requires Repository Manager role using repository group
o if at least one unauthorizeddavexception exists in the compiled errors from the repositories in the group, send back a 401 error to force maven to send 
attach credentials to the request
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803795 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 07:16:35 +00:00
Maria Odea B. Ching d150a6ed98 [MRM-1194] Archiva doesn't cope with versions in a pom.xml that are properties
o get latest timestamped file if no -SNAPSHOT exists when resolving the pom
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@801946 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 11:00:03 +00:00
Maria Odea B. Ching f62c635bde [MRM-1163] Add some decent logs in webdav for debugging purposes
Submitted by: Jevica Arianne Zurbano
o added debug logs in ArchivaDavResource and ArchivaDavResourceFactory with the filename, directory, repository, and/or current user included in logs


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798827 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 09:55:18 +00:00
Marecor M. Baclay 7b15e3da49 [MRM-1226] Selenium tests for Repositories and Network Proxies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798789 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 06:22:40 +00:00
Marecor M. Baclay a37878dc22 [MRM-1164] Fix the Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798777 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 04:34:07 +00:00
Maria Odea B. Ching 95e064f8a8 fixed repo path shown in log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798437 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 08:00:48 +00:00
Maria Odea B. Ching 0586f7bd5b [MRM-1198] changed length of url fields from 250 to 1020
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798424 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 07:17:36 +00:00
Maria Odea B. Ching 5e5fa749a2 [MRM-1212]/[MRM-1197] do not execute create-missing-checksum and metadata-updater consumers during webdav deployment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798403 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 05:04:44 +00:00
Maria Odea B. Ching 8b235c1283 [MRM-1212]
o fix/create checksums and update metadata in action class only if create-missing-checksum and metadata-updater consumers are not enabled


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798060 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 07:39:34 +00:00
Maria Odea B. Ching a4bd8b9c5a [MRM-1212]
o move fixing of incorrect checksums to ArtifactMissingChecksumConsumer
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798059 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 07:34:40 +00:00
Maria Odea B. Ching 71b644e878 cleanup unused variables
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@796149 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 05:21:17 +00:00
Maria Odea B. Ching 2db502dbfb [MRM-1171]
submitted by Gwen Harold Autencio

o fixed table for advanced search fields so that they appear in IE6 and IE7


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@795695 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 05:54:18 +00:00
Brett Porter 78cf76f801 [MRM-1220] disable Struts devMode for performance reasons
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@794940 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 01:40:35 +00:00
Brett Porter a73f0ccf31 [MRM-1219] correct log4j configuration, consolidate logging APIs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@794572 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 07:45:17 +00:00
Brett Porter 1ef459b78e [MRM-1217] Switch to Jetty 6.1.19
[MRM-1218] Upgrade to JSP 2.1


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@794554 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 06:57:47 +00:00
Brett Porter 7aa245a59d make parameters configurable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@790035 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 04:39:58 +00:00
Wendy Smoak 3a06b49407 [MRM-1164] Add Selenium tests for virtual repositories and capture screen shots of failing tests.
Submitted by: Marecor Baclay 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@785892 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 04:06:33 +00:00
Maria Odea B. Ching ea8c1fa4c9 [MRM-1196]
o fix or generate checksums when artifacts are deployed from UI
o created unit tests for UploadAction


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@783687 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 08:16:06 +00:00
Maria Odea B. Ching 03eab14b77 [MRM-1168]
submitted by Jevica Arianne Zurbano

o add info message for account locked


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@781339 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 11:15:09 +00:00
Emmanuel Venisse b8578cfac9 [MRM-1097] close some open streams
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@779841 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 05:02:22 +00:00
Maria Odea B. Ching 3fea67fafd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778166 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:50:05 +00:00
Maria Odea B. Ching 2d00ba7504 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778164 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:46:45 +00:00
Maria Odea B. Ching 4f50f5722e revert to 1.2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:17:53 +00:00
Maria Odea B. Ching f2a299be93 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:58:14 +00:00
Maria Odea B. Ching b704d37229 oops, forgot to remove debug logs..
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 11:04:35 +00:00
Maria Odea B. Ching af0109d90f [MRM-1157] and [MRM-1176] (also related to MRM-836)
o added new column for Organization, IssueManagement, CiManagement and Individual tables to hold the actual values


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778118 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 10:58:49 +00:00
Maria Odea B. Ching 302186acd1 [MRM-1167]
o fix xmlrpc search service


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778106 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 07:20:59 +00:00
Maria Odea B. Ching fa24587f89 [MRM-1188]
o put all indexing tasks (add, update and remove) into one queue; tasks added by NexusIndexerConsumer and LuceneCleanupRemoveIndexedConsumers
o all index updates are performed by ArchivaIndexingTaskExecutor
o added and updated tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778093 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 06:11:19 +00:00
Maria Odea B. Ching 4f792bf59e remove unused test dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777831 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 08:09:09 +00:00
Maria Odea B. Ching 02a22f45a5 [MRM-1161], [MRM-1179], [MRM-1143] and [MRM-1160]
o upgraded nexus indexer to 2.0.0
o queue all indexing tasks to avoid interrupting a current indexing task being executed
o cleaned up nexus indexer and index cleanup consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777816 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:28:12 +00:00
Maria Odea B. Ching 8b08426a74 o changed log level of default proxy connectors to debug and warn
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777008 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 08:23:09 +00:00
Wendy Smoak 9c97bf35bc [MRM-1164] Improve the Selenium tests so testng.properties no longer needs to be modified (patch #4
Submitted by: Marecor Baclay
Also changed the webapp-test profile id to 'it' (integration test). Run with -Pit to include this module.


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@776772 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 17:26:30 +00:00
Maria Odea B. Ching 1cc84d7fdc [MRM-1157]
o added back identifier fields in archiva model


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@776598 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 07:20:56 +00:00
Wendy Smoak 50193ed8c5 [MRM-1164] Improve the Selenium tests
*  added tests for archiva user roles
 * added tests for upload artifact
 * modified scripts from Search and Browse
Submitted by: Marecor Baclay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@775412 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 04:00:46 +00:00
Wendy Smoak dcc58f2859 [MRM-1164] Add xvfb to run headless on vmbuild.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@774787 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 14:32:58 +00:00
Wendy Smoak 137aca009c [MRM-1164] Make TestNG the primary set of tests.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@774781 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 14:24:45 +00:00
Wendy Smoak dbd4e769c9 [MRM-1164] Improve the Selenium tests
Submitted by: Marecor Baclay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@773741 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 00:35:39 +00:00
Maria Odea B. Ching ee164981d9 [MRM-1172]
submitted by Jan Ancajas
o loosen version validation rule in VersionUtil
o added test cases


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@772151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 11:20:06 +00:00
Wendy Smoak 4cfc5a7837 [MRM-1164] Allow command line configuration of which browser to use, for example -Dbrowser=iexplore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@770871 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 00:38:38 +00:00
Wendy Smoak 6f0984adf3 [MRM-1164] Move Cargo plugin config into a profile which is active by default. To run TestNG tests against an existing Archiva instance, use -Dcontainer=existing.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@770866 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 00:11:22 +00:00
Wendy Smoak c2c281cdde [MRM-1164] Introduce Cargo plugin config for the TestNG tests to start Tomcat and deploy the app, taken from the original pom.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@770861 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 23:38:10 +00:00
Wendy Smoak 4c8bb8341b [MRM-1164] TestNG/Selenium tests for login, browse, search, admin
Submitted by: Marecor Baclay


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@769940 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 21:21:40 +00:00
Wendy Smoak c388ed3b98 [MRM-1164] Add it.properties to externalize info needed for tests. Adjust directory name for non-classpath resources in pom.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@761865 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 03:13:14 +00:00
Wendy Smoak 925f56ad01 [MRM-1164] Rename directory used for non-classpath test resources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@761863 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 02:56:47 +00:00
Wendy Smoak 9c549e773e [MRM-1164] Copy in AbstractSeleniumTestCase to remove the dependency on old shared UI tests from Maven, and update version numbers.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@761154 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 03:31:19 +00:00
Brett Porter d1f4143e77 add note on potential issue to fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757643 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 03:13:41 +00:00
Brett Porter 71eda3948c fix tabs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757642 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 03:13:00 +00:00
Maria Odea B. Ching 8dc8cd536a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757124 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:19:24 +00:00
Maria Odea B. Ching d811b1f00d [maven-release-plugin] prepare release archiva-1.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:15:29 +00:00
Maria Odea B. Ching 30ecf02f41 o synchronize repository scanning to prevent index writer/reader from being closed when repo consumers are executed from proxy requests and a
repository scanning is in progress
o updated test cases to accomodate changes


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757116 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 02:24:21 +00:00
Brett Porter cdea2730ba [MRM-1137] set a higher default of 10M for artifact upload
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756889 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:42:31 +00:00
Brett Porter 566d5d73bb [MRM-1137] ensure error message is correct if upload size is violated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756888 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:38:36 +00:00
Brett Porter 3457a487f1 [MRM-1096] [MRM-989] fix plugin download type, add default for other types such as javadoc, clean all icons
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756883 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 07:20:09 +00:00
Brett Porter cf807b3db6 these tests still need to set the principal
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756621 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 17:02:00 +00:00
Brett Porter 3e7a522658 remove more xwork user references
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756615 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:51:35 +00:00
Brett Porter 34c163502b fix test problems
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756587 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:35:02 +00:00
Brett Porter 6681581426 further cleanup references to xwork user that no longer needs to be instantiated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756564 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:14:45 +00:00
Brett Porter bf34387459 [MRM-1093] Log configuration and repository changes made.
Submitted by: Jevica Arianne B. Zurbano (applied with modifications and other refactoring)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756563 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:12:10 +00:00