Olivier Lamy
9bc2b8ae00
fix junit : cleanup ProxyConnectors before each tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135265 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:37 +00:00
Olivier Lamy
e318df26fc
fix junit : ensure file from previous test is deleted, cleanup connectors before/after each tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135264 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:20 +00:00
Olivier Lamy
748a97c62f
fix junit for RepositoryServletProxiedMetadataLocalOnlyTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135187 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 17:27:17 +00:00
Olivier Lamy
1a5b1ab654
forkMode always in webdav module to fix a lot of unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135169 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:48:37 +00:00
Olivier Lamy
1d66415cae
fix unit test for RepositoryServletProxiedTimestampedSnapshotPolicyTest : call setup and tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135142 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:21:11 +00:00
Olivier Lamy
51abcfbcbb
fix unit test for RepositoryServletProxiedPassthroughTest : call setup and tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135141 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:54 +00:00
Olivier Lamy
22ae2288b1
fix unit test for RepositoryServletProxiedMetadataRemoteOnlyTest : call setup and tearDown
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:37 +00:00
Olivier Lamy
c97525b3b6
fix archiva configuration duplicate remote repos during unit tests for RepositoryServletProxiedPluginSnapshotPolicyTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135113 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:22:15 +00:00
Olivier Lamy
1eacae0de2
fix spring configuration for unit test RepositoryServletSecurityTest
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135112 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:21:55 +00:00
Olivier Lamy
cd73ad4d78
fix junit spring configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 09:00:36 +00:00
Olivier Lamy
b55ef5058a
fix junit spring configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135059 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 08:24:17 +00:00
Olivier Lamy
4ebc70a0e6
ensure we save the configuration for restarting applicationcontext with httpunit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134960 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:15:17 +00:00
Olivier Lamy
0ad81d8bc6
use slf4j feature to optimise debug
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134715 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:52 +00:00
Olivier Lamy
877d1d76b4
simplify debug with using slf4j feature with {}
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134713 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:28 +00:00
Olivier Lamy
cd0f9ad6a7
prefer StringBuilder to StringBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134712 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:03 +00:00
Olivier Lamy
2cd4113c6d
upgrade sitemesh struts plugin now tomcat:run works
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134679 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 16:01:52 +00:00
Olivier Lamy
f9e6895b42
fix unit tets configuration
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134603 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:45:41 +00:00
Olivier Lamy
c6b5ed4818
fix some test compilation issues in webapp module : will fix unit later, must compile at least !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134584 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:17:34 +00:00
Olivier Lamy
75ac09e5b5
fix some test compilation issues in webapp module : will fix unit later, must compile at least !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134582 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:55 +00:00
Olivier Lamy
90eed34339
fix some test compilation issues in webapp module : will fix unit later, must compile at least !
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:27 +00:00
Olivier Lamy
8d497e8555
move audit plugin to spring annotations : it looks now mvn tomcat:run -Pdev works !!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134378 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:38:49 +00:00
Olivier Lamy
3d2bbcff6c
correctly set tccl during sisu init
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134351 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:09 +00:00
Olivier Lamy
45b308aab0
align maven api to use maven 3 version
...
temporary comment failing dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134349 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:37:00 +00:00
Olivier Lamy
d9ba2b6814
force spring-jdo version to be used
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134348 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:35:58 +00:00
Olivier Lamy
03accd4ffd
oups miss to add a file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133953 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:55:58 +00:00
Olivier Lamy
c90eea8f1c
remove use of plexus-spring all struts actions are spring beans now. Note still have issues with tomcat plugin and sisu bridge which need an urlclassloader
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133928 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:23:21 +00:00
Olivier Lamy
013b9914d8
fix some unit tests setup in archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 22:12:21 +00:00
Olivier Lamy
1fb61463c8
ensure cleanup datas for other tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133543 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:12:23 +00:00
Olivier Lamy
7d9ef40bf3
fix unit tests in archiva-security
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133465 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:50:23 +00:00
Olivier Lamy
de7890f4a3
fix more unit tests in archiva-security
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133448 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 15:59:41 +00:00
Olivier Lamy
9b142e861d
start fixing spring configuration for unit test in archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133115 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 17:57:33 +00:00
Olivier Lamy
9c55823b96
fix main compilation in webapp module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 16:44:27 +00:00
Olivier Lamy
532dd24896
fix some unit tests initializationError
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1132596 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 11:06:00 +00:00
Olivier Lamy
8ad78e8f02
log when initservers is done
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131451 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 18:01:39 +00:00
Olivier Lamy
0848bc6475
fix some test spring setup for archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 18:01:22 +00:00
Olivier Lamy
dc25b2f5e6
plexus-spring remove , fix test compilation in archiva-webdav
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131428 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 16:30:30 +00:00
Olivier Lamy
fa5bd3e98b
remove of plexus-spring fix compilation in webdav module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131427 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 16:29:52 +00:00
Olivier Lamy
690f450cc7
remove of plexus-spring : fix archiva-xmlrpc-services/
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131365 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:34 +00:00
Olivier Lamy
b917e73f39
fix compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131364 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:09 +00:00
Olivier Lamy
b9f10d6e9b
remove plexus-spring fix archiva-xmlrpc-security
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130305 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 21:11:59 +00:00
Olivier Lamy
09292c0037
[MRM-1473] remove use of plexus-spring
...
fix archiva-rss module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130146 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:27:46 +00:00
Maria Odea B. Ching
3289f9b03b
[MRM-1476] 'Specified key was too long' error during startup when using MySQL databases with UTF8 charset
...
submitted by Greg Michael Meneses
o set default string length to 255 in jpox config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129622 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 11:05:07 +00:00
Olivier Lamy
4abee3dd55
[MRM-1473] remove use of plexus-spring
...
start working on archiva-core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129114 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:20:18 +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
Olivier Lamy
789083836c
[MRM-1473] remove plexus-spring use
...
replace plexus-quartz with spring-quartz
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128404 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:26:26 +00:00
Olivier Lamy
1788eb54c4
[MRM-1473] remove use of plexus-spring
...
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Olivier Lamy
4f0e657361
fix compilation failure now we use standard java.util.concurrent.*
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127588 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 17:23:51 +00:00
Olivier Lamy
971dcc2f35
[MRM-1473] remove use of plexus-spring
...
move archiva-repository-layer to full spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127555 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:31:30 +00:00
Maria Odea B. Ching
af0ae64f42
[MRM-1475] Add proxy connector is broken
...
submitted by Greg Michael Meneses
o removed id attribute in struts property tag in proxy connector form which was removed in struts 2.1.x
o added selenium test for add proxy connector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126927 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 08:37:00 +00:00
Olivier Lamy
02b4b8d6af
[MRM-1473] remove use of plexus-spring
...
start with archiva-configuration and archiva-policies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +00:00
Olivier Lamy
c96411890a
[MRM-1473] remove use of plexus-spring
...
start some changes on archiva-configuration and archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125142 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 22:20:55 +00:00
Brett Porter
c6eac0e151
[MRM-1474] workaround url path mapping problems that rewrites HTML and doesn't detect the path in JavaScript
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1124691 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 11:43:31 +00:00
Olivier Lamy
9221d0e629
doh I have been to fast about excluding plexus-spring : need more job
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1124329 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:28:58 +00:00
Olivier Lamy
9553d302b1
fix 1.5 compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1104563 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 21:18:14 +00:00
Olivier Lamy
874aef16be
fix compilation issue
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103902 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:27:12 +00:00
Olivier Lamy
b781d2f5f7
update plexus-spring groupId
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Maria Odea B. Ching
a5ec5dddc6
merged -r1102210 from 1.3.x branch (MRM-1469)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1102235 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 10:30:23 +00:00
Maria Odea B. Ching
29fae1ed8d
[MRM-1468] added validation for adding a managed repository via xmlrpc + unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100956 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:00:12 +00:00
Brett Porter
adcdfcf3bf
[MRM-1472] some cleanup based on Olivier's comments on the dev list to clarify how to get the tomcat plugin running
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 14:22:41 +00:00
Maria Odea B. Ching
3f96b9c2b6
fixed compile failure in test after upgrade of compiler plugin
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100144 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 09:20:55 +00:00
Wendy Smoak
480eaee429
[MRM-1472] Maven configuration to enable mvn -P dev tomcat:run from the top of the project. Includes moving the application.xml file. Submitted by: Olivier Lamy
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099827 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 14:42:00 +00:00
Maria Odea B. Ching
39ecffa064
fixed cause of selenium test failure from merge in -r1099425
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099671 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 03:03:06 +00:00
Maria Odea B. Ching
8fd13f6d0a
merge -r1098897 from 1.3.x branch (MRM-1468: Fix XSS vulnerability in Archiva, patch submitted by Marc Jansen Tan Chua)
...
additional changes:
o added a factory for action validator manager since ObjectFactory.setObjectFactory(..) was removed in struts 2.1 so the unit tests for validation would work
o fixed conflicts
TODO:
o fix some failing selenium tests due to error 500
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1099425 13f79535-47bb-0310-9956-ffa450edef68
2011-05-04 12:03:29 +00:00
Jevica Arianne B. Zurbano
d72ee0c68b
[MRM-1470] Ability to add a repository relative to Archiva's appserver.base without knowing it's filesystem location
...
* applied patch
Submitted by: Maria Catherine Tan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1097776 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 11:30:08 +00:00
Brett Porter
6566bcaa5e
[MRM-1111] fix xpath after reverting to default freemarker templates
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091636 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:28:45 +00:00
Brett Porter
f004a7a129
don't attempt to delete staging repository if it isn't there
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091635 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:27:48 +00:00
Brett Porter
51b1e5e8a3
cut-and-paste error
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091634 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:19:27 +00:00
Brett Porter
c2e2076916
[MRM-1111] fix xpath after reverting to default freemarker templates
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091633 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:08:42 +00:00
Brett Porter
1b9d78a769
give Cargo some more memory to run the application
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091632 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:05:17 +00:00
Brett Porter
e064cd7f67
accidentally merged Selenium tests that test functionality no longer there
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091631 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 03:03:54 +00:00
Brett Porter
05d32a4578
[MRM-1111] upgrade to Struts 2.1.8.1 - add missing unit testing code to 2 actions
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091476 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:39:17 +00:00
Brett Porter
5b9f93dbe9
[MRM-1111] use default template and caching mechanism now. Old templates were omitting any text from hyperlinks.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091473 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 15:36:18 +00:00
Brett Porter
465c52bdca
[MRM-1111] accommodate that Struts no longer populates the parameters from the action mapping
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091440 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 14:57:09 +00:00
Brett Porter
86ed5afc5c
[MRM-1111] upgrade to Struts 2.1.8.1
...
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter
58d905941b
[MRM-1480]/[REDBACK-274] (CVE-2011-1026)
...
o upgrade to redback 1.2.8-SNAPSHOT
o configured struts2's token interceptor + use of <s:token> in affected actions to prevent CSRF issue
[MRM-1460] added selenium tests for CSRF fixes in affected pages
Merged: r1066067:1091313
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091315 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 07:16:34 +00:00
Brett Porter
76289acb8d
rename metadata-repository-file to metadata-store-file for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086590 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:13:37 +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
Maria Odea B. Ching
28a0b59676
[MRM-1461]
...
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Maria Odea B. Ching
11f0262cdc
[MRM-1453] fixed decimal format to US locale so test wouldn't fail on other locales
...
submitted by Mark Struberg
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064737 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 15:41:06 +00:00
Maria Odea B. Ching
fc3b5a9fa1
[MRM-1452] add ability to delete contents of a repository via xml-rpc
...
submitted by Maria Catherine Tan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064444 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 03:19:09 +00:00
Jevica Arianne B. Zurbano
55d4b5c3af
[MRM-1451] NPE when merging through XMLRPC
...
* applied patch
Patch Submitted by: Maria Catherine Tan
* passed metadataRepository instead of null during merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064082 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 11:17:18 +00:00
Brett Porter
23a09c2024
[MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
...
- updates to other mock repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +00:00
Brett Porter
bf3058dbeb
[MRM-1327] save changes after metadata is added / removed
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053779 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:14:52 +00:00
Brett Porter
8c5de76d3b
Customise settings so that you can debug the cargo instance, and show tests to output as they progress
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053778 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:05:58 +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
f56609efad
[MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter
a44b2ac9dd
cache has moved to a different spring ID - use the default one from the archiva-policies module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052163 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:18:17 +00:00
Brett Porter
091ebb7aea
avoid exception if the scheduler never started
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1052162 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 03:15:17 +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
Brett Porter
badcc9e925
[MRM-1327] add exception handling to the metadata repository implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter
5ce9fd5025
[MRM-1445] disable referrer check by default
...
Merged from: r1049409
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049410 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 04:04:59 +00:00
Brett Porter
458e11fd33
correctly acknowledge September 19
...
Image is derived from http://commons.wikimedia.org/wiki/File:Piratey,_vector_version.svg , which is in the public domain
Merged from: r1043948
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1043969 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 14:02:45 +00:00
Brett Porter
59bc6aa509
fix title, as it is showing amount used, not free
...
Merged from: r1042714
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042715 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:41:05 +00:00
Brett Porter
5285d77732
[MRM-1440] add current time as well, for comparison when troubleshooting captured results
...
Merged from: r1042711
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042712 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:34:52 +00:00
Brett Porter
6b58a6c15c
status page tweaks
...
Merged from: r1042700:1042702
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042704 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:25:19 +00:00
Brett Porter
98d9fea131
[MRM-1442] track time spent in each consumer during a scan, to help diagnose poor scanning performance
...
Merged from: r1042689
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042695 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:03:02 +00:00
Brett Porter
9565cefd5b
[MRM-1440] correct incorrect package name
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042690 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 15:57:12 +00:00
Brett Porter
6897c1f68a
[MRM-1441] add repository scanning details to system status page
...
Merged from: r1042633
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042652 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 14:09:28 +00:00
Brett Porter
c795a64c84
[MRM-1440] add a system status page
...
Merged from: r1042625:1042631
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1042646 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 13:58:34 +00:00
Maria Odea B. Ching
bc56d6353c
[MRM-1097]
...
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem)
o updated unit tests with changes made
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Brett Porter
0452f87c94
slight logging adjustment
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038916 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:23:21 +00:00
Brett Porter
8e9ef5cb4a
small grammar fix
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038903 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 03:38:05 +00:00
Maria Odea B. Ching
031f607b73
[MRM-1303] fixed npe in delete artifact + unit test
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1031518 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 11:22:06 +00:00
Maria Odea B. Ching
421229b886
o fix bug when checking for conflicting artifacts, compare managed repo & staging repo instead of both staging repo
...
o added debug logs
o removed alwaysmatcher for test so we can catch the specific values of passed params
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022813 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:58:49 +00:00
Maria Odea B. Ching
e01a96d5f4
[MRM-1424] Implement WS for creating stage repository
...
submitted by Warner Pinero
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1006162 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:48:48 +00:00
Maria Odea B. Ching
d35e740ca9
[MRM-1409] web services for repository merge
...
submitted by Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 03:50:04 +00:00
Maria Odea B. Ching
e82ce0f0b5
merged MRM-980 branch to trunk
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Maria Odea B. Ching
9baf9de1ce
exclude plexus-spring in redback-struts2-integration as 1.3-SNAPSHOT is being pulled in causing jetty:run to break
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@992227 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 07:52:16 +00:00
Maria Odea B. Ching
7c73d3c9d1
[MRM-1417] add basic managed repository management support on adding repository, deleting repository, and loading repository by id
...
submitted by Catalino Pineda Jr.
additional modification to the patch:
o added invocation of repo mgnt service methods to sample client
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@987042 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 07:15:58 +00:00
Carlos Sanchez Gonzalez
887786e059
Seconds difference could make test fail, compare date differences
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:05:55 +00:00
Jevica Arianne B. Zurbano
8cfd3806cc
[MRM-1394] - Replace the use of clickLinkWithText() with getSelenium().open() for accessing navigation menu pages
...
merge -r 960310:960311 from 1.3.x branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@960322 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 11:27:10 +00:00
Maria Odea B. Ching
4664fef366
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o use successful icon in successful delete
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953620 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 09:27:02 +00:00
Maria Odea B. Ching
a72aeb4d5e
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o do not show add property widget if user does not have repository manager role
o added selenium test for browsing metadata if user is not a repository manager
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@953612 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 08:49:48 +00:00
Maria Odea B. Ching
f5b6dcb189
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added css to add property form
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952527 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 03:47:14 +00:00
Maria Odea B. Ching
a15932eb45
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o updated selenium test for deleting metadata
o added selenium tests for adding generic metadata property
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952174 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 09:56:57 +00:00
Maria Odea B. Ching
a1cfde68ae
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952141 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:45:18 +00:00
Maria Odea B. Ching
f4732a184a
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:20:58 +00:00
Maria Odea B. Ching
f36029359a
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o allow only users with repo manager role to add & delete metadata content
o add archiva-add-metadata and archive-delete-metadata permissions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952136 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:15:53 +00:00
Maria Odea B. Ching
8891e9fdd2
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o removed project metadata custom tag
o enable delete of generic metadata properties
o added unit tests for adding and deleting properties
o clear facet properties read from file before doing the update so that removed facet properties are not retained when updating project version metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952127 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:40:26 +00:00
Jevica Arianne B. Zurbano
a946c2e933
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951347 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 09:51:45 +00:00
Maria Odea B. Ching
652118afbd
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951294 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 06:32:22 +00:00
Maria Odea B. Ching
a82088bc3f
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added validation for adding new properties
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951287 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 05:50:17 +00:00
Maria Odea B. Ching
1794af3da5
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added new facet for generic properties
o display correct metadata in Metadata tab
o add new properties to metadata from UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951239 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:11:25 +00:00
Jevica Arianne B. Zurbano
2ee860c6a0
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
* added mailingLists, licenses, and dependency in test artifact's pom
* added Selenium test for delete of metadata properties (mailing list, dependency, and license)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948793 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 11:54:24 +00:00
Jevica Arianne B. Zurbano
da6e920101
[MRM-1362] [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
* added delete of mailing list, dependency, and license entries
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@948707 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 07:45:06 +00:00
Maria Odea B. Ching
a6063601a8
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
move closing of the list item inside if condition
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947906 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 03:50:26 +00:00
Maria Odea B. Ching
2d781734b6
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o move out util for formatting project metadata to a custom tag
o do not show metadata section name (organization, issueManagement, ciManagement, scm, dependencies, mailing lists, licenses) when they are empty
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947591 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 10:29:58 +00:00
Jevica Arianne B. Zurbano
8d7216a00e
added selenium test to check the artifact page tabs
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947039 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 15:29:49 +00:00
Jevica Arianne B. Zurbano
ef8f63a5ac
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
* modified display of project metadata; added util to format the metadata for display
* modified format of mailing lists in "Mailing List" tab using the previous format of the mailing lists in "Project Metadata"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947020 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 14:22:15 +00:00
Maria Odea B. Ching
bf7d9bb135
merge -c 946618 from 1.3.x branch (MRM-1066)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946631 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:39:44 +00:00
Maria Odea B. Ching
4721ffeaab
fixed missing closing tag
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946110 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 10:35:24 +00:00
Jevica Arianne B. Zurbano
71f252b734
[MRM-1125] - default search should be AND not OR for multiple keywords
...
* applied patch
* added additional unit and selenium tests for quick search
Submitted by: Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Maria Odea B. Ching
d0835d9b5c
merged from 1.3.x branch -r942765 (MRM-621)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@942796 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 15:44:50 +00:00
Maria Odea B. Ching
8f4f8c83e9
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o action methods for updating and retrieving metadata properties
o updated struts config for getting project metadata
o added page for metadata in webapp artifact browse
o added test for getting project metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940775 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 08:54:00 +00:00
Maria Odea B. Ching
47847c95c1
moved getMetadataFile inline
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940398 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:49:48 +00:00
Maria Odea B. Ching
76502a997d
revert consumer name which was accidentally changed in commit -r940163
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940396 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:41:42 +00:00
Maria Odea B. Ching
ced10f5fa5
[MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
...
merge -c 930528 from 1.3.x branch with some tweaks in the unit and selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940163 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 06:13:08 +00:00
Marecor M. Baclay
45db0bf072
[MRM-1276] Selenium tests need a clean up
...
- removed the unnecessary commented out lines
- modified LoginTest to use the methods in abstract class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933824 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 01:02:19 +00:00
Maria Odea B. Ching
dda469036d
[MRM-1372] Outdated instruction for Maven and JUnit still in ReadMe.txt for selenium tests
...
submitted by Patti Arachchige Eshan Sudharaka
o remove instruction for running pom in src/test/it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 06:55:01 +00:00
Marecor M. Baclay
713c937982
[MRM-1276] Selenium tests need a clean up
...
- added license to AbstractArtifactManagementTest class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931478 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:29:51 +00:00
Marecor M. Baclay
ddeaa798b6
[MRM-1276] Selenium tests need a clean up
...
- fixed poor formatting in the source code (tabs, etc) following the Maven Code Style
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:27:05 +00:00
Marecor M. Baclay
45100a8806
[MRM-1276] Selenium tests need a clean up
...
- used getSelenium().open() instead of clickLinkWithText
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931081 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 10:48:51 +00:00
Marecor M. Baclay
b60226f360
[MRM-1276] Selenium tests need a clean up
...
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 06:16:30 +00:00
Marecor M. Baclay
edf2cd3a40
[MRM-1276] Selenium tests need a clean up
...
-transferred the contents of src/test/it-resources to src/test/resources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@928992 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 05:23:07 +00:00
Marecor M. Baclay
286a4ee97e
- replaced the missed hardcoded value with the value in the property file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925151 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:20:14 +00:00
Marecor M. Baclay
8d9c3f7613
- modified the scripts to use a property file(testng.properties) for dotnet artifact's groupId, artifactId and version
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925149 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:13:31 +00:00
Marecor M. Baclay
ac57eadd48
[MRM-1323] archiva webapp tests failed to run in internet explorer
...
Submitted by: Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924673 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 09:25:09 +00:00
Brett Porter
2e9c35d4aa
[MRM-1329] Start to revise Javadoc of APIs
...
- additionally, add projectVersion to the ArtifactMetadata so that the full coordinate is available.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@923520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:21:13 +00:00
Brett Porter
3387b53fca
remove dependency on repository-layer from audit module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00