From a7f93fed1095a51c94aff1888b8be0cb43e7ebe2 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 25 Mar 2014 06:27:36 +0000 Subject: simplify as we need all columns git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581250 13f79535-47bb-0310-9956-ffa450edef68 --- .../repository/cassandra/CassandraMetadataRepository.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'archiva-modules') 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 81431caf9..5a5747058 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 @@ -960,14 +960,8 @@ public class CassandraMetadataRepository String key = new ProjectVersionMetadataModel.KeyBuilder().withRepository( repoId ).withNamespace( namespace ).withProjectId( projectId ).withId( projectVersion ).build(); - List columns = - Arrays.asList( "projectVersion", "description", "name", "namespaceId", "repositoryName", "incomplete", - "projectId", "url", "ciManagement.url", "ciManagement.system", "issueManagement.system", - "issueManagement.url", "organization.name", "organization.url", "scm.developerConnection", - "scm.connection", "scm.url" ); - ColumnFamilyResult columnFamilyResult = - this.projectVersionMetadataModelTemplate.queryColumns( key, columns ); + this.projectVersionMetadataModelTemplate.queryColumns( key ); if ( !columnFamilyResult.hasResults() ) { return null; -- cgit v1.2.3