diff options
author | Olivier Lamy <olamy@apache.org> | 2014-03-26 06:29:55 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-03-26 06:29:55 +0000 |
commit | 24de9b28fb2843b80a35143f76d57373eab592e6 (patch) | |
tree | ab58cfde543ce22bb41ab38fa544d01687e1d1ab /archiva-modules/plugins/metadata-store-cassandra/src/main | |
parent | fb2d2afe08d4e0d4bda15edca5f40920dc096b34 (diff) | |
download | archiva-24de9b28fb2843b80a35143f76d57373eab592e6.tar.gz archiva-24de9b28fb2843b80a35143f76d57373eab592e6.zip |
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
Diffstat (limited to 'archiva-modules/plugins/metadata-store-cassandra/src/main')
-rw-r--r-- | archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java index 143f49d85..e46675472 100644 --- a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java +++ b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java @@ -1941,6 +1941,9 @@ public class CassandraMetadataRepository for ( Row<String, String, String> row : result.get().getList() ) { this.projectVersionMetadataTemplate.deleteRow( row.getKey() ); + removeMailingList( row.getKey() ); + removeLicenses( row.getKey() ); + removeDependencies( row.getKey() ); } RangeSlicesQuery<String, String, String> query = HFactory // @@ -1958,8 +1961,8 @@ public class CassandraMetadataRepository for ( Row<String, String, String> row : result.get() ) { this.artifactMetadataTemplate.deleteRow( row.getKey() ); - } + } } @Override |