224 Commits

Author SHA1 Message Date
Martin Stockhammer
f101252375 Reorganizing imports 2018-03-30 20:11:57 +02:00
Martin Stockhammer
e4941b4696 Adapting the metadata module to the new repository api 2017-11-01 15:39:41 +01:00
Martin Stockhammer
cb38dbbbc6 Changing the initialization behaviour of metadata repo factory 2017-10-21 14:42:32 +02:00
Martin Stockhammer
3ae101f7a9 Adding retry to some tests because of async index updates
Adding tryAssert function that does repeatedly run the assert
function, because JCR Oak uses asynchronous index updates and changes
are not reflected immediately in the index.
2017-09-19 13:20:54 +02:00
Martin Stockhammer
0eadc9bab1 Migrating maven2-repository to java.nio 2017-09-14 07:45:04 +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
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
ddbb6cdaf4 cosmetic change :-)
Signed-off-by: olivier lamy <olamy@apache.org>
2017-06-24 09:06:22 +10: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
5e9cb64d9d fix javadoc error
Signed-off-by: olivier lamy <olamy@apache.org>
2016-05-20 12:43:22 +10:00
Olivier Lamy
87ff9f5d3d more usage of MockRepositorySessionFactory 2015-10-01 15:39:41 +10: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
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
Carlos Sanchez
63479200ce Add a AbstractMetadataRepository to remove duplicated code 2014-11-06 13:39:28 +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
fafb8d284f split out audit facet and listener to match others
by placing these in the metadata model / API they can be used more broadly,
while the storage-dependant implementation can be in a plugin. This means the
plugins can be removed from the admin implementation, which can then be used
(as required) in the CLI
2014-07-31 15:10:37 +10:00
Brett Porter
be20d16cfd more autowiring 2014-07-30 18:06:15 +10:00
Brett Porter
fcf2e3e27c make optional for Spring
in case of tests that don't add any repository listeners to the classpath
2014-07-30 16:07:38 +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
Eric Barboni
a7c6ebb10e jdk 7 (multicatch) for-loop
remove unused package, reduce annotations (value= or locations=)
move javadoc from Maven2RepsotirotyStorage to RepositoryStorage
2014-04-18 01:46:55 +02:00
Olivier Lamy
1e2bb57406 diamond operator 2014-04-16 16:15:07 +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
fd75d57535 mark this AutoCloseable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585703 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 12:21:06 +00: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
fa2a3efcc7 [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
2014-04-02 03:55:28 +00:00
Olivier Lamy
4d70362d9d fix unit test with adding mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583324 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 13:23:20 +00:00
Olivier Lamy
e278aa78c5 more unit tests fixes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583230 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 01:30:34 +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
24de9b28fb 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
2014-03-26 06:29:55 +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
1754cb76e0 all tests passed with cassandra implementation: does not mean everyhting is really working but a good step :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581699 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:32 +00:00
Olivier Lamy
3ff5c718fb fix unit test when searching project version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581640 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:20 +00:00
Olivier Lamy
122145013e should return null if no facets found
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581639 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41:06 +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