Clone Tools
  • last updated 25 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Implementing stream methods. Changing date arguments to java time API.

    • -5
    • +4
    ./cassandra/CassandraMetadataRepository.java
  1. … 8 more files in changeset.
Implementing new stream methods

    • -9
    • +97
    ./cassandra/CassandraMetadataRepository.java
    • -13
    • +5
    ./cassandra/CassandraRepositorySessionFactory.java
  1. … 11 more files in changeset.
Changing session handling for metadata API

    • -92
    • +49
    ./cassandra/CassandraMetadataRepository.java
    • -1
    • +2
    ./cassandra/CassandraRepositorySessionFactory.java
  1. … 53 more files in changeset.
Generics and cleanup to reduce compiler warnings

  1. … 12 more files in changeset.
Reorganizing imports

    • -3
    • +0
    ./cassandra/CassandraMetadataRepository.java
    • -2
    • +0
    ./cassandra/CassandraRepositorySessionFactory.java
    • -2
    • +2
    ./cassandra/DefaultCassandraArchivaManager.java
    • -2
    • +2
    ./cassandra/model/ArtifactMetadataModel.java
    • -2
    • +2
    ./cassandra/model/MetadataFacetModel.java
  1. … 191 more files in changeset.
Changing the initialization behaviour of metadata repo factory

    • -8
    • +8
    ./cassandra/CassandraRepositorySessionFactory.java
  1. … 11 more files in changeset.
fixing test for rest services, correctly close jcr repo

Signed-off-by: olivier lamy <olamy@apache.org>

    • -0
    • +6
    ./cassandra/CassandraRepositorySessionFactory.java
  1. … 10 more files in changeset.
Utilize parameterized logging and remove toString() calls

As suggested in the SLF4J FAQ:

https://www.slf4j.org/faq.html#logging_performance

.. parameterized logging can improve the efficiency of logger calls when

logging at the specified level is disabled.

In addition, per the FAQ: https://www.slf4j.org/faq.html#paramException

since SLF4J 1.6.0 it is possible to use parameterized logging and also

log an exception/throwable.

toString() is called automatically:

https://www.slf4j.org/faq.html#string_contents

These changes were suggested by SLF4J Helper for NetBeans IDE:

http://plugins.netbeans.org/plugin/72557/

    • -1
    • +1
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 22 more files in changeset.
[MRM-1390] Cassandra: rename Metadata Facet column 'key' to 'facetKey'

The column 'key' can't be queried in Cassandra

Probably because 'key' is reserved for the element key or a limitation in Hector

Commit f4f7c97 changed the name of metadata facet key and value columns

Restore to the previous one

Use the same list of ArtifactMetadata column names everywhere

    • -8
    • +4
    ./cassandra/CassandraMetadataRepository.java
    • -0
    • +6
    ./cassandra/model/ArtifactMetadataModel.java
Use an Enum for Cassandra column names instead of duplicated Strings

    • -291
    • +292
    ./cassandra/CassandraMetadataRepository.java
    • -1
    • +1
    ./cassandra/CassandraRepositorySessionFactory.java
    • -52
    • +54
    ./cassandra/DefaultCassandraArchivaManager.java
    • -0
    • +63
    ./cassandra/model/ColumnNames.java
[MRM-1390] Implement search methods for generic metadata and properties in Cassandra store

Some caveats with Cassandra implementation:

We can't search artifacts by any (wildcard) property, so searchArtifacts(text,...) just calls getArtifactsByMetadata

The exact parameter is ignored as we can't do non exact searches in Cassandra

    • -26
    • +115
    ./cassandra/CassandraMetadataRepository.java
    • -0
    • +5
    ./cassandra/model/MetadataFacetModel.java
  1. … 2 more files in changeset.
[MRM-1390] Add REST methods to search JCR store for generic metadata and properties

Added REST methods:

artifactsByProjectVersionMetadata/{key}/{value}

artifactsByMetadata/{key}/{value}

artifactsByProperty/{key}/{value}

searchArtifacts/{text}

searchArtifacts/{key}/{text}

In JCR implementation When searching into any property (key = nil) we can't do exact searchs

    • -0
    • +37
    ./cassandra/CassandraMetadataRepository.java
  1. … 17 more files in changeset.
1.7 diamond

    • -44
    • +40
    ./cassandra/CassandraMetadataRepository.java
add an index for the projectVersionMetadataModel.key column

    • -4
    • +9
    ./cassandra/CassandraMetadataRepository.java
    • -0
    • +23
    ./cassandra/DefaultCassandraArchivaManager.java
one move for all remaining override annotation

    • -0
    • +12
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 254 more files in changeset.
more diamond

    • -5
    • +5
    ./cassandra/CassandraMetadataRepository.java
    • -1
    • +1
    ./cassandra/CassandraRepositorySessionFactory.java
  1. … 60 more files in changeset.
more diamond

    • -17
    • +17
    ./cassandra/CassandraMetadataRepository.java
    • -1
    • +1
    ./cassandra/DefaultCassandraArchivaManager.java
    • -3
    • +3
    ./cassandra/model/ProjectVersionMetadataModel.java
  1. … 33 more files in changeset.
consumer with an empty looks to build now

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583989 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +1
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 4 more files in changeset.
[MRM-1802] Find a cache solution for browsing part (especially root browsing)

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583867 13f79535-47bb-0310-9956-ffa450edef68

    • -6
    • +5
    ./cassandra/CassandraMetadataRepository.java
  1. … 4 more files in changeset.
fix comment

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583866 13f79535-47bb-0310-9956-ffa450edef68

    • -9
    • +12
    ./cassandra/CassandraMetadataRepository.java
add comment

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68

    • -3
    • +3
    ./cassandra/CassandraMetadataRepository.java
  1. … 1 more file in changeset.
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

    • -2
    • +0
    ./cassandra/CassandraRepositorySessionFactory.java
  1. … 1 more file in changeset.
move the factory bean to the api

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582713 13f79535-47bb-0310-9956-ffa450edef68

    • -10
    • +17
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 21 more files in changeset.
fix facet creation

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582198 13f79535-47bb-0310-9956-ffa450edef68

    • -3
    • +2
    ./cassandra/CassandraMetadataRepository.java
take care of null values

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582119 13f79535-47bb-0310-9956-ffa450edef68

    • -35
    • +33
    ./cassandra/CassandraMetadataRepository.java
  1. … 1 more file in changeset.
extract cassandra configuration in a configuration file

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582094 13f79535-47bb-0310-9956-ffa450edef68

    • -13
    • +26
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 3 more files in changeset.
add unit test for method getProjectReferences

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581807 13f79535-47bb-0310-9956-ffa450edef68

    • -5
    • +36
    ./cassandra/CassandraMetadataRepository.java
    • -20
    • +6
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 3 more files in changeset.
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

    • -1
    • +4
    ./cassandra/CassandraMetadataRepository.java
  1. … 2 more files in changeset.