Commit Graph

99 Commits

Author SHA1 Message Date
Olivier Lamy f9c01084da fix comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583866 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 03:55:10 +00:00
Olivier Lamy abdad59483 add comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 01:29:07 +00:00
Olivier Lamy 4d70362d9d fix unit test with adding mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583324 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 13:23:20 +00:00
Olivier Lamy 946557f164 more metadata store cassandra to cassandra profile as need 1.7 dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43:34 +00:00
Olivier Lamy bef128817d move the factory bean to the api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582713 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43:24 +00:00
Olivier Lamy bb79c82aab fix facet creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582198 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:01:50 +00:00
Olivier Lamy 5a1a064f75 take care of null values
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582119 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 23:27:58 +00:00
Olivier Lamy a80ae95cc8 better with adding the default file...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582095 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 22:27:08 +00:00
Olivier Lamy 7d1c504705 extract cassandra configuration in a configuration file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582094 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 22:27:02 +00:00
Olivier Lamy acc7242804 add unit test for method getProjectReferences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581807 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 12:16:02 +00:00
Olivier Lamy 24de9b28fb add a test to ensure dependant are cleanup up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581705 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:29:55 +00:00
Olivier Lamy e7b4016303 more cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581703 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:02:18 +00:00
Olivier Lamy 0bfb850c1b some cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581702 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:02:09 +00:00
Olivier Lamy 07bae44727 fix naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581701 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:51 +00:00
Olivier Lamy 591771c0c4 fix naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581700 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:42 +00:00
Olivier Lamy 1754cb76e0 all tests passed with cassandra implementation: does not mean everyhting is really working but a good step :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581699 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:32 +00:00
Olivier Lamy 3c0c99a9f2 fix deleting a project -> remove all artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581698 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:20 +00:00
Olivier Lamy 96a526be48 fix parent version for modules not part of release
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581642 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:32 +00:00
Olivier Lamy 3ff5c718fb fix unit test when searching project version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581640 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:20 +00:00
Olivier Lamy 122145013e should return null if no facets found
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581639 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:06 +00:00
Olivier Lamy 509e72be48 implement cassandra record of dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581638 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:51 +00:00
Olivier Lamy fa06b7b997 record license information in cassandra
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581637 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:40 +00:00
Olivier Lamy 8bcdb6bff6 add some toString for debugging purpose and avoid hard coded values to prevent test failures
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581292 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 11:18:10 +00:00
Olivier Lamy 7156611df0 use assertj as fest-assert is not maintained anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581256 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:29:30 +00:00
Olivier Lamy 306610e853 use the same naming convention for those methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581255 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:43 +00:00
Olivier Lamy 261ff2b4b2 correct cleanup of mailing list table
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581254 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:30 +00:00
Olivier Lamy 68cb953712 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581253 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:20 +00:00
Olivier Lamy 4ac873046d record mailing lists in Cassandra
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581252 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:03 +00:00
Olivier Lamy 91c9d36a7b simplify code with adding constructors
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581251 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:50 +00:00
Olivier Lamy a7f93fed10 simplify as we need all columns
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581250 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:36 +00:00
Olivier Lamy ccade5dd86 map simple object
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:18 +00:00
Olivier Lamy 2784f0068c fix removeArtifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580765 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:25 +00:00
Olivier Lamy 0df0a0a14a fix cleanup repository and namespace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580764 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:09 +00:00
Olivier Lamy e4f454dd78 fix removeArtifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580763 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:58 +00:00
Olivier Lamy 4b7e439132 fix deleting project version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580762 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:44 +00:00
Olivier Lamy d18ba9ef21 cleanup code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580761 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:34 +00:00
Olivier Lamy 869291b351 fix retrieving facets
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580743 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:24 +00:00
Olivier Lamy 043624f052 fix retrieving versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580742 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:14 +00:00
Olivier Lamy b472313682 fix project version metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580741 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:04 +00:00
Olivier Lamy c593a9a77f fix retrieve project versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580722 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:18:11 +00:00
Olivier Lamy 6f73874474 small optim as no need to continue querying here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580721 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:18:00 +00:00
Olivier Lamy 8565793eed fix remove artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580720 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:17:49 +00:00
Olivier Lamy 7d10f63b87 use directly query filtering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580694 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:37:12 +00:00
Olivier Lamy ed0db11f65 prevent ClassCastException as now return a Collection rather than a List
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580693 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:57 +00:00
Olivier Lamy 72ddf2322f fix name and cleanup pom
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580692 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:45 +00:00
Olivier Lamy 6b7feec1f1 fix checksum search cassandra search
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580691 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:39 +00:00
Olivier Lamy fddb0ca9cf fix truncating datas in unit and wrong StringUtils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580690 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:21 +00:00
Olivier Lamy c6afb274c0 add NPE check
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580689 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:04 +00:00
Olivier Lamy ba1c2854a0 use an utility methods to prevent npe when column values does not exist for a row
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580688 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:35:54 +00:00
Olivier Lamy 63938bfb47 fix facets add/update
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580687 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:35:36 +00:00