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
ecec848cff
Changing checksum handling in metadata
2019-08-24 17:09:57 +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
cda4ac8085
Fixing cassandra stream api
2019-08-20 23:07:22 +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
6cf4073a9e
Changing facet factories. Adding stream methods to metadata repository.
2019-08-18 20:56:46 +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
21d5cf53fe
Refactoring repository metadata session handling
2019-08-06 22:06:57 +02:00
Martin Stockhammer
eca0097d85
Changing session handling for metadata API
2019-08-04 22:40:04 +02:00
Martin Stockhammer
c56ce11c20
Fixing unit tests
2019-08-02 23:49:08 +02:00
Martin Stockhammer
bb3b074aaf
Refactoring to StorageAsset access
2019-07-28 15:24:13 +02:00
Martin Stockhammer
8335c60215
Moving filter API to common module
2019-05-08 19:38:23 +02:00
Martin Stockhammer
a13bfb5a01
Moving maven specific modules
2019-05-06 22:08:19 +02:00
olivier lamy
5e7d541cf1
no more osgi bundle as no one use it and the build stucks on Jenkins because of this
...
Signed-off-by: olivier lamy <olamy@apache.org>
2018-12-31 17:00:54 +10:00
Martin Stockhammer
586f3c3c2b
Adding archiva-modules site build changes for git migration
2018-11-04 13:34:47 +01:00
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
f93a787e74
Adding custom properties to project metadata.
...
Extending the project metadata to add custom properties. This may be used by
storage implementations later.
2017-08-12 14:49:45 +02: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
Martin Stockhammer
712275456c
Adding myself as committer
2016-09-22 21:48:53 +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
b1838d2e3c
Add pom properties to ProjectVersionMetadata
2014-11-21 20:25:26 +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
Brett Porter
75c63ff2eb
split out problem facet
...
this avoids modules wanting to report a problem from having to depend on the
plugin itself and its consumer, etc.
2014-07-30 12:02:04 +10:00
Brett Porter
b9920ed0ff
fix package declarations
...
avoid duplicating classes in the produced bundle
2014-07-30 11:46:31 +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
Brett Porter
2fd88d2d08
update line endings
2014-07-01 16:11:00 +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
fa06b7b997
record license information in cassandra
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581637 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:40 +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
8bcdb6bff6
add some toString for debugging purpose and avoid hard coded values to prevent test failures
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581292 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 11:18:10 +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
Olivier Lamy
68cb953712
fix unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581253 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:20 +00:00
Olivier Lamy
91c9d36a7b
simplify code with adding constructors
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581251 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:50 +00:00
Olivier Lamy
dba59dda32
improve testing
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581249 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:26 +00:00
Olivier Lamy
3302948cb0
add comment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580766 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:33 +00:00
Olivier Lamy
0df0a0a14a
fix cleanup repository and namespace
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580764 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:09 +00:00
Olivier Lamy
c593a9a77f
fix retrieve project versions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580722 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:18:11 +00:00
Olivier Lamy
8565793eed
fix remove artifact
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580720 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:17:49 +00:00
Olivier Lamy
ed0db11f65
prevent ClassCastException as now return a Collection rather than a List
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580693 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:57 +00:00
Olivier Lamy
6b7feec1f1
fix checksum search cassandra search
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580691 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:39 +00:00
Olivier Lamy
ba1c2854a0
use an utility methods to prevent npe when column values does not exist for a row
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580688 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:35:54 +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
Olivier Lamy
57d85761a8
[maven-release-plugin] prepare release archiva-2.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566004 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:07:08 +00:00
Olivier Lamy
4535901efd
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566002 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:06:19 +00:00
Olivier Lamy
12722ebf9d
[maven-release-plugin] prepare release archiva-2.0.0-RC3
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1566001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:05:32 +00:00
Olivier Lamy
f6b004c361
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565998 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:04:34 +00:00
Olivier Lamy
8efe254c0f
[maven-release-plugin] prepare release archiva-2.0.0-RC2
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1565997 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 12:03:45 +00:00