olivier lamy
4b6131e8ba
take of default now jpa, jdo not exists anymore so handle migration
...
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-26 12:04:44 +10:00
Martin Stockhammer
2cc9dc8b4a
Fix for initialization problems with new spring version
2017-05-21 22:38:21 +02:00
Martin Stockhammer
7e6ad27e07
Centralizing openjpa log config
2017-05-21 22:36:03 +02:00
Martin Stockhammer
46a38451bc
Removing duplicate dependency
2017-05-21 16:19:44 +02:00
Martin Stockhammer
acc02bf962
[MRM-1942] Merge branch 'jpa' into master
...
Removing JDO and add JPA backend.
2017-05-20 23:15:10 +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
olivier lamy
84a1846854
Merge branch 'feature/jetty_9.4'
2017-05-18 13:53:17 +10:00
olivier lamy
7dae8bd546
use last parent for test module
...
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-15 10:28:01 +10:00
olivier lamy
dc97f3ef8c
jetty.xml ready, do not force encoding in encoding servlet
...
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-13 09:02:07 +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
olivier lamy
e9376eeb6d
migrate all tests to jetty 9.4
...
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-12 16:19:41 +10:00
olivier lamy
52147ba057
upgrade to jetty 9.4 for archiva-rest-services module
...
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-11 21:38:51 +10:00
Martin Stockhammer
1acc6e7b84
Adding check path to remote repositories
...
Allow to set a check path for connection checks to the remote repositories.
This is useful for repositories that do not allow to browse the base directory.
Improved the fix for MRM-1933
2017-05-10 21:39:15 +02:00
olivier lamy
10b408249e
avoid null
...
Signed-off-by: olivier lamy <olamy@apache.org>
2017-05-10 21:35:53 +10:00
Martin Stockhammer
889ac84686
Fixing jdk version
2017-05-05 13:20:15 +02:00
Martin Stockhammer
2bf5154f13
MRM-1933, MRM-1940: Fixing repository check
...
Remove trailing slashes from the remote repositories
Use special check paths for certain servers
2017-05-04 00:22:31 +02:00
Martin Stockhammer
de5a585c9b
Change version number for webapptest
2017-04-30 23:16:22 +02:00
Martin Stockhammer
e37ed62098
Synchronizing surefire versions
2017-04-28 22:48:09 +02:00
Martin Stockhammer
d61f68e684
Fixing browse service filter handling
...
Improved handling of slashes at the beginning of filters
Added patterns for surefire tests to ensure the test runs
2017-04-28 22:41:47 +02:00
Martin Stockhammer
0626aa2bde
Going back to version 2.2.3
2017-04-28 00:33:58 +02:00
Martin Stockhammer
9d60ac3832
Fixing redback runtime configuration of list properties
2017-04-28 00:32:24 +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
c48c96d705
Adding additional help texts for config properties
2017-04-21 22:32:15 +02:00
Martin Stockhammer
e367cba9b3
Additional try to fix build problems on ci
2017-04-17 21:44:04 +02:00
Martin Stockhammer
76f733e579
Trying to fix build error on ci server
2017-04-17 21:30:03 +02:00
Martin Stockhammer
b0f22a2469
Fixing locking tests on windows
2017-04-16 22:17:16 +02:00
Martin Stockhammer
151fae7e17
Adding additional information for failing tests
2017-04-16 21:55:35 +02:00
Martin Stockhammer
c29a3426db
Changing webdriver tests to remotewebdriver
2017-04-16 20:34:21 +02:00
Martin Stockhammer
48e76b64bd
Changing selenium version for web tests
2017-04-15 15:52:03 +02:00
Martin Stockhammer
63154d9d38
[MRM-1937] Prevent creation of wrong initial admin
...
Disables the name field for the admin user, when the primary admin
is created.
2017-04-14 20:52:12 +02:00
Martin Stockhammer
94e8342ec0
[MRM-1859] Improve handling of invalid artifacts
...
Throws only exception if all artifacts are invalid.
Ignores resolver-status.properties
2017-04-14 18:45:49 +02:00
Martin Stockhammer
c773e3835c
Adding documentation for snippets
2017-03-21 20:53:10 +01:00
Martin Stockhammer
a981c1847c
Fixing test cases for rest service
2017-03-10 22:09:08 +01:00
Martin Stockhammer
b2ce531fa2
Adding validation token during login
2017-02-12 18:46:37 +01:00
Martin Stockhammer
709ee5bb39
Implementing method after interface change
2017-02-12 18:45:57 +01:00
Martin Stockhammer
fc41a79885
Adding Header check to archiva rest services
2017-01-31 22:56:50 +01:00
Martin Stockhammer
65e04d66ce
Adding Referer Header to REST tests
2017-01-30 22:41:55 +01:00
Martin Stockhammer
dd311845e1
Use JPA as default and only database backend
...
Remove the JDO dependencies and set the JPA implementation as only
database alternative and default implementation. Uses the same database
as JDO before.
2016-12-30 15:35:19 +01:00
Martin Stockhammer
367997a308
Add additional checks for file lock tests
2016-10-27 23:12:12 +02:00
Martin Stockhammer
dfcef53bf9
Add additional checks for file lock tests
2016-10-27 23:10:49 +02:00
Martin Stockhammer
5780110b79
Reverting locking modifications
2016-10-27 17:44:10 +02:00
Martin Stockhammer
4c35ccef7b
Reverting locking modifications
2016-10-27 17:36:27 +02:00
Martin Stockhammer
d380bc6779
Additional improvement for file locks
2016-10-27 12:22:56 +02:00
Martin Stockhammer
40816fc367
Additional improvement for file locks
2016-10-27 12:21:46 +02:00
Martin Stockhammer
8dc5e696d2
Stabilised file lock implementation and tests
2016-10-26 23:33:09 +02:00
Martin Stockhammer
f327eb9b24
Add admin user check after system configuration change
2016-10-26 23:29:11 +02:00
Martin Stockhammer
6dcd84d2db
Add name and cache reset
2016-10-26 23:28:43 +02:00
Martin Stockhammer
14a667c4a0
Change userManager reference for configuration service
2016-10-26 23:28:01 +02:00
Martin Stockhammer
e6950bba28
Add jpa settings to test spring contexts
2016-10-26 23:27:26 +02:00
Martin Stockhammer
99de6268c9
Stabilised file lock implementation and tests
2016-10-26 23:25:50 +02:00
Martin Stockhammer
593d69f52e
Add cache reset after configuration save
2016-10-25 22:43:09 +02:00
Martin Stockhammer
49323248e4
Remove comment
2016-10-25 22:42:39 +02:00
Martin Stockhammer
203de64d19
Fix i18n string for JPA RBac Manager
2016-10-24 22:03:48 +02:00
Martin Stockhammer
60080379a6
Add additional dependency to fix jenkins build
2016-10-23 12:26:07 +02:00
Martin Stockhammer
5b31edc2f8
Another switch to new plugin version
2016-10-22 18:48:49 +02:00
Martin Stockhammer
465a3b731a
Switch to new plugin version to improve jenkins build
2016-10-21 22:34:33 +02:00
Martin Stockhammer
5de7825b42
Fixing wrong checksum files of proxy repositories
...
Fixes https://issues.apache.org/jira/browse/MRM-1926
2016-10-17 22:11:57 +02:00
Martin Stockhammer
2164ef75ca
Merge branch 'master' into jpa
2016-10-16 20:10:06 +02:00
Martin Stockhammer
3fe1000865
Adding isValid() method to authentication classes
2016-10-16 17:18:23 +02:00
Martin Stockhammer
e7143b5e78
Changing transaction handling
2016-10-14 21:40:10 +02:00
Martin Stockhammer
b7174c4440
Adding JPA provider as user manager
2016-10-09 21:20:45 +02:00
olivier lamy
c4596cb591
Merge branch 'pr/28'
2016-10-05 14:31:48 +11:00
olivier lamy
70323bbefb
Merge branch 'pr/27'
2016-10-05 14:30:52 +11:00
Martin Stockhammer
0cc2733ca0
Adding isValid() method to authentication classes
2016-10-04 20:52:25 +02:00
Ciprian Ciubotariu
ef0f29235d
[MRM-1928] Use applicationUrl setting in HTTP redirects
...
Make use of webapp application URL setting when constructing the HTTP
Location header within redirect responses, which allows clients to
follow them when Archiva runs behind HTTP reverse proxies.
2016-10-04 18:12:05 +03:00
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
olivier lamy
229276f8d9
cosmetic :-)
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-27 08:40:37 +10:00
olivier lamy
85be2b77af
simplify code
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-27 08:35:38 +10:00
Martin Stockhammer
712275456c
Adding myself as committer
2016-09-22 21:48:53 +02:00
Dave Brosius
723cf8b2ee
simplify section null checking, and guard against NPEs
2016-09-17 18:48:47 -04: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
d01764bed9
Changing upload permissions using parameter reference
...
Needs the new functionality in the redback annotations.
2016-09-14 21:48:59 +02:00
olivier lamy
e7e84d1bc7
Merge branch 'pr/25'
...
[MRM-1909]
2016-09-14 20:50:40 +10:00
Martin Stockhammer
5bb5f76520
Adding unit test for remote repository check
2016-09-14 10:22:21 +02:00
olivier lamy
c997c883f0
use StringUtils to shorter code
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-09-14 10:51:21 +10: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
bd10f7b8a2
Adding default userAgent system property
...
The default userAgent string used for proxy connections can be configured by
a system property.
2016-09-13 16:46:50 +02:00
olivier lamy
cae55ace9f
Merge branch 'pr/23'
...
[MRM-1924] merge pull request
2016-09-13 10:59:55 +10: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
Martin Stockhammer
0b939e928a
Fixing issue of multiple login requests after logout
...
Resets the event listeners on the login button when the modal dialog is started.
2016-09-08 18:41:13 +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
olivier lamy
5e9cb64d9d
fix javadoc error
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-05-20 12:43:22 +10:00
olivier lamy
6742949ceb
[MRM-1915] remove npanday plugin
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-15 16:51:25 +11: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
95077dba05
enforce version in archetype
...
Signed-off-by: olivier lamy <olamy@apache.org>
2016-03-01 22:08:43 +11:00
Jalal Almutawa
2762496625
Implements JIRA issue MRM-1201
2015-12-20 20:55:12 +03:00
Paul Thompson
5fd14e40c2
Adding alphabetical ordering for blacklist
2015-11-25 10:21:41 +11:00
Paul Thompson
fea0ba1cf4
Adding alphabetical order for the whitelist
2015-11-25 10:21:12 +11: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
Eric Barboni
44093a57de
change to handle new template
2015-11-13 18:00:42 +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
Olivier Lamy
e05ec3d0f3
to help travis build
2015-10-07 14:26:31 +11:00
Olivier Lamy
649b915e81
no need of clean
2015-10-07 13:57:29 +11:00
Olivier Lamy
795d6d3957
make easy testing for archetype
2015-10-07 13:46:19 +11:00
Olivier Lamy
b2ced491a9
ooops fix compilation
2015-10-07 12:19:27 +11:00
Olivier Lamy
a39985692c
ooops fix compilation
2015-10-07 12:08:47 +11:00
Olivier Lamy
b195fa3946
more fix
2015-10-07 12:05:01 +11:00
Olivier Lamy
68acaa287c
revert wrong change
2015-10-06 17:31:51 +11:00
Olivier Lamy
aabbc2d52c
add more mock for consumer archetype test
2015-10-06 17:27:07 +11:00
Olivier Lamy
8c67ef5e75
fix version
2015-10-01 22:11:09 +10:00
Olivier Lamy
aae90d09bf
fix version
2015-10-01 21:43:13 +10:00
Olivier Lamy
4ad5e63c64
more usage of MockRepositorySessionFactory
2015-10-01 16:21:14 +10:00
Olivier Lamy
4ce3140da9
fix issue when using proxy
2015-10-01 16:13:29 +10:00
Olivier Lamy
da1216f734
more usage of MockRepositorySessionFactory
2015-10-01 16:02:49 +10:00
Olivier Lamy
418042acab
more usage of MockRepositorySessionFactory
2015-10-01 15:53:41 +10:00
Olivier Lamy
be4c847d96
more usage of MockRepositorySessionFactory
2015-10-01 15:50:35 +10:00
Olivier Lamy
87ff9f5d3d
more usage of MockRepositorySessionFactory
2015-10-01 15:39:41 +10:00
Olivier Lamy
56f8b575d4
more usage of MockRepositorySessionFactory
2015-10-01 15:07:38 +10:00
Olivier Lamy
d13adfd5ed
more usage of MockRepositorySessionFactory
2015-10-01 15:02:46 +10:00
Olivier Lamy
1127e2afce
use mock in consumer archetype
2015-10-01 14:53:41 +10:00
Olivier Lamy
e62d96a1fa
add a new module with mock for test
2015-10-01 14:51:45 +10:00
Olivier Lamy
4a16f9a586
compilation fix
2015-10-01 09:41:18 +10:00
Olivier Lamy
6484df9d69
fix compilation
2015-09-30 22:26:21 +10:00
Olivier Lamy
4f5c5d6ffd
should help empty repo build
2015-09-25 15:41:39 +10:00
Olivier Lamy
6be428cd2d
compilation fix
2015-09-25 15:25:51 +10:00
Olivier Lamy
73d92ab376
[MRM-1895] upgrade to wagon 2.8
2015-07-22 21:36:48 +10: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
25c2df5590
comment this hackhish dependency
2015-05-31 10:44:30 +10:00
Olivier Lamy
eca16b9686
trying to help sonar
2015-05-31 10:32:44 +10:00
Olivier Lamy
ff1a92ee19
trying to help jenkins build
2015-05-30 22:06:50 +10:00
Olivier Lamy
4649d6b092
align junit version
2015-05-24 22:14:46 +10:00
Eric Barboni
96f390e523
MRM-1892 fix
...
wrong id for pagination div
2015-05-20 01:12:35 +02:00
Olivier Lamy
30444437d1
align surefire version
2015-05-19 22:41:36 +10:00
Eric Barboni
9312b9db70
MRM-1886 bind javascript to tr instead li (change in html)
2015-05-05 02:44:33 +02:00
Olivier Lamy
4354b7beb2
svn stuff not needed anymore
2015-04-01 11:16:05 +11:00
Olivier Lamy
436b117e7f
ensure we test correctly for [MRM-1877]
2015-03-23 15:04:04 +11:00
Olivier Lamy
6317bd9d02
add unit test for [MRM-1877]
2015-03-23 15:00:51 +11:00
Olivier Lamy
a6c73dcde2
use more java 1.7 for file io
2015-03-23 14:57:49 +11:00
Olivier Lamy
81411e352d
[MRM-1877] Checksum files always recreated
2015-03-23 14:31:58 +11:00
Olivier Lamy
f5022a2721
use 1.7 features for files
2015-03-23 14:31:58 +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
Andrey Sysoev
cd245a85f8
Specify using separate caches for different data items (users, keys, namespaces)
2015-02-17 20:11:31 +04:00
Olivier Lamy
9356efc2b1
add unit test for both MRM-935 and MRM-837
2015-02-16 21:59:08 +11:00
Olivier Lamy
bcbe7db70c
[MRM-1359] remove maven1 ui part
2015-02-13 10:07:16 +11:00
Olivier Lamy
aac7bb95c0
cleanup legacy api test
2015-02-13 09:52:49 +11:00
Olivier Lamy
d124802588
test not needed anymore
2015-02-13 09:42:40 +11:00
Olivier Lamy
d533e27ab2
using maven 1 legacy generate 404
2015-02-13 09:42:20 +11:00
Olivier Lamy
1ba1188d64
[MRM-1359] remove maven1 code
2015-02-12 23:41:27 +11:00
Olivier Lamy
073f69fb90
[MRM-1359] remove maven1 code
2015-02-12 23:31:10 +11:00
Olivier Lamy
5b97adf505
[MRM-1359] remove maven1 code
2015-02-12 23:21:00 +11:00
Olivier Lamy
97a44a5820
[MRM-1359] remove maven1 code
2015-02-12 23:09:28 +11:00
Olivier Lamy
642ceb3f9e
[MRM-1359] remove maven1 code
2015-02-12 23:00:22 +11:00
Olivier Lamy
edbc2b762e
[MRM-1359] remove maven1 code
2015-02-12 22:27:49 +11:00
Olivier Lamy
0b22f0e1f8
inherit from parent pom
2015-02-12 21:58:28 +11:00
Olivier Lamy
af6d9ab5c0
cleanup
2015-02-11 22:43:49 +11:00
Olivier Lamy
d3f56e231e
fix junit
2015-02-11 22:43:25 +11:00
Olivier Lamy
28dae86bea
format
2015-02-11 22:34:16 +11:00
Olivier Lamy
4374c550e4
add missing dependency
2015-02-11 22:32:54 +11:00
Olivier Lamy
1feb9a99f6
fix compilation
2015-02-11 21:40:24 +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
623a5f4504
fix changing repository with chrome
2015-01-22 22:20:46 +11:00
Olivier Lamy
66a67966e6
fix toString and upgrade httpclient version
2015-01-16 14:57:28 +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
775f7efbf3
[MRM-1390] Bump version to 2.2.0 in archiva-webapp-test module
2014-12-01 18:01:00 +01:00
Carlos Sanchez
f11f39932a
[MRM-1390] Bump version to 2.2.0
2014-12-01 16:56:43 +01:00
Carlos Sanchez
db8c78d4d7
[MRM-1390] Cassandra: rename Metadata Facet column 'key' to 'facetKey'
...
The column 'key' can't be queried in Cassandra
Probably because 'key' is reserved for the element key or a limitation in Hector
2014-12-01 16:48:31 +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
d9473241c9
format and debug infos
2014-11-27 15:32:24 +11:00
Olivier Lamy
c5e2567516
[MRM-1871] copy List before sorting it
2014-11-27 10:57:27 +11:00
Olivier Lamy
0148a725c7
[MRM-1871] ConcurrentModificationException in DefaultRepositoryProxyConnectors
...
create a copy to avoid ConcurrentModificationException
2014-11-25 09:44:14 +11:00
Carlos Sanchez
eeb51f8c35
Commit f4f7c97
changed the name of metadata facet key and value columns
...
Restore to the previous one
2014-11-24 19:47:57 +01:00
Carlos Sanchez
011f82dc21
Use the same list of ArtifactMetadata column names everywhere
2014-11-24 12:57:22 +01:00
Carlos Sanchez
f4f7c971b6
Use an Enum for Cassandra column names instead of duplicated Strings
2014-11-24 12:34:18 +01:00
Carlos Sanchez
ac641f48d9
Merge branch 'project-properties'
2014-11-24 09:15:00 +01:00
Olivier Lamy
54b2236700
make it clear it is ConcurrentMap so no need of synchronized block
2014-11-24 11:14:32 +11:00
Carlos Sanchez
1f42a01fb0
Remove duplicated cleanup in tests
2014-11-23 21:15:31 +01:00
Olivier Lamy
480825d72b
copy collections to avoid ConcurrentModificationException
2014-11-23 23:02:06 +11:00
Carlos Sanchez
b1838d2e3c
Add pom properties to ProjectVersionMetadata
2014-11-21 20:25:26 +01: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
aa9bfe5eb3
merge branch from Carlos. Thanks mate!!
2014-11-17 10:43:06 +11:00
Carlos Sanchez
63479200ce
Add a AbstractMetadataRepository to remove duplicated code
2014-11-06 13:39:28 +01:00
Olivier Lamy
021bbaf5a1
[MRM-1807] Archiva wrapper fail to start
2014-11-05 21:39:00 +11:00
Olivier Lamy
ae9b109306
upgrade cassandra to 2.0.9
2014-11-01 10:11:17 +11:00
Olivier Lamy
fc29009d8e
1.7 diamond
2014-11-01 10:09:59 +11:00
Olivier Lamy
7c5f1a0acd
jmxPort must be dynamic as well
2014-11-01 10:06:38 +11:00
Olivier Lamy
5b59e0b108
Merge branch 'MRM-813'
2014-10-20 17:08:22 +11:00
Olivier Lamy
69ebec8841
add missing @since, formatting, make fields private
2014-10-20 17:08:01 +11:00
Jonathan Sharp
84c1a1ef0c
Metatada typo fixes
2014-10-18 08:49:18 -07:00
Jonathan Sharp
7c9267111a
MRM-813 tweak APC interface and ADRF AuditEvents
2014-10-17 15:23:47 -07:00
Eric Barboni
aa14083b03
MRM-1863 synchronize link and text link display for repository group ctd
2014-10-16 00:11:34 +02:00
Eric Barboni
5fffc15d6e
MRM-1863 synchronize link and text link display for repository group
2014-10-15 21:46:24 +02:00
Olivier Lamy
dce9401cd3
start fixing issues reported by modernizer maven plugin
2014-10-15 14:10:04 +11:00
Olivier Lamy
df99049a93
avoid returning empty data
2014-10-15 11:45:44 +11:00
Olivier Lamy
56e4a1047e
avoid too much noise
2014-10-15 11:11:51 +11:00
Olivier Lamy
aae1cd8c5a
avoid too much noise
2014-10-15 11:08:06 +11:00
Eric Barboni
ea1e055516
sonar fixes
2014-10-14 21:32:51 +02:00
Eric Barboni
70c6cc2ee4
sonar fixes
2014-10-14 21:31:33 +02:00
Eric Barboni
81655230ae
sonar fixes
2014-10-14 21:30:11 +02:00
Olivier Lamy
a2f7519f28
fix osgi warning
2014-10-14 15:59:00 +11:00
Olivier Lamy
655dd53f58
[MRM-1145] RSS tests do not correctly check responses
2014-10-14 15:59:00 +11:00
Olivier Lamy
31cc47c313
[MRM-1145] RSS tests do not correctly check responses
2014-10-14 15:59:00 +11:00
Olivier Lamy
84d5a61c80
[MRM-1145] RSS tests do not correctly check responses
2014-10-14 15:59:00 +11:00
Eric Barboni
951b9f8ef1
MRM-1811 add alternative pagination for simplegrid
2014-10-14 02:56:36 +02:00
Olivier Lamy
4e331298e4
no need to lookup those beans for each request
2014-10-13 16:35:00 +11:00
Olivier Lamy
70bc09fbb9
make this servlet thread safe!!
2014-10-13 16:19:42 +11:00
Eric Barboni
c2f9100dda
MRM-1865 remove isPermanent flag
2014-10-10 22:41:59 +02:00
Olivier Lamy
2d205906d1
not needed
2014-10-10 22:51:28 +11:00
Brett Porter
f21dcf5ef5
[MRM-1864] use SSL by default for central
...
This matches the default configuration used in the latest version of Maven.
2014-10-09 19:04:26 +11:00
Jonathan Sharp
f3ed08b695
MRM-1810 remove group filter
2014-10-07 18:50:50 -07:00
Jonathan Sharp
448d88877d
MRM-1810 removed properties filter, added i18n help content
2014-10-07 17:42:20 -07:00
Eric Barboni
8385e531c9
MRM-1767 changerepository location missing slash
2014-10-06 22:12:43 +02:00
Eric Barboni
70acb56d0c
MRM-770 Related. Display classifier (use table because of messy alignment with lot of information)
2014-10-03 02:05:01 +02:00
Eric Barboni
cf16df693a
fix error text for MRM-1851
2014-10-01 02:28:28 +02:00
Eric Barboni
fce6ca600c
synchro parent version for it test + bump version
2014-10-01 02:26:40 +02:00
Eric Barboni
e4a7f04a35
add a profile for coverage (jacoco-coverage)
2014-09-30 23:06:57 +02:00
Eric Barboni
705fbd95c4
create a testrule to get a temp folder with a predictible name
2014-09-30 23:06:56 +02:00
Jonathan Sharp
a2d62a3c0b
MRM-1311: Added Loggers to core consumers
2014-09-29 14:46:01 -07:00
forjsharp
19b4ddd0c8
REST: BrowseServiceTest: Mitigate Stale Item Error
2014-09-21 15:30:02 -07:00
Olivier Lamy
c3ef4bfbfb
[MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported
2014-09-15 14:54:08 +10:00
Olivier Lamy
373183554d
spring 4.1.0
2014-09-10 15:09:00 +10: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
Olivier Lamy
d4c85abfac
[MRM-1854] Last modified date is epoch on directory listing for a group
2014-09-01 14:04:41 +10:00
Olivier Lamy
d42a81ac34
format
2014-09-01 13:34:05 +10:00
Olivier Lamy
6ce6511a6c
change immediateFlush to true as users looks to be confused :-)
2014-08-04 21:02:12 +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
2b8f78afe2
take advantage of generic type
2014-08-01 12:48:26 +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
Brett Porter
cd731be98b
unused import
2014-07-31 15:12:29 +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
b0550f3fcf
ensure works from clean repository
2014-07-30 17:27:20 +10:00
Brett Porter
6e1b60e430
update archetype for repository metadata
...
use mocks instead of full implementations for testing, cut down dependencies
2014-07-30 16:33:41 +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
54f97d54cb
fix merge of converters
...
The test files in artifact converter had been adjusted, and need to merge the
spring context. Also make the artifactConverter injection more specific to
avoid picking up those defined for tests
2014-07-30 14:34:42 +10:00
Brett Porter
c329113c52
simplify required namespaces
2014-07-30 13:42:36 +10:00
Brett Porter
30db1698ea
ensure spring context is added to archetype
2014-07-30 13:33:12 +10:00
Brett Porter
c1e27fbd05
remove unused dependencies and imports
2014-07-30 13:22:57 +10:00
Brett Porter
339650b1a7
add generics
2014-07-30 13:22:50 +10:00
Brett Porter
b3804c39b5
remove commented dependency
2014-07-30 12:05:02 +10:00
Brett Porter
2882d9b199
add missing dependency
2014-07-30 12:05:02 +10:00
Brett Porter
732531ebef
ensure archiva-cli is able to run
...
clean up the dependencies used and add some missing configuration form shade
2014-07-30 12:05:02 +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
54e9209fed
fix scan location
2014-07-30 11:52:10 +10:00
Brett Porter
b9920ed0ff
fix package declarations
...
avoid duplicating classes in the produced bundle
2014-07-30 11:46:31 +10:00
Brett Porter
8007a47a3a
merge artifact-converter into converter
...
Large amount of duplicated information and an unnecessary split package
caused duplicates in the produced bundle
2014-07-30 11:46:30 +10:00
Brett Porter
909ad7500b
ensure archetype builds on a clean repository
...
Need to line up several dependencies that got managed differently, and trim
out things no longer needed. This could use a diet in general - there should
not be very much of Archiva's API or dependencies needed to build and test a
consumer.
2014-07-29 18:16:23 +10:00
Brett Porter
9e0abd75f3
remove antrun only used for echo
2014-07-29 16:24:29 +10:00
Brett Porter
482c368d0d
trim POM to required resources
2014-07-29 15:54:42 +10:00
Brett Porter
50e30fef3b
must also populate variables
2014-07-29 15:27:55 +10:00
Olivier Lamy
dc52ac5c79
[MRM-1853] On first start up, you get a perpetual loading indicator.
...
Submitted by Robert David
2014-07-24 12:08:19 +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
Brett Porter
2fd88d2d08
update line endings
2014-07-01 16:11:00 +10:00
Olivier Lamy
79cc8e3948
revert c648adb306
too
2014-06-25 16:33:31 +10:00
Olivier Lamy
7cc7854a26
revert previous commit as 2.x was not affected in fact
2014-06-25 16:27:46 +10:00
Brett Porter
48a42e895a
[MRM-1796] support artifacts larger than 4G
...
[MRM-1796] support artifacts larger than 4G
2014-06-25 16:23:53 +10:00
Brett Porter
c648adb306
[MRM-1796] support artifacts larger than 4G
2014-06-25 16:21:43 +10:00
Olivier Lamy
d93e36e62d
fix unit
2014-06-11 03:02:49 +10:00
Olivier Lamy
2124e24a18
add comment
2014-06-11 02:46:11 +10:00
Olivier Lamy
7972d75082
[MRM-1846] Regression in 2.0.1 : uniqueVersion false not supported
2014-06-11 02:44:41 +10:00
Olivier Lamy
6b1e26c792
fix rat configuration
2014-06-06 11:01:49 +10:00
Olivier Lamy
35eecf18a2
configure cxf logger
2014-06-04 11:54:58 +10:00
Olivier Lamy
e1bad647dd
prevent js error when updating password
2014-05-30 16:28:15 +10:00
Olivier Lamy
fd36bced75
[MRM-1841] "Remember me" not working
...
restore password storage in the cookie.
if remember activated and the cookie is available with a username/password an automatic login will be try
2014-05-23 11:22:18 +10:00
Olivier Lamy
b87e972bff
requirejs 2.1.11
2014-05-23 09:31:33 +10:00
Olivier Lamy
e345bdb2bd
jquery 1.11.1
2014-05-23 09:28:46 +10:00
Olivier Lamy
3276b5e5ea
upgrade jquery cookie plugin to 1.4.1
2014-05-23 09:26:41 +10:00
Olivier Lamy
ef572f80d7
[MRM-1841] "Remember me" not working
...
password not stored anymore
2014-05-21 16:06:21 +10:00
Olivier Lamy
0c689f9f6f
version is mandatory too
2014-05-21 15:19:52 +10:00
Olivier Lamy
d485a99637
[MRM-1843] provide mechanism to obtain the latest version of an artifact
...
test for no content
2014-05-21 14:30:32 +10:00
Olivier Lamy
450a8a3732
[MRM-1843] provide mechanism to obtain the latest version of an artifact
...
oups missed to add test classes
2014-05-21 14:26:03 +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
Olivier Lamy
85047d3bb6
[MRM-1843] provide mechanism to obtain the latest version of an artifact
...
start download api currently redirect
2014-05-20 15:04:47 +10:00
Olivier Lamy
a78b6070bc
display alert image in case of error when checking remote repo
2014-05-19 16:13:26 +10:00
Olivier Lamy
0a1a105b50
[MRM-1841] "Remember me" not working
2014-05-15 15:25:34 +10:00
Olivier Lamy
011e7b0ee8
[MRM-1837] so as it's only prototype we can assume configuration will not change during the use of the bean
2014-05-13 17:08:26 +10:00
Olivier Lamy
08ae7d269f
cleanup
2014-05-06 16:58:48 +10:00
Olivier Lamy
7d3cdeb181
[MRM-1812] Users - Manage section needs Sort by User Name, Sort by Full Name, and Sort by Email buttons
2014-05-06 16:57:38 +10:00
Olivier Lamy
8e8148886b
[MRM-1809] Users - Manage section sort by name doesn't work as expected
2014-05-06 16:12:14 +10:00
Olivier Lamy
3df83d78af
[MRM-1842] Remove per default log4j2 Async Logging
2014-05-06 12:28:44 +10:00
Olivier Lamy
0312f52d7f
[MRM-1836] Make search limit (maxCount) configurable via UI
2014-05-02 15:53:54 +10:00
Olivier Lamy
10a0761768
[MRM-1837] DefaultArchivaConfiguration holds references to classes
2014-05-01 14:29:28 +10:00
Olivier Lamy
7808ee5faf
[MRM-1837] cleanup registry listeners from Archiva Configuration
2014-04-30 17:22:41 +10:00
Olivier Lamy
9bb8edc5c8
use a better name
2014-04-30 16:38:19 +10:00
Olivier Lamy
4d88a4663e
modified file
2014-04-25 21:03:35 +10:00
Olivier Lamy
0c07ad8d5c
complete .gitattributes file
2014-04-24 11:54:01 +10:00
Olivier Lamy
30d380e6b0
make no limit working back
2014-04-24 11:52:24 +10:00
Olivier Lamy
641e04909f
fix unit test for pagination
2014-04-24 11:52:24 +10:00
Sascha Vogt
c52eb2c042
[MRM-1834] Add limit to index search query to prevent unnecessary
...
calculations
2014-04-24 11:52:24 +10:00
Sascha Vogt
6790e2a82f
[MRM-1833] Nullpointer when browsing artifacts which have dependencies
...
with scope "import"
Use the full constructor to create the clone, as resolveModel expects
remoteRepositories to be not null
2014-04-24 11:52:24 +10:00
Eric Barboni
a106ffd8fe
display warning on test failure
2014-04-24 02:53:19 +02:00
Olivier Lamy
79cf366b83
more details
2014-04-22 23:02:35 +10:00
Olivier Lamy
6611fc497b
more log for MRM-1832
2014-04-22 22:52:25 +10:00
Olivier Lamy
9a09994c8c
simply use File implementation as we are now 1.7 required
2014-04-22 12:02:32 +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
Eric Barboni
fe7e671f3b
remove unused package, reduce annotations (value= or locations=)
2014-04-18 01:45:16 +02:00
Eric Barboni
4e9050691b
fix import packages
2014-04-18 01:43:18 +02:00
Eric Barboni
1d929b31fb
jdk7 (multicatch diamond)
2014-04-17 22:13:54 +02:00
Eric Barboni
145c89e731
assert from org.junit
2014-04-17 21:56:19 +02:00
Olivier Lamy
e7bdc98ddb
jackrabbit 2.7.5
2014-04-17 22:25:14 +10:00
Olivier Lamy
2b03379852
[MRM-1210] Dependency tree should include the artifact type
2014-04-17 15:09:15 +10:00
Olivier Lamy
2b4fc98051
try to fix CI failures
2014-04-17 11:22:14 +10:00
Olivier Lamy
2132965397
more code simplification with 1.7 features
2014-04-17 10:46:06 +10:00
Olivier Lamy
0a21a1167f
use same versions
2014-04-17 10:10:15 +10:00
Olivier Lamy
861d8941e7
exception is different in 1.7
2014-04-17 10:08:39 +10:00
Olivier Lamy
bb30140719
using more java.nio.file
2014-04-17 09:57:30 +10:00
Olivier Lamy
b2ebfd6cc2
[MRM-1829] Change default value of of AysncLogger strategy for log4j async
2014-04-17 09:37:38 +10:00
Olivier Lamy
9dcb92bed0
fix wrong assignment
2014-04-17 09:21:27 +10:00
Olivier Lamy
dc91fae5fa
more try with resources
2014-04-16 23:00:24 +10:00
Olivier Lamy
65bcbc9d45
do the same as FileUtils.copyFile do
2014-04-16 19:48:53 +10:00
Olivier Lamy
ec1e655c9d
use Files.copy from java.nio.file
2014-04-16 18:11:38 +10:00
Olivier Lamy
767e00c182
use Files from java.nio
2014-04-16 17:36:01 +10:00
Olivier Lamy
67985e0486
diamond operator
2014-04-16 17:12:51 +10:00
Olivier Lamy
1e2bb57406
diamond operator
2014-04-16 16:15:07 +10:00
Olivier Lamy
2e60a74477
add cassandra profile as described in README
2014-04-16 14:40:25 +10:00
Olivier Lamy
90e775b84b
[MRM-1830] Charset applied to binary repository HTTP responses
2014-04-16 14:32:03 +10:00
Olivier Lamy
afd02f3a13
Revert "[MRM-1828] upgrade to jetty 9.x"
...
This reverts commit a7a2c9130e
.
2014-04-14 15:56:30 +10:00
Olivier Lamy
a7a2c9130e
[MRM-1828] upgrade to jetty 9.x
2014-04-14 14:08:55 +10:00
Olivier Lamy
64187aa84a
add an index for the projectVersionMetadataModel.key column
2014-04-14 12:33:05 +10:00
Eric Barboni
d54c2b5472
fix fuzzy override placing failure on web
2014-04-12 02:14:57 +02:00
Eric Barboni
99117364be
one move for all remaining override annotation
2014-04-11 23:46:35 +02:00
Eric Barboni
d44d957734
Multicatch and override
2014-04-11 23:29:44 +02:00
Eric Barboni
4444ed0e1d
simplify varargs calls
2014-04-11 23:16:01 +02:00
Eric Barboni
f23b74ade7
@Override + Diamond
2014-04-11 02:58:29 +02:00
Eric Barboni
90c5e0eb20
add for loop
2014-04-11 01:25:50 +02:00
Olivier Lamy
d6c28781b0
more diamond
2014-04-10 23:11:38 +10:00
Olivier Lamy
047b7ad17e
fix CME
2014-04-10 16:44:51 +10:00
Olivier Lamy
5fa4ceb731
more diamond
2014-04-10 16:36:21 +10:00
Olivier Lamy
03601570ef
my bad fix compilation
2014-04-10 14:36:30 +10:00
Olivier Lamy
0bb58b73ab
fix idea warning
2014-04-10 14:27:45 +10:00
Olivier Lamy
25c1e7e9a4
fix archetype compiler target/source
2014-04-10 14:12:45 +10:00
Eric Barboni
edb1bd05da
add @Override (git test)
2014-04-10 04:28:49 +02:00
Eric
d56c43d4df
Merge origin/master
2014-04-10 04:15:00 +02:00
skygo
e4514664f4
alapacas upper speech bubble connected properly
2014-04-10 04:13:37 +02:00
Olivier Lamy
d9de8dc7af
use diamond operator
2014-04-10 11:43:11 +10:00
skygo
ddf5842837
IE will use the last available MRM-1826
2014-04-10 03:36:40 +02: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
6b9da927e4
start using try with resources
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585697 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 12:03:38 +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
0cbea898cd
cassndra part of the build in default profile as we are now 1.7
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585069 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:56:24 +00:00
Olivier Lamy
3c6e3a1cb6
consumer with an empty looks to build now
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583989 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 12:12:24 +00:00
Olivier Lamy
2f615b05d5
an other try to fix consumer archetype build
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583961 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 10:41:06 +00:00
Olivier Lamy
fb60a8efdf
try again to fix this consumer with empty repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583886 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 06:08:01 +00:00
Olivier Lamy
849fcd958c
try to ensure consumer archetype will build with an empty repo so force local download of antrun plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583884 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 05:39:19 +00:00
Olivier Lamy
6cd50e9737
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583875 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 04:36:08 +00:00
Olivier Lamy
668d12030b
invalidate namespace cache when deleting a repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583869 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 04:04:10 +00:00
Olivier Lamy
56696b4bd8
fix cache invalidate when deleting a groupId
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583868 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 04:04:00 +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
f9c01084da
fix comment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583866 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 03:55:10 +00:00
Olivier Lamy
abdad59483
add comment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583849 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 01:29:07 +00:00
Olivier Lamy
638f9baba8
fix jdk1.8 build
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583508 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 01:45:38 +00:00
Olivier Lamy
b2c8f9e299
align versions with current archiva build to be able to build with empty repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583502 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 00:52:44 +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
2a825b92d2
add license header
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583232 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 01:30:49 +00:00
Olivier Lamy
0bcd8bb3e1
more unit tests fixes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583231 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 01:30:41 +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
ddfbb1c41e
fix unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583229 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 01:30:16 +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
946557f164
more metadata store cassandra to cassandra profile as need 1.7 dependency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 11:43: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
d4aee19ee6
fix @since
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582570 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:40:17 +00:00
Olivier Lamy
09942a03e5
add missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582250 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:47:21 +00:00
Olivier Lamy
90d0b07393
add a bit of caching here at least for released version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582203 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:02:33 +00:00
Olivier Lamy
779890ebd9
ease override of cassandra.host/port
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582201 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:02:18 +00:00
Olivier Lamy
cdd0df057c
missed to add new files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582200 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:02:12 +00:00
Olivier Lamy
1601891042
the repository session factory is now configurable via a sysprops
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582199 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:02:01 +00:00
Olivier Lamy
bb79c82aab
fix facet creation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582198 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:01:50 +00:00
Olivier Lamy
5719fa8827
format code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582197 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 06:01:41 +00:00
Olivier Lamy
5a1a064f75
take care of null values
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582119 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 23:27:58 +00:00
Olivier Lamy
a80ae95cc8
better with adding the default file...
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582095 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 22:27:08 +00:00
Olivier Lamy
7d1c504705
extract cassandra configuration in a configuration file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582094 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 22:27:02 +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
e7b4016303
more cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581703 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:02:18 +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
07bae44727
fix naming
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581701 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:51 +00:00
Olivier Lamy
591771c0c4
fix naming
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581700 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:42 +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
3c0c99a9f2
fix deleting a project -> remove all artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581698 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 06:01:20 +00:00
Olivier Lamy
96a526be48
fix parent version for modules not part of release
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581642 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:41: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
509e72be48
implement cassandra record of dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581638 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 02:40:51 +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
752e82b216
add comment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581289 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 10:16:50 +00:00
Olivier Lamy
d0574235c6
archetype test must be fast as we already have all artitfacts locally!!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581258 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:36:14 +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
306610e853
use the same naming convention for those methods
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581255 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:43 +00:00
Olivier Lamy
261ff2b4b2
correct cleanup of mailing list table
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581254 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28: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
4ac873046d
record mailing lists in Cassandra
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581252 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:28:03 +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
a7f93fed10
simplify as we need all columns
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581250 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:36 +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
ccade5dd86
map simple object
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 06:27:18 +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
2784f0068c
fix removeArtifact
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580765 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:16:25 +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
e4f454dd78
fix removeArtifact
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580763 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:58 +00:00
Olivier Lamy
4b7e439132
fix deleting project version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580762 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:44 +00:00
Olivier Lamy
d18ba9ef21
cleanup code
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580761 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 06:15:34 +00:00
Olivier Lamy
869291b351
fix retrieving facets
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580743 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:24 +00:00
Olivier Lamy
043624f052
fix retrieving versions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580742 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:14 +00:00
Olivier Lamy
b472313682
fix project version metadata
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580741 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:55:04 +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
6f73874474
small optim as no need to continue querying here
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580721 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:18:00 +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
7d10f63b87
use directly query filtering
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580694 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:37:12 +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
72ddf2322f
fix name and cleanup pom
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580692 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:45 +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
fddb0ca9cf
fix truncating datas in unit and wrong StringUtils usage
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580690 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:21 +00:00
Olivier Lamy
c6afb274c0
add NPE check
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580689 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:36:04 +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
Olivier Lamy
63938bfb47
fix facets add/update
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1580687 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 01:35:36 +00:00
Olivier Lamy
c2146116d5
fix retrieving a project
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:46 +00:00
Olivier Lamy
86ad13939a
NPE check!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579885 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:37 +00:00
Olivier Lamy
01b3328e2b
fix retrieving ArtifactMetadata with null date
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579884 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:24 +00:00
Olivier Lamy
8c88e1f446
fix project deletion
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579883 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 04:57:15 +00:00
Olivier Lamy
e72bb0a3a2
more impl still far from 0 failures :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579831 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:24:15 +00:00
Olivier Lamy
66a1220073
ProjectVersionMetadataModel to use Hector
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579830 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:24:06 +00:00
Olivier Lamy
e016747888
more impl with Hector
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579829 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:56 +00:00
Olivier Lamy
c3bb4dc714
fix removeProject
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579828 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:44 +00:00
Olivier Lamy
6e362e8235
change the column name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579827 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:33 +00:00
Olivier Lamy
633b14e20d
this id field is not anymore needed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579824 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:23:07 +00:00
Olivier Lamy
a0eb0b968e
this id field is not anymore needed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579823 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:59 +00:00
Olivier Lamy
2e2090deac
start moving project data handling to hector
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579822 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:50 +00:00
Olivier Lamy
f995680a81
more cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579821 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:38 +00:00
Olivier Lamy
ce3de6a664
some cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579820 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:31 +00:00
Olivier Lamy
50cb8970ef
move cassandra to simply use hector client: start with repositories and namespaces
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579819 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:20 +00:00
Olivier Lamy
44880ea190
use a better name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1579817 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 23:22:05 +00:00
Olivier Lamy
3b607ba020
fix unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1578848 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 12:42:21 +00:00
Olivier Lamy
b32dd52142
more cleanup pom
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1577099 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 10:41:34 +00:00
skygo
1be3b5a974
clean up override package-info
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1576503 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 21:08:05 +00:00
skygo
1cd76e8df6
oups forget to delete
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1575367 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 18:46:46 +00:00