olivier lamy
8210219209
ignore this error
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-02 14:43:46 +11: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
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
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
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
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
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
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
58afcb1114
[MRM-1729] add MetadataRepository#hasMetadataFacet to prevent slow startup time.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423878 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:19:53 +00:00
Olivier Lamy
0c55117416
add some StopWatch to get time on what happened here
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423874 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:18:31 +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
092a635e39
do some cleanup if metadatarepository still contains versions when deleting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397342 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:42:00 +00:00
Olivier Lamy
911dd05b23
add a method to remove namespace(groupId) in MetadataRepository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381575 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:14 +00:00
Olivier Lamy
d4caedfafb
remove commented code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354117 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:24:21 +00:00
Olivier Lamy
208ff50ae5
fix junit correctly delete timestamped snapshot
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353618 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:55:07 +00:00
Olivier Lamy
7720351a50
fix unit test if metadataFacet not available on update
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349179 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 08:12:02 +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
eeed20ed36
fix an issue with not removing project version when removing an artifact from Metadatarepository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345397 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:48:01 +00:00
Olivier Lamy
096a4c0ed1
prevent NPE
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345396 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:47:14 +00:00
Olivier Lamy
5ff0f0ee14
managed repositories add link to do a directories scan immediate.
...
Take about correctly close jackrabbit session in case of exception and open session when it's closed.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299735 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 16:43:41 +00:00
Olivier Lamy
496920391c
revert some changes to use a RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293719 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:53:45 +00:00
Olivier Lamy
1c437a85fb
fix consumer archetype
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197792 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 21:28:51 +00:00
Olivier Lamy
b351e202b5
add snippet for use it in documentation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179621 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:36:49 +00:00
Olivier Lamy
621a98296f
move jcr related classes to store-jcr module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179311 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 16:44:02 +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
Olivier Lamy
f378a857eb
[MRM-1473] remove use of plexus-spring
...
fix module metadata-store-jcr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130164 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 14:37:32 +00:00
Olivier Lamy
ee78778213
fix use of applicationContext.getBeansOfType instead of the old lookupMap.
...
The key is now interface#hint whereas was only hint with plexus
arghh !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:07:26 +00:00
Olivier Lamy
8b19bfa43d
fix package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128919 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:32 +00:00
Olivier Lamy
5b69ca4fd3
remove use of plexus api (Initializable phase)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128918 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:17 +00:00
Brett Porter
076a33f877
[MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Brett Porter
bed7aa1b59
[MRM-1327] fix 'used by' to work under JCR store. This will still have problems under the file store at the moment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085722 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:00:06 +00:00
Brett Porter
95b297a2ae
[MRM-1327] use nodes for dependencies, make several notes about fixes required to properly isolate maven2 pieces
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085704 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:54:11 +00:00
Brett Porter
605c1db826
[MRM-1327] choose a better default for login
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1061114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 04:20:21 +00:00
Brett Porter
479f10cb7f
[MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053820 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:44:10 +00:00
Brett Porter
ed717a4b5b
[MRM-1327] assign node types to each different node so that they can be easily distinguished from each other when querying or traversing. Correct bug where projects would appear as namespaces and vice-versa.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 02:30:09 +00:00
Brett Porter
6673c15740
[MRM-1327] don't auto-save artifact updates - this was only there for testing purposes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053784 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:55:15 +00:00
Brett Porter
de23f7ef3f
[MRM-1327] make sure getArtifactsByDateRange and getArtifactsByChecksum query is restricted to the right repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053783 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:41:07 +00:00
Brett Porter
e28ae522d1
[MRM-1327] make sure getArtifacts query is restricted to the right repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053780 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:29:50 +00:00
Brett Porter
201306c679
[MRM-1327] prevent facets being returned as artifact versions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:23:28 +00:00
Brett Porter
6ff9147139
[MRM-1327] hook save()/close()/revert() methods to the repository implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter
34638d4e67
clean up the "TODO" list, and mark those that are more important as "FIXME"
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter
c63e2a3f77
[MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00