Commit Graph

966 Commits

Author SHA1 Message Date
Brett Porter 34638d4e67 clean up the "TODO" list, and mark those that are more important as "FIXME"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter eff60e10de [MRM-1327] instantiate the repository via Spring and avoid hard-coding
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051741 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 03:12:51 +00:00
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter 1ff88d24fe [MRM-1327] clean up path construction and method sorting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051466 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:40:08 +00:00
Brett Porter 7f610bca75 [MRM-1327] namespaces should be paths to avoid being too flat. Use queries for some other traversal methods.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:21:57 +00:00
Brett Porter 2a6a4e570f [MRM-1327] remove unnecessary facet node for project versions, and ensure artifact facet properties are correctly removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051444 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 10:16:04 +00:00
Brett Porter c82a0e6bc1 [MRM-1327] remove unnecessary facet node for artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 09:30:25 +00:00
Brett Porter 5622b1c569 [MRM-1327] re-arrange utility methods, and use search for retrieving artifacts by date
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051396 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 07:21:44 +00:00
Brett Porter 4423d46b4f [MRM-1327] very rough prototype of a JCR based storage mechanism. Passes tests, but needs to be cleaned up and properly integrated, then tested for performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1050283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 06:26:09 +00:00
Brett Porter 5ce9fd5025 [MRM-1445] disable referrer check by default
Merged from: r1049409


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049410 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:04:59 +00:00
Brett Porter 70537eb036 [MRM-1421] Archiva repository purge incorrectly purges based on file timestamps even when the snapshot timestamp is known
Merged from: r1049391:1049399

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049407 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:39:46 +00:00
Brett Porter f475ae1d1b test case improvements
Merged from: r1049384-1049390

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049406 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 03:30:38 +00:00
Brett Porter 3c7670142f [MRM-1396] Purge task problem : Not enough parts to the path
Merged from: r1049375


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049382 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:50:28 +00:00
Brett Porter 82485c9ed4 move mockito version to management section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049376 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:28:22 +00:00
Brett Porter 458e11fd33 correctly acknowledge September 19
Image is derived from http://commons.wikimedia.org/wiki/File:Piratey,_vector_version.svg, which is in the public domain
Merged from: r1043948



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1043969 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 14:02:45 +00:00
Brett Porter 59bc6aa509 fix title, as it is showing amount used, not free
Merged from: r1042714


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042715 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:41:05 +00:00
Brett Porter 5285d77732 [MRM-1440] add current time as well, for comparison when troubleshooting captured results
Merged from: r1042711


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042712 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:34:52 +00:00
Brett Porter 6b58a6c15c status page tweaks
Merged from: r1042700:1042702


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042704 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:25:19 +00:00
Brett Porter 98d9fea131 [MRM-1442] track time spent in each consumer during a scan, to help diagnose poor scanning performance
Merged from: r1042689


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042695 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:03:02 +00:00
Brett Porter 9565cefd5b [MRM-1440] correct incorrect package name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042690 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 15:57:12 +00:00
Brett Porter 6897c1f68a [MRM-1441] add repository scanning details to system status page
Merged from: r1042633


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 14:09:28 +00:00
Brett Porter c795a64c84 [MRM-1440] add a system status page
Merged from: r1042625:1042631


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042646 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 13:58:34 +00:00
Brett Porter 23ebf87131 [MRM-1439] improve indexing performance
Avoid re-reading the entire index each time an artifact is added, and instead search to see if it should be added or updated
Merged from: r1041829


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1041846 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 15:01:20 +00:00
Brett Porter deba382d42 [MRM-1436] better Map handling
Submitted by: Dave Brosius


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1040919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:48:32 +00:00
Brett Porter 0167efe972 [MRM-1433] remove @Override are on interface methods which is only possible in java 6 for Java 5 compatibility
Submitted by: Jim Sellers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039998 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:52:27 +00:00
Brett Porter 30f0ab2365 [MRM-1435] fix up useless boxing issues
Submitted by: Dave Brosius


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:39:43 +00:00
Maria Odea B. Ching bc56d6353c [MRM-1097]
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created 
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem) 
o updated unit tests with changes made


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Brett Porter 0452f87c94 slight logging adjustment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038916 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:23:21 +00:00
Brett Porter 8e9ef5cb4a small grammar fix
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038903 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 03:38:05 +00:00
Maria Odea B. Ching 031f607b73 [MRM-1303] fixed npe in delete artifact + unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1031518 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 11:22:06 +00:00
Maria Odea B. Ching b719ecb818 check if metadata exists first before updating and copying to target repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022822 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 05:15:51 +00:00
Maria Odea B. Ching 421229b886 o fix bug when checking for conflicting artifacts, compare managed repo & staging repo instead of both staging repo
o added debug logs
o removed alwaysmatcher for test so we can catch the specific values of passed params


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022813 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:58:49 +00:00
Maria Odea B. Ching e01a96d5f4 [MRM-1424] Implement WS for creating stage repository
submitted by Warner Pinero


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1006162 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:48:48 +00:00
Brett Porter e1c5bb5b91 remove dead link
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1005339 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 06:42:22 +00:00
Maria Odea B. Ching 0d70a68dc6 remove versions since these are already set in parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003740 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 03:37:58 +00:00
Maria Odea B. Ching d35e740ca9 [MRM-1409] web services for repository merge
submitted by Gwen Harold Autencio


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 03:50:04 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Maria Odea B. Ching 9baf9de1ce exclude plexus-spring in redback-struts2-integration as 1.3-SNAPSHOT is being pulled in causing jetty:run to break
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@992227 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 07:52:16 +00:00
Maria Odea B. Ching 7c73d3c9d1 [MRM-1417] add basic managed repository management support on adding repository, deleting repository, and loading repository by id
submitted by Catalino Pineda Jr.

additional modification to the patch:
o added invocation of repo mgnt service methods to sample client


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@987042 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 07:15:58 +00:00
Carlos Sanchez Gonzalez 887786e059 Seconds difference could make test fail, compare date differences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:05:55 +00:00
Carlos Sanchez Gonzalez a96167a55d Disable redback snapshot repo for releases and manage site plugin to the same version across projects
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983636 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 13:26:45 +00:00
Jevica Arianne B. Zurbano 8cfd3806cc [MRM-1394] - Replace the use of clickLinkWithText() with getSelenium().open() for accessing navigation menu pages
merge -r 960310:960311 from 1.3.x branch



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@960322 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 11:27:10 +00:00
Maria Odea B. Ching 4664fef366 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o use successful icon in successful delete


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953620 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:27:02 +00:00
Maria Odea B. Ching a72aeb4d5e [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o do not show add property widget if user does not have repository manager role
o added selenium test for browsing metadata if user is not a repository manager


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953612 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:49:48 +00:00
Brett Porter 8f1414a1dc [MRM-1387] switch to official javax.inject library that is in the central repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953607 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:35:06 +00:00
Maria Odea B. Ching f5b6dcb189 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o added css to add property form


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952527 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 03:47:14 +00:00
Maria Odea B. Ching a15932eb45 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o updated selenium test for deleting metadata
o added selenium tests for adding generic metadata property


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:56:57 +00:00
Maria Odea B. Ching a1cfde68ae fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952141 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:45:18 +00:00
Maria Odea B. Ching f4732a184a fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:20:58 +00:00