Commit Graph

48 Commits

Author SHA1 Message Date
Wendy Smoak c1ef06e2ab [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550128 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:22:30 +00:00
Wendy Smoak 2023b7ee64 [maven-release-plugin] prepare release archiva-parent-1.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550126 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:21:50 +00:00
Maria Odea B. Ching 49ec5dcb1f [MRM-416]
- Added DatabaseSearch class for querying from the database (This could be used for future database queries so there is only one entry point for all 
db queries)
- Added ArtifactsByChecksumConstraint to be used for querying artifacts by checksum (either sha1, md5 or both)
- Updated "artifact" result of findArtifact action in xwork.xml
- Updated SearchAction to find an artifact (using checksums) in the database instead of in the indices
- Updated results.jsp to accomodate when the results came from the database instead of the SearchResults that is for index searching
- Deleted ArtifactsBySha1Constraint and its test, replaced by ArtifactsByChecksumConstraint
- Created tests for the new classes added



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549792 13f79535-47bb-0310-9956-ffa450edef68
2007-06-22 11:57:55 +00:00
Joakim Erdfelt 66fa6ce2c3 [MRM-403]: when browsing, groups list incorrect sub-groups
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549578 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 18:22:48 +00:00
Joakim Erdfelt a19f5c6e86 Removing bad unit test.
Shouldn't be testing jpox directly using internal JPOX classes.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548824 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 18:47:29 +00:00
Joakim Erdfelt 6405f2be6b [MRM-388] Unable to configure archiva if configuration file did not already exist
Correcting DatabaseUpgrade process that was causing the problem.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548151 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 00:54:16 +00:00
Joakim Erdfelt e7664898d6 [MRM-410] Dependency Tree is not shown in artifact details screen.
* Refactored project resolution into ProjectModelResolverFactory component.
* All resolution access points now use this factory.
* Created ResolverFactoryInit as plexus component load-on-start, to hookup database to resolver stack.
* Created archiva:dependency-tree taglib



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 04:50:05 +00:00
Joakim Erdfelt 9bcbf0e482 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543535 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:47 +00:00
Joakim Erdfelt 582f8d5781 [maven-release-plugin] prepare release archiva-1.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543533 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:13 +00:00
Joakim Erdfelt f457d052ae [MRM-378]: Clicking on the tabs in the artifact detail page doesn't change the view
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542881 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 17:20:20 +00:00
Joakim Erdfelt 18454da4e7 [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540614 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 15:48:23 +00:00
Joakim Erdfelt 8e4c990b3b [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540599 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 14:43:07 +00:00
Joakim Erdfelt 24acf2fa0e Disabling unfinished testcase
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540582 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 13:39:20 +00:00
Joakim Erdfelt ec549451bb [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@540343 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 23:01:36 +00:00
Joakim Erdfelt 3dce54c7fb [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539619 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 22:35:12 +00:00
Joakim Erdfelt 650c56007b [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539163 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 23:17:48 +00:00
Joakim Erdfelt 2ae3268ff9 [MRM-346]: Show Artifact results in error 500.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@539145 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 22:16:57 +00:00
Joakim Erdfelt 6c1ebee773 [MRM-345]: Browsing shows no information.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@538642 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 16:21:57 +00:00
Arnaud Heritier 4f35d1c716 MRM-338 : Fix dependencies convergence between archiva projects
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@537669 13f79535-47bb-0310-9956-ffa450edef68
2007-05-13 23:01:31 +00:00
Joakim Erdfelt 711bb6c0c6 Updates to Database scanner, updater, task, consumers, and admin screens.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@536680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 22:03:49 +00:00
Joakim Erdfelt 99efaacbf0 Upgrading trunk to 1.0-alpha-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@534183 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:25:13 +00:00
Joakim Erdfelt e52e0793df Updates for admin screens
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@534044 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 12:46:46 +00:00
Joakim Erdfelt 3a6d8b6a27 Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@532453 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:37:27 +00:00
Joakim Erdfelt 32f1b4afd2 * Splitting up Constraint into DeclarativeConstraint and SimpleConstraint.
* Adding ArchivaDAO.query(SimpleConstraint).
* Adding UniqueGroupIdConstraint.
* Adding UniqueArtifactId Constraint.
* Adding UniqueVersionConstraint.
* Adding RepositoryBrowsing component.
* Refactoring webapp's BrowseAction groupId filtering into GroupIdFilter class.
* Refactoring BrowseAction to utilize new RepositoryBrowsing component.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@530911 13f79535-47bb-0310-9956-ffa450edef68
2007-04-20 20:44:32 +00:00
Joakim Erdfelt 8b0319bf62 Refactoring of reporting. One step closer to an end-to-end compile.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@530395 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 12:25:11 +00:00
Jesse McConnell c4f2ef40af fix up component decl
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527686 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:36:48 +00:00
Joakim Erdfelt 9e39e98656 Fixing RepositoryDAO and tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527676 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:13:53 +00:00
Joakim Erdfelt 454fb5b0be Work towards compilable webapp
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527650 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:27:38 +00:00
Joakim Erdfelt 84e5e12ca8 * More unit testing of the archiva-database.
* Added CompoundKey tag to help JdoAccess process compound keys more intelligently.
* Updates to keys to honor CompoundKey identity.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526927 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 21:28:30 +00:00
Joakim Erdfelt 6ee23e63a9 * Implemented ArtifactDAO
* Fixed Query / Constraints when using dates (and other parameterized objects)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526879 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 19:12:10 +00:00
Joakim Erdfelt 0dc680c13e * Adding boilerplate for DatabaseUpdater.
* Splitting ArchivaDAO into sub-DAO's to aide in maintenance.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526822 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 16:39:58 +00:00
Joakim Erdfelt 379bbb7225 Updating with changes surrounding model, and database schema, change
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@525951 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 20:11:19 +00:00
Joakim Erdfelt 54e1d8c608 Cleanup of pom multimodule heirarchy after directory moves.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@521491 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 22:03:11 +00:00
Joakim Erdfelt 3e1c7a3ad2 Boilerplate unit testing with hsqldb for other devs ...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@521303 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 15:11:37 +00:00
Joakim Erdfelt 2087d187e7 Changing to hsqldb for unit testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@520921 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 15:46:41 +00:00
Joakim Erdfelt 1451e3ef75 More work against model/database unit testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@520899 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 14:30:32 +00:00
Joakim Erdfelt f5da042413 Furthor work against BidirectionalLayout
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@518797 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 22:44:49 +00:00
Joakim Erdfelt 7a5f50c9f6 Partial work against jpox database refactoring.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@518686 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 16:48:40 +00:00
Joakim Erdfelt df9ebafaf9 Fixing broken code.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512450 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:19:08 +00:00
Joakim Erdfelt 08d67a9bac artifact persistence work
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512448 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:17:45 +00:00
Jesse McConnell 69a8874030 remove reference to object factory, it won't solve the problem at hand
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512418 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 21:23:29 +00:00
Jesse McConnell 210b3267a8 added missing xml file, added methods to determine if database exists or not, fixed up test cases for db initialization and removal
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512366 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:15:00 +00:00
Jesse McConnell e43e5befe7 remove the original IbatisMemoryStore and
its interface, switch impl over to joakims
Repository Metadata database set and start
getting an abstract helper class that helps
manage the MetadataKey

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512340 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:49:48 +00:00
Jesse McConnell 0ce8ca699c a bit more realistic test using actual metadata objects and testing getting the key from the key table, and we can actually directly influence performance by monkeying in xml files for sql..ibatis is pretty slick
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512053 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 22:49:51 +00:00
Jesse McConnell 3600ec5844 added definitions for other tables and fixed up naming conventions
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512034 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 22:10:41 +00:00
Jesse McConnell 78afb73f95 working ibatis example with two tables, only one being used in the test case though
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@512002 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 20:47:55 +00:00
Joakim Erdfelt eec1a48273 Adding stub for initial ibatis support.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@511933 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 18:01:19 +00:00
Joakim Erdfelt d44a8719a3 Adding archiva-database stub
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@511898 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 17:04:17 +00:00