Commit Graph

55 Commits

Author SHA1 Message Date
Martin Stockhammer d3310322d0 Updating apache commons library versions 2019-09-02 16:51:46 +02:00
Martin Stockhammer 31fd0d917e Migrating to primaryTypes and modifying dependencies 2019-08-27 22:09:09 +02:00
Martin Stockhammer 81be348796 Switching to list as return values. 2019-08-25 22:29:00 +02:00
Martin Stockhammer 8f42ce002c Changing method names and adding javadoc for metarepository 2019-08-25 19:55:00 +02:00
Martin Stockhammer 811c445f04 Changing contract for nullable parameters 2019-08-25 13:50:55 +02:00
Martin Stockhammer 232ac43077 Adding generic checksum storage for artifacts 2019-08-25 13:14:59 +02:00
Martin Stockhammer 63cbe9b685 Adding stream methods for artifact search 2019-08-24 22:11:44 +02:00
Martin Stockhammer 31e8442fad Fixing TZ for time storage. Adding stream implementations. 2019-08-21 22:44:40 +02:00
Martin Stockhammer 37a92817ef Adding query param object for search queries 2019-08-21 10:29:31 +02:00
Martin Stockhammer f100559586 Changing time type for modification time 2019-08-21 07:33:47 +02:00
Martin Stockhammer 379a72c3b7 Changing time parameter 2019-08-20 20:08:49 +02:00
Martin Stockhammer 7a5bc65de4 Implementing stream methods. Changing date arguments to java time API. 2019-08-20 10:01:49 +02:00
Martin Stockhammer d4ce38836d Implementing new stream methods 2019-08-20 00:08:08 +02:00
Martin Stockhammer 118604a706 Fixing unit tests 2019-08-16 22:36:09 +02:00
Martin Stockhammer e4f38c2fbe Improving metadata session handling and JCR indexing 2019-08-15 22:54:14 +02:00
Martin Stockhammer eca0097d85 Changing session handling for metadata API 2019-08-04 22:40:04 +02:00
Martin Stockhammer a2febcecd9 Generics and cleanup to reduce compiler warnings 2018-04-02 21:35:47 +02:00
Martin Stockhammer f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer cb38dbbbc6 Changing the initialization behaviour of metadata repo factory 2017-10-21 14:42:32 +02:00
Martin Stockhammer a446c03853 Migrating metadata file store to java.nio 2017-09-11 22:31:13 +02:00
olivier lamy 7a2710ec0a Merge branch 'feature/jcr_oak' 2017-08-19 21:37:35 +10:00
olivier lamy 789f879c3b fixing test for rest services, correctly close jcr repo
Signed-off-by: olivier lamy <olamy@apache.org>
2017-08-14 17:20:12 +10:00
Daniel Trebbien 0b15664f1c 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/
2017-07-30 13:26:05 -07:00
Olivier Lamy b2ced491a9 ooops fix compilation 2015-10-07 12:19:27 +11:00
Olivier Lamy a39985692c ooops fix compilation 2015-10-07 12:08:47 +11:00
Olivier Lamy b195fa3946 more fix 2015-10-07 12:05:01 +11:00
Carlos Sanchez e4da1fa6f5 [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
2014-12-01 16:48:13 +01:00
Olivier Lamy 2132965397 more code simplification with 1.7 features 2014-04-17 10:46:06 +10:00
Olivier Lamy ec1e655c9d use Files.copy from java.nio.file 2014-04-16 18:11:38 +10:00
Eric Barboni 99117364be one move for all remaining override annotation 2014-04-11 23:46:35 +02:00
Olivier Lamy d6c28781b0 more diamond 2014-04-10 23:11:38 +10:00
Olivier Lamy 047b7ad17e fix CME 2014-04-10 16:44:51 +10:00
Olivier Lamy 5fa4ceb731 more diamond 2014-04-10 16:36:21 +10:00
Olivier Lamy cfaf9559dd use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:28:52 +00:00
Olivier Lamy 7afb00d1c8 non necessary local variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427126 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 14:13:56 +00:00
Olivier Lamy e92fede155 fix all RepositoryManager implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423879 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:21:20 +00:00
Olivier Lamy ede0480333 [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
2012-10-22 14:51:12 +00:00
Olivier Lamy 0af1bd62e7 [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
2012-10-22 14:49:23 +00:00
Olivier Lamy e7bc35db81 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
2012-10-11 22:43:15 +00:00
Olivier Lamy 3fc9e37424 implement removeNamespace for FileMetadataRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381578 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:57 +00:00
Olivier Lamy f68a05a499 implements the method with metadata-store-file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:25:08 +00:00
Olivier Lamy cbfc4aa789 fix compilation of impls
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353620 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:56:28 +00:00
Olivier Lamy a1230dc9e7 fix test mock compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346610 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:29 +00:00
Olivier Lamy ea5ddd0961 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
2012-06-05 21:42:02 +00:00
Olivier Lamy 297bb0fcff 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
2012-06-02 21:14:37 +00:00
Olivier Lamy e02d0cdc8b avoid using printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:14:22 +00:00
Olivier Lamy 5fbb07bdb4 compilation failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293774 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:31:53 +00:00
Olivier Lamy 33850774a4 [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
2011-09-16 13:18:21 +00:00
Olivier Lamy ac4dbb87e1 get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy f0c6ee5a71 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00