Commit Graph

1184 Commits

Author SHA1 Message Date
Joakim Erdfelt 3465830934 * Furthor test case improvement.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529617 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 14:12:36 +00:00
Joakim Erdfelt 3f7a13c5a6 * Adding Project/Versioned/Artifact functionality to BidirectionalRepositoryLayout.
* Adding Metadata Reader/Write/Merge.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529616 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 14:11:58 +00:00
Joakim Erdfelt e37599c559 Adjusting Metadata content.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529614 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 14:10:41 +00:00
Joakim Erdfelt 8e01424163 Adding XMLWriter
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529613 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 14:10:16 +00:00
Jesse McConnell 01b7555594 working test case now that the model bug was found and squashed
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529337 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 17:36:32 +00:00
Jesse McConnell 7052adfc4f fixing a bug in the model with the isProcessed
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529326 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 17:05:46 +00:00
Joakim Erdfelt 86d625ac02 Adding policies
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529109 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 00:52:25 +00:00
Joakim Erdfelt 94ca53dece Adding ability to calculate a ProjectReference from a path.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529108 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 00:51:13 +00:00
Joakim Erdfelt 46fefb7f3e * Expanding Proxy / Policy tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529107 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 00:49:33 +00:00
Joakim Erdfelt 4e7c4eff6c * Expanding Proxy / Policy tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@529106 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 00:49:27 +00:00
Jesse McConnell 284ce85703 adding in some tests for making sure the tasks are executing correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528637 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:58:09 +00:00
Joakim Erdfelt e0fc78b02c RepositoryURL updates.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528631 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:50:44 +00:00
Joakim Erdfelt 46c9341c34 Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528599 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:13:20 +00:00
Joakim Erdfelt d875c2574c Fixing bad role-hint
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528598 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:13:04 +00:00
Joakim Erdfelt 7508bee55b Adding better logging during test run.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528596 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:07:53 +00:00
Joakim Erdfelt f1baf328fb Desired vs Actual
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528593 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:04:08 +00:00
Joakim Erdfelt 710b963f2a Correcting some plexus mappings (to help in unit tests).
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528591 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 18:57:22 +00:00
Jesse McConnell ab8648688b adding missing files
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528586 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 18:49:28 +00:00
Jesse McConnell 73dd9d86c1 update to newer released plexus-maven-plugin and add archiva-scheduled to modules
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528579 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 18:38:08 +00:00
Joakim Erdfelt 08223ca0ec Reorganization of model for policy maps and archiva-policies
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528539 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:58:55 +00:00
Joakim Erdfelt 68a076bf26 Adding PathUtils.toURL() methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528536 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:51:41 +00:00
Joakim Erdfelt 2d359dfb0e Dialing down test log console output
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528535 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:50:41 +00:00
Joakim Erdfelt b02cdf39a1 * Adding CachedFailuresPolicy.
* Adding UrlFailureCache component.
* Adding unit tests for cache-failures and checksum policies.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528532 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:48:27 +00:00
Jesse McConnell 45abcbe802 commiting latest bits on the scheduler parts
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528529 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:44:20 +00:00
Jesse McConnell c1cbf37fc6 added to exception info
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528527 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:34:18 +00:00
Jesse McConnell c440e1e291 working archiva-ali again
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528525 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 15:32:51 +00:00
Jesse McConnell e970003cf5 working on getting the cli working again
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528251 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 22:00:28 +00:00
Joakim Erdfelt 4a0241c591 Creating archiva-policies module
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528216 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 20:11:31 +00:00
Joakim Erdfelt 658a845d30 Adding default archiva.xml to the mix.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528100 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 19:34:20 +00:00
Jesse McConnell 8c89b78a39 move scheduled up to top lvl, it could theorically run as a service or daemon and isn't really bound to web either.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528087 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:56:07 +00:00
Jesse McConnell 4d3cfaaf00 remove scheduled
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528081 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:46:13 +00:00
Jesse McConnell 10a695532e shifting scheduled out of base since it has an external (to base) dependency to archiva-database
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528080 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 18:45:46 +00:00
Jesse McConnell 936f0b1b91 add to depMan
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528037 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 17:04:16 +00:00
Jesse McConnell 0f1f2c658e getting closer to some meaningful scheduler tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@528036 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 17:03:26 +00:00
Jesse McConnell 9dd8cbb2b2 test case is executing successfully now
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527692 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:50:40 +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
Jesse McConnell 0d3a7326ec test case is executing successfully now
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527683 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 21:32:32 +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 2ce32e94ab Correcting unit tests for jesse.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527658 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:45:10 +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 9e2d664ab3 Model / Configuration / Repository Layer / Proxy Updates
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527649 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:26:34 +00:00
Jesse McConnell 6ff6a7b46c update test bits
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527646 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:23:29 +00:00
Jesse McConnell 5292d7bf75 missing classes and some test structure
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527642 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 20:04:51 +00:00
Jesse McConnell d225667efd database and repository teasks with a single task queue for processing
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@527585 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 17:38:45 +00:00
Joakim Erdfelt 79a7f98efa Correcting tests due to constructor change in ArchivaArtifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526928 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 21:33:54 +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 ede71ae385 Removing repository from constructor, Adding model as constructor option.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@526880 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 19:13:12 +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 3fddad3e8c Fixing versions of dependencies in cli
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-jpox-database-refactor@525996 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 22:52:46 +00:00