Clone Tools
  • last updated 15 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Migrating metadata file store to java.nio

    • -142
    • +108
    ./repository/file/FileMetadataRepository.java
  1. … 1 more file in changeset.
fixing test for rest services, correctly close jcr repo

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

    • -9
    • +6
    ./repository/file/FileRepositorySessionFactory.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
    ./repository/file/FileMetadataRepository.java
  1. … 22 more files in changeset.
ooops fix compilation

    • -15
    • +6
    ./repository/file/FileMetadataRepository.java
ooops fix compilation

    • -7
    • +14
    ./repository/file/FileMetadataRepository.java
more fix

    • -506
    • +641
    ./repository/file/FileMetadataRepository.java
  1. … 1 more file 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
    • +35
    ./repository/file/FileMetadataRepository.java
  1. … 17 more files in changeset.
more code simplification with 1.7 features

    • -1
    • +2
    ./repository/file/FileMetadataRepository.java
  1. … 6 more files in changeset.
use Files.copy from java.nio.file

    • -18
    • +11
    ./repository/file/FileMetadataRepository.java
  1. … 12 more files in changeset.
one move for all remaining override annotation

    • -0
    • +36
    ./repository/file/FileMetadataRepository.java
    • -0
    • +1
    ./repository/file/FileRepositorySessionFactory.java
  1. … 253 more files in changeset.
more diamond

    • -4
    • +4
    ./repository/file/FileMetadataRepository.java
    • -1
    • +1
    ./repository/file/FileRepositorySessionFactory.java
  1. … 60 more files in changeset.
fix CME

    • -4
    • +4
    ./repository/file/FileMetadataRepository.java
more diamond

    • -15
    • +15
    ./repository/file/FileMetadataRepository.java
  1. … 35 more files in changeset.
    • -1
    • +1
    ./repository/file/FileMetadataRepository.java
  1. … 103 more files in changeset.
use generics

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

    • -1
    • +1
    ./repository/file/FileMetadataRepository.java
  1. … 11 more files in changeset.
non necessary local variable

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

    • -2
    • +1
    ./repository/file/FileMetadataRepository.java
  1. … 2 more files in changeset.
fix all RepositoryManager implementations

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

    • -0
    • +7
    ./repository/file/FileMetadataRepository.java
  1. … 11 more files in changeset.
[MRM-1703] Cannot delete project add unit test for metadata repository.

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

    • -1
    • +12
    ./repository/file/FileMetadataRepository.java
  1. … 1 more file in changeset.
[MRM-1703] Cannot delete project with the ui.

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

    • -0
    • +5
    ./repository/file/FileMetadataRepository.java
  1. … 12 more files in changeset.
add unit test for new method in MetadataRepository and fix compilation for some impls/mocks

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

    • -1
    • +18
    ./repository/file/FileMetadataRepository.java
  1. … 10 more files in changeset.
implement removeNamespace for FileMetadataRepository

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

    • -0
    • +18
    ./repository/file/FileMetadataRepository.java
implements the method with metadata-store-file

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

    • -4
    • +40
    ./repository/file/FileMetadataRepository.java
fix compilation of impls

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

    • -0
    • +7
    ./repository/file/FileMetadataRepository.java
  1. … 9 more files in changeset.
fix test mock compilation

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

    • -3
    • +2
    ./repository/file/FileMetadataRepository.java
  1. … 9 more files in changeset.
improve MetadataRepository api to be able to remove an artifact with MetadataFacet use case deleting a maven artifact with a classifier

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

    • -0
    • +19
    ./repository/file/FileMetadataRepository.java
  1. … 12 more files in changeset.
fix an issue with not removing project version when removing an artifact from Metadatarepository with metadata-store-file.

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

    • -4
    • +7
    ./repository/file/FileMetadataRepository.java
avoid using printStackTrace

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

    • -2
    • +2
    ./repository/file/FileMetadataRepository.java
compilation failure

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

    • -2
    • +0
    ./repository/file/FileMetadataRepository.java
[MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module

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

    • -2
    • +2
    ./repository/file/FileMetadataRepository.java
    • -1
    • +1
    ./repository/file/FileRepositorySessionFactory.java
  1. … 172 more files in changeset.
get RID of plexus.requirement annotation

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

    • -3
    • +3
    ./repository/file/FileRepositorySessionFactory.java
  1. … 35 more files in changeset.