Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updating apache commons library versions

    • -1
    • +1
    ./cassandra/CassandraMetadataRepository.java
    • -1
    • +1
    ./cassandra/CassandraRepositorySessionFactory.java
    • -1
    • +1
    ./cassandra/DefaultCassandraArchivaManager.java
  1. … 169 more files in changeset.
Migrating to primaryTypes and modifying dependencies

    • -2
    • +2
    ./cassandra/CassandraMetadataRepository.java
  1. … 13 more files in changeset.
Switching to list as return values.

    • -15
    • +15
    ./cassandra/CassandraMetadataRepository.java
  1. … 5 more files in changeset.
Changing method names and adding javadoc for metarepository

    • -30
    • +15
    ./cassandra/CassandraMetadataRepository.java
  1. … 15 more files in changeset.
Changing contract for nullable parameters

    • -0
    • +2
    ./cassandra/CassandraMetadataRepository.java
  1. … 4 more files in changeset.
Adding generic checksum storage for artifacts

    • -5
    • +44
    ./cassandra/CassandraMetadataRepository.java
  1. … 9 more files in changeset.
Adding stream methods for artifact search

    • -4
    • +3
    ./cassandra/CassandraMetadataRepository.java
  1. … 8 more files in changeset.
Changing checksum handling in metadata

    • -0
    • +2
    ./cassandra/CassandraArchivaManager.java
    • -40
    • +142
    ./cassandra/CassandraMetadataRepository.java
    • -0
    • +50
    ./cassandra/DefaultCassandraArchivaManager.java
    • -0
    • +20
    ./cassandra/model/ArtifactMetadataModel.java
  1. … 4 more files in changeset.
Fixing TZ for time storage. Adding stream implementations.

    • -16
    • +21
    ./cassandra/CassandraMetadataRepository.java
  1. … 8 more files in changeset.
Adding query param object for search queries

    • -9
    • +6
    ./cassandra/CassandraMetadataRepository.java
  1. … 6 more files in changeset.
Changing time type for modification time

    • -4
    • +5
    ./cassandra/CassandraMetadataRepository.java
  1. … 3 more files in changeset.
Fixing cassandra stream api

    • -25
    • +72
    ./cassandra/CassandraMetadataRepository.java
  1. … 2 more files in changeset.
Changing time parameter

    • -4
    • +6
    ./cassandra/CassandraMetadataRepository.java
  1. … 11 more files in changeset.
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.