Commit Graph

77 Commits

Author SHA1 Message Date
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