aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-03-25 06:27:36 +0000
committerOlivier Lamy <olamy@apache.org>2014-03-25 06:27:36 +0000
commita7f93fed1095a51c94aff1888b8be0cb43e7ebe2 (patch)
tree33a5dd5cf435f4eec956ccb319962c87fec36af7
parentdba59dda32334ccc8e8fa39ddcf78dd968f83193 (diff)
downloadarchiva-a7f93fed1095a51c94aff1888b8be0cb43e7ebe2.tar.gz
archiva-a7f93fed1095a51c94aff1888b8be0cb43e7ebe2.zip
simplify as we need all columns
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581250 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java8
1 files changed, 1 insertions, 7 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 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<String> 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<String, String> columnFamilyResult =
- this.projectVersionMetadataModelTemplate.queryColumns( key, columns );
+ this.projectVersionMetadataModelTemplate.queryColumns( key );
if ( !columnFamilyResult.hasResults() )
{
return null;