128 Commits

Author SHA1 Message Date
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
olivier lamy
c0623553f0 shutdown executor service on close
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-31 22:16:08 +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
d93ae430d5 trying more memory too see what happen on Jenkins
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-29 09:22:14 +10:00
olivier lamy
91e42dee5b no need of this file
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 17:35:09 +10:00
olivier lamy
8a76b99641 more progress on oak lucene shaded
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 14:56:21 +10:00
olivier lamy
003d5794a8 more progress on new maven indexer version
Signed-off-by: olivier lamy <olamy@apache.org>
2017-07-24 10:12:23 +10:00
Martin Stockhammer
f637c02c71 [MRM-1957] Spliting statistics plugin module
Adding new API module (metadata-statistics-api) for statistics and move the
jcr specific tasks to the metadata store module.

Providing interfaces for the statistics API.

Removing dependencies to store specific libraries (like JCR) from the statistic
modules.
2017-07-16 17:56:54 +02:00
olivier lamy
58ac86f011 force jcr save
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 10:21:14 +10:00
olivier lamy
0bfead8264 some progress on new indexer
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:33:50 +10:00
olivier lamy
ddbb6cdaf4 cosmetic change :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:06:22 +10:00
Martin Stockhammer
96843bd488 Fixing tests and path for jcr oak 2017-06-24 09:05:49 +10:00
Martin Stockhammer
7d2cc26b4b Adding jcr oak implementation 2017-06-24 09:05:49 +10:00
Martin Stockhammer
dc259c035b [MRM-1954] Adding validatehierarchy property for JCR 2017-06-14 00:04:07 +02:00
Martin Stockhammer
3a18da17df Fixing DTD of jcr config file 2017-06-13 23:36:25 +02:00
Martin Stockhammer
2cc9dc8b4a Fix for initialization problems with new spring version 2017-05-21 22:38:21 +02:00
olivier lamy
053315826d bump version to 3.0.0-SNAPSHOT
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-18 15:04:58 +10:00
Martin Stockhammer
a43d980be3 [maven-release-plugin] prepare for next development iteration 2017-05-12 21:36:19 +02:00
Martin Stockhammer
e80c3cd529 [maven-release-plugin] prepare release archiva-2.2.3 2017-05-12 21:36:09 +02:00
Martin Stockhammer
0626aa2bde Going back to version 2.2.3 2017-04-28 00:33:58 +02:00
Martin Stockhammer
04e221a571 [maven-release-plugin] prepare for next development iteration 2017-04-21 22:56:58 +02:00
Martin Stockhammer
41327eebf1 [maven-release-plugin] prepare release archiva-2.2.2 2017-04-21 22:56:47 +02:00
olivier lamy
e2482432b2 [maven-release-plugin] prepare for next development iteration 2016-05-23 10:38:28 +10:00
olivier lamy
64f4bc5e0e [maven-release-plugin] prepare release archiva-2.2.1 2016-05-23 10:38:19 +10:00
olivier lamy
8210219209 ignore this error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-02 14:43:46 +11:00
Olivier Lamy
46ccfb47a6 [maven-release-plugin] prepare for next development iteration 2015-02-24 21:55:57 +11:00
Olivier Lamy
e5500cce83 [maven-release-plugin] prepare release archiva-2.2.0 2015-02-24 21:55:45 +11:00
Carlos Sanchez
f11f39932a [MRM-1390] Bump version to 2.2.0 2014-12-01 16:56:43 +01:00
Carlos Sanchez
4e5d1183c3 [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
2014-12-01 16:48:31 +01: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
ede01e523e [maven-release-plugin] prepare for next development iteration 2014-09-01 15:15:00 +10:00
Olivier Lamy
aca120c87c [maven-release-plugin] prepare release archiva-2.1.1 2014-09-01 15:14:47 +10:00
Brett Porter
1e589ddd62 only close session if open
getJcrSession will open one if needed, which close does not need to do. This
also caused some timing issues in the REST tests as it concurrently operated
on the same session
2014-07-31 20:22:27 +10:00
Olivier Lamy
f051ac2796 [maven-release-plugin] prepare for next development iteration 2014-07-16 10:51:34 +10:00
Olivier Lamy
93eafa089c [maven-release-plugin] prepare release archiva-2.1.0 2014-07-16 10:51:21 +10:00
Olivier Lamy
e7bdc98ddb jackrabbit 2.7.5 2014-04-17 22:25:14 +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
5fa4ceb731 more diamond 2014-04-10 16:36:21 +10:00
Olivier Lamy
751bffaef1 bump version to 2.1.0-SNAPSHOT because of 1.7 pre requisite
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585071 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:57:09 +00:00
Olivier Lamy
e376eca362 initialize not needed if we do not use this impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582720 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 12:12:41 +00:00
Olivier Lamy
bef128817d move the factory bean to the api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582713 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43:24 +00:00
Olivier Lamy
acc7242804 add unit test for method getProjectReferences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581807 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 12:16:02 +00:00
Olivier Lamy
0bfb850c1b some cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581702 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:02:09 +00:00
Olivier Lamy
663de30beb [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581635 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:25 +00:00
Olivier Lamy
477615ea47 [maven-release-plugin] prepare release archiva-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581634 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:39:38 +00:00
Olivier Lamy
7156611df0 use assertj as fest-assert is not maintained anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581256 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:29:30 +00:00
skygo
764c9d6424 fix javadoc. Generation possible on jdk8
(fix html content + replace @todo with TODO  )

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1571532 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 02:01:14 +00:00
Olivier Lamy
d5dfe85111 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566005 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:07:59 +00:00