610 Commits

Author SHA1 Message Date
Martin Stockhammer
1fd9c951e1 Improving error handling for LDAP configuration
Error is only displayed, if LDAP is used as repository. The error
messages are more detailed and internationalized.
2016-10-02 15:20:56 +02:00
Martin Stockhammer
5bc8ad7de3 Adding test case for repository listing 2016-09-14 23:04:03 +02:00
Martin Stockhammer
de3eb83242 Adding restricted view for user managable repositories
Adds additional rest method to list the repositories where the user
has manage permissions.
Restricts the view for uploads to only managable repositories.
2016-09-14 21:49:30 +02:00
Martin Stockhammer
5bb5f76520 Adding unit test for remote repository check 2016-09-14 10:22:21 +02:00
Martin Stockhammer
e4a2e65f6e Removing trailing slash in remote repository check
See https://issues.apache.org/jira/browse/MRM-1909
2016-09-13 18:33:19 +02:00
Martin Stockhammer
02b892796c Increasing timeouts for repository check
Slow responding repositories were marked with a repository failure because of the
low read timeout value.
Increases the timeout for the repository check.
2016-09-08 19:00:40 +02:00
Ciprian Ciubotariu
a746721940 Fix non-deterministic test failures
archiva-rest-services tests need to wait for repo scanning to finish
2016-05-31 20:05:29 +03: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
Eric Barboni
b960b96e32 change style and template to have a kind of enunciate 1.x style that we can use 2015-11-13 18:01:52 +01:00
Bernd Eckenfels
495a7bf95f Remove Sonar Dead Store Issues. 2015-10-13 00:54:04 +02:00
Eric Barboni
5d5b0733de put documentation on the same folder as before 2.0.0x migration
make servlet compatible with new layout (not enough)
2015-10-08 19:09:48 +02:00
Eduardo Souza
01f9aad617 [MRM-1861] Proxy behaviour issue migrating from 1.3.x to 2.x 2015-06-11 20:18:45 -03: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
Olivier Lamy
aac7bb95c0 cleanup legacy api test 2015-02-13 09:52:49 +11:00
Olivier Lamy
642ceb3f9e [MRM-1359] remove maven1 code 2015-02-12 23:00:22 +11:00
Olivier Lamy
4374c550e4 add missing dependency 2015-02-11 22:32:54 +11:00
Olivier Lamy
29faf4ed88 fix exception mapping 2015-02-10 22:10:09 +11:00
Olivier Lamy
8753e05338 fix unit test 2015-02-09 22:46:33 +11:00
Olivier Lamy
a115afdbe7 use jaxrs 2.0 2015-02-07 23:02:56 +11:00
Olivier Lamy
1edc02aad9 missing dependency 2015-02-07 22:28:56 +11:00
Olivier Lamy
041a8cc8e0 upgrade to cxf 3.0.3 2015-02-06 23:30:36 +11:00
Olivier Lamy
1040ab6f74 formatting 2015-01-29 16:47:38 +11:00
Olivier Lamy
b141b830d7 formatting 2015-01-14 14:49:36 +11:00
Olivier Lamy
61c83ff3d9 [MRM-1867] Adding a find jar by checksum functionality to the REST api 2015-01-12 17:07:54 +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
Olivier Lamy
d9473241c9 format and debug infos 2014-11-27 15:32:24 +11:00
Carlos Sanchez
5d29c9ff1d [MRM-1848] download links for files multi-dot extensions incorrect in Browse view 2014-11-20 10:26:37 +01:00
Eric Barboni
a1d2414702 MRM-1848 lazy fix for tar.gz 2014-11-19 00:10:53 +01:00
Olivier Lamy
df99049a93 avoid returning empty data 2014-10-15 11:45:44 +11:00
Eric Barboni
e4a7f04a35 add a profile for coverage (jacoco-coverage) 2014-09-30 23:06:57 +02:00
forjsharp
19b4ddd0c8 REST: BrowseServiceTest: Mitigate Stale Item Error 2014-09-21 15:30:02 -07: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
4ec9c4356f re-order test 2014-08-01 14:20:56 +10:00
Brett Porter
8b1e1ffa71 refactor service tests
Split out scan call to be explicit to make it easier to refactor duplicate
sections, then move repeated configuration to before/after methods.

Make sure scanning has finished before operations that might concurrently try
to modify the metadata. This also means we can now verify the deletion of the
repository is successful
2014-08-01 12:51:12 +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
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
Olivier Lamy
e92a96880e line ending 2014-07-17 17:54:44 +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
0c689f9f6f version is mandatory too 2014-05-21 15:19:52 +10:00
Olivier Lamy
ce79d61198 fix context when know repository 2014-05-21 12:09:19 +10:00
Olivier Lamy
89ec8af055 fix context when know repositoryarchiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/AbstractRestService.java 2014-05-21 12:09:03 +10:00
Olivier Lamy
b272a1bc2f [MRM-1843] provide mechanism to obtain the latest version of an artifact
Implements LATEST keyword
2014-05-21 10:12:43 +10:00
Olivier Lamy
511858d4ab more cleanup and fix a TODO :-) 2014-05-20 17:15:45 +10:00
Olivier Lamy
2c09abccbc [MRM-1843] provide mechanism to obtain the latest version of an artifact
add some query validation. ensure we properly change the repositoryId for queries without any repositoryId so result can come from a remote repository index
2014-05-20 16:55:34 +10:00