summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4661: Add UI into java broker web management console to edit broker ↵Alex Rudyy2013-03-204-4/+129
| | | | | | attributes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1458956 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4657: Add UI into java broker web management console to add/edit/delete ↵Alex Rudyy2013-03-184-5/+22
| | | | | | ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4636: expand testing of the new TrustManagersRobert Gemmell2013-03-172-0/+61
| | | | | | | | | | | | | | - Removes the 'app2' cert from the test broker peer store so it only contains the 'app1' cert. - Add a java broker trust store (currently continues to match client trust store, contans the test CA). - Add a java client keystore with a completely untrusted cert. - Add additional unit testing of QpidPeersOnlyTrustManager inc use of otherwise trusted certs, and completely untrusted certs. - Add additional unit testing of QpidMultipleTrustManager and its behaviour when wrapping a regular TrustManager, a QpidPeersOnlyTrustManager, and both at once. - Add system tests showing a client with untrusted SSL cert failing to connect, then succeeding when adding it to the peerStore on the broker. Work by myself and Michal Zerola. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457599 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4636: add 'peersOnly=false' on the 'regular trustStore' for clarity, ↵Robert Gemmell2013-03-142-2/+3
| | | | | | add assertion exclusion on a couple of system tests to get them passing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4593: Remove initial store type command line argument, simplify ↵Alex Rudyy2013-03-141-4/+3
| | | | | | configuration store interface, split json configuration store into memory and json stores git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456473 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596,QPID-4638: Change authentication provider names to shorter names, ↵Alex Rudyy2013-03-135-7/+7
| | | | | | rename Port#AUTHENTICATION_MANAGER into Port#AUTHENTICATION_PROVIDER git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455919 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4639: Add UI to add/delete virtual hosts into java broker web ↵Alex Rudyy2013-03-111-14/+2
| | | | | | management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455274 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4638: Add UI to add/delete/update authentication providers into java ↵Alex Rudyy2013-03-111-89/+9
| | | | | | broker web management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596: remove manipulation of store files, and vhost store type etc.Robert Gemmell2013-03-101-69/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454943 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: misc cleanupRobert Gemmell2013-03-101-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: move the store factory interface beside the other plugin factory ↵Robert Gemmell2013-03-101-1/+1
| | | | | | interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Fixed the typo from sasl_mech to sasl_mechs. This test wasRajith Muditha Attapattu2013-03-071-1/+1
| | | | | | passing (0-10 code path) due to the broker selecting CRAM_MD5. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Added a test case to verify that if mech needs user passwordRajith Muditha Attapattu2013-03-061-0/+24
| | | | | | and if they are not supplied and exception is thrown. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453594 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4596: Add java broker ability to create/delete/update virtual hosts, ↵Alex Rudyy2013-02-275-19/+459
| | | | | | authentication providers and ports via REST interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450881 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4602: Fix broker startup when default log4j configuration is used and ↵Alex Rudyy2013-02-263-16/+54
| | | | | | fix java system tests to pass correctly log4j configuration path to the spawn broker if it contains spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450151 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4593: add command line argument to pass path to initial storeAlex Rudyy2013-02-201-12/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448306 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4390: Introduce a configuration store in java broker allowing runtime ↵Alex Rudyy2013-02-1951-790/+995
| | | | | | modifications and replace existing xml file configuration with json configuration store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312: reduce visibility and narrow argument type for new check methods, ↵Robert Gemmell2013-02-051-24/+17
| | | | | | add some unit testing of config and cleanup IDT systest a little git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312 : [Java Client] add option for verification of queue existence ↵Robert Godfrey2013-02-043-16/+103
| | | | | | during creation of a MessageProducer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4281: Fix setting of log4j configuration in system tests. While testing ↵Alex Rudyy2013-01-247-71/+290
| | | | | | | | the fix, some tests were found to be failing on spawned profile due to config problems - also fixed these. Applied patch from Philip Harvey <phil@philharveyonline.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1438053 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4540 The deletion of the subscription queue is now handledRajith Muditha Attapattu2013-01-161-1/+7
| | | | | | | separately. Enchnaced an existing test case to ensure this is handled properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1434492 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3569: Refactor TransactionTimeoutKeith Wall2013-01-072-13/+8
| | | | | | | | | | | | | * Moved the duplicated transactionUpdateTime member from AMQChannel/ServerSession to ServerTransaction. ** LocalTransaction now maintains advances transactionUpdateTime on each enqueue/dequeue operation ** Other non-transactional ServerTransaction impls return transactionUpdateTime of 0 (as they already do for transactionStartTime). ** Changed LocalTransaction so that transaction start time is recorded on first enqueue or dequeue operation (rather than only first enqueue) * Moved duplicated logic from AMQChannel/ServerSession#checkTransactionStatus to TransactionTimeoutHelper * Make TransactionTimeoutTests use a durable queue so it is actually testing with store transactions. * Removed warnings if operational logging is turned off. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1429726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4318Weston M. Price2013-01-041-0/+120
| | | | | | | | *Added support to QpidConnectionFactoryProxy for Queue/TopicConnectionFactorys *Added simple system test git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428896 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4525: remove the ChannelCloseTest and ChannelCloseOkTest system testsRobert Gemmell2013-01-042-635/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1428774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4502: [Java Broker] Document DLQ/Maximum Delivery Count featuresKeith Wall2012-12-221-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1425377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4512: stop the delete visitor indicating completion upon the first ↵Robert Gemmell2012-12-201-0/+54
| | | | | | matching queue entry, or any for that matter: it needs to check them all. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-111-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1420285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3317 Adjusted the test after adding the exception for marking tempRajith Muditha Attapattu2012-12-071-1/+1
| | | | | | queues as durable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Set the assert property to false when checking if a queueRajith Muditha Attapattu2012-12-071-5/+5
| | | | | | doesn't exist. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Added error handling to cover the cases mentioned in the JIRA.Rajith Muditha Attapattu2012-12-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4483: Add system tests for Sasl authentication in Java Broker web ↵Alex Rudyy2012-11-291-1/+389
| | | | | | management console git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4441: add system test verification of the priority queue and queue with ↵Robert Gemmell2012-11-291-3/+7
| | | | | | DLQ following the store upgrade git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Addressed review commentsRobert Godfrey2012-11-261-2/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Added Java system test for heartbeatingRobert Godfrey2012-11-261-0/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4470: Allow 'maximum queue depth' queue alerting threshold to be set ↵Keith Wall2012-11-251-1/+29
| | | | | | from JMX/AMQP git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4468: restore connection level ssl option to provide compatibility with ↵Robert Gemmell2012-11-251-0/+49
| | | | | | older client configuration, add ability to override brokerlist ssl option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1413364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4420: add documentation for SSL and the Anonymous + External ↵Robert Gemmell2012-11-043-44/+344
| | | | | | AuthenticationManagers along with some general cleanup and expanded testing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1405636 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4389: Send the selector of durable subscriber in arguments of ↵Alex Rudyy2012-10-241-1/+59
| | | | | | ExchangeBind command git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1401515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4298: AMQQueueDeferredOrderingTest should sync after sending the test ↵Keith Wall2012-10-181-6/+6
| | | | | | | | | | | messages * Call AMQSession#sync after the sending of each (non-transactional) message, this is required to avoid spurious test fails on machines that are CPU starved. * Renamed test from testPausedOrder to testMessagesSentByTwoThreadsAreDeliveredInOrder to better reflect the nature of the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1399547 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3317 Modified the code to implement correct behavior for linkRajith Muditha Attapattu2012-10-121-41/+89
| | | | | | | | | bindings. Added unit tests for Address Helper and two specific test cases for verifying link behavior (bindings and customization of subscription queues). Review request : https://reviews.apache.org/r/7412/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-1236-43/+6180
| | | | | | | | | | | | | | | | ServiceLoader-based model rather than embedding Felix to use OSGi. Removed the ability to reload security configuration because this feature is not very useful in its current form and was making our code hard to refactor. Modified all tests to use jars rather than classes. This makes them closer to real-world deployments, e.g. the META-INF/services file is read from within the jar. Also moved various system tests from their respective modules into "systests". This removes the need for most modules to depend on systests, thus simplifying our dependency graph. Applied patch from myself, Keith Wall and Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4352: fix break in ConnectionFactory following SSL truststore/keystore ↵Robert Gemmell2012-10-023-29/+55
| | | | | | | | | password masking in URL toString(). Makes SSLTest use a ConnectionFactory instead of instantiating AMQConnections directly, exposing this issue. Replaces horrible use of an AMQConnectionURL objects in MultipleBrokersFailoverTest and FailoverBehaviourTest (which both broke after this fix) with fully string-generated connection strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393034 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused 'manual non-test' classesRobert Gemmell2012-10-022-532/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1393032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4334: removed the firewall plugin and moved its functionality into the ↵Keith Wall2012-09-282-283/+29
| | | | | | | | Access Control plugin. Applied patch from Philip Harvey <phil@philharveyonline.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4333: remove the Slow Consumer Detection plugin and associated ↵Robert Gemmell2012-09-206-834/+0
| | | | | | | | documentation Work by Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4284: Remove system test dependencies on development and localhost ↵Keith Wall2012-09-176-109/+64
| | | | | | virtual hosts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1386864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4303: FailoverTest sometimes fails on slower CI boxes.Keith Wall2012-09-141-11/+14
| | | | | | | In non-transacted case, test should sync after producing messages in order to ensure that messages are on Broker before consumption begins. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384685 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4292: add ACL rule to authorise access to the web management UIKeith Wall2012-09-101-9/+18
| | | | | | | | | | | * added object name MANAGEMENT to represent both JMX and Web Management layers * Change both JMX/Web entry points to permission access with an access management check * Updated examples and docbook * Made Principals serialised to avoid container warnings when Qpid principals are placed within a HttpSession. Work of Robbie Gemmell <robbie@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4289: Fix 0-8/0-9/0-9-1 failover issuesRobert Gemmell2012-09-104-27/+329
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382799 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-012-8/+77
| | | | | | | | | durable/autodelete/internal options, use the values when sending exchange declares during producer and consumer creation. Fix ExchangeDeclareHandler to set auto-delete properly (though we dont actually support it, and it was removed from the protocol in 0-9-1). Isolate AMQProtocolHandler use to the 0-8/0-9/0-9-1 specific Session/Producer/Consumer implementations that actually need it instead of letting it bleed through the abstraction and 0-10 implementations that dont use it. Add some other clarifying comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379748 13f79535-47bb-0310-9956-ffa450edef68