summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4512: stop the delete visitor indicating completion upon the first ↵Robert Gemmell2013-01-081-0/+54
| | | | | | | | | matching queue entry, or any for that matter: it needs to check them all. merged from trunk r1424757 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1430319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-131-0/+20
| | | | | | | merge from trunk r1420285 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1421322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4483: Add system tests for Sasl authentication in Java Broker web ↵Robert Gemmell2012-12-041-1/+389
| | | | | | | | | management console merged from trunk r1415148 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1417140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4441: add system test verification of the priority queue and queue with ↵Robert Gemmell2012-12-041-3/+7
| | | | | | | | | DLQ following the store upgrade merged from trunk r1415127 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1416987 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Restore heartbeating functionality to the Java Broker, and the ↵Robert Godfrey2012-11-281-0/+116
| | | | | | | | 0-8,0-9,0-9-1 Java Client merge from trunk r1413376,1413539,1413549,1413567 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414927 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4468: restore connection level ssl option to provide compatibility with ↵Robert Gemmell2012-11-281-0/+49
| | | | | | | | | older client configuration, add ability to override brokerlist ssl option merge from trunk r1413364 git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.20@1414870 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
* QPID-4242 : [Java Broker] Remove QMFv1 implementationRobert Godfrey2012-08-291-31/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1378496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4250: ensure producer creation on 0-8/0-9/0-9-1 connections respects ↵Robert Gemmell2012-08-262-29/+97
| | | | | | the qpid.declare_exchanges system property. Add systest to highlight the issue and verify the fix. Add constants for the system properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377521 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4236, QPID-4237, QPID-4245: Added group management functionality, and ↵Robert Gemmell2012-08-243-27/+32
| | | | | | | | | | | | | | | | | | | exposed it via the web management interface. Removed group definition functionality from the ACL plugin. The ACL plugin uses groups but no longer defines them. Introduced SubjectCreator as a facade to AuthenticationManager and group management classes. Applied access control to user and group management. Fixed bug in choosing between update and creation in RestServlet. Moved lots of RestTest helper methods to RestTestHelper. Fixed authentication, authorisation, and status logging when using the web ui. Applied patch from Philip Harvey <phil@philharveyonline.com>, Keith Wall and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1376968 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove unused manual test classRobert Gemmell2012-08-141-277/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4124: Improved logging that is produced when the various transaction ↵Robert Gemmell2012-07-311-1/+1
| | | | | | | | timeouts are exceeded. Remove duplication of messages and reorder logging/closing. Work by myself, Keith Wall, Phil Harvey. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367522 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4164: Patch to extend MaxDeliveryCountTest to check for this bugKeith Wall2012-07-301-53/+21
| | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3575Rajith Muditha Attapattu2012-07-161-1/+1
| | | | | | | | The added a system prop to revert to the previous behavior if need be. Modified the SelectorTest#testRuntimeSelectorError test case to suit the new behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4109: Re-enable LoggingManagement MBeanKeith Wall2012-07-051-1/+3
| | | | | | | | | | | | | * Re-wire up LoggingManagementMBean. * Centralise log4j specific functionality into LoggingFacade class (moving implementation from LoggingManagementMBean and QpidLog4JConfigurator together). * Implement unit-tests for MBean and Facade levels. Reenforce units tests with system tests testing logging management end to end. * Changed QpidBrokerTestCase so that log4j.configuration is _always_ used to obtain the log4j config file regardless of whether test type is spawned or internal (previously log4j.configuration was respected only for internal tests). This was require to be able to write a logging management system test that could safely change the contents of the log4j config without running the risk of effecting other tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4104: Create and bind second queue in test ↵Keith Wall2012-07-041-0/+1
| | | | | | | | StoreOverfullTest#testCapacityExceededCausesBlockTwoConnections Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1357292 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-023-22/+22
| | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4099: Fix race condition in test ↵Keith Wall2012-06-291-1/+4
| | | | | | FailoverBehaviourTest.testFlowControlFlagResetOnFailover git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355449 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3998, QPID-3999, QPID-4093: add new management plugins for ↵Robert Gemmell2012-06-2818-2338/+149
| | | | | | jmx/rest/webui functionality, partial merge from the java-config-and-management branch at r1355039 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4091 : [Java Broker] correct handling of dtx set timeoutRobert Godfrey2012-06-271-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1354728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4081: [Java Tests] Applied patch supplied by Alex RudyyRobert Godfrey2012-06-224-2/+112
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1352838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4062 : [Java Tests] Java system tests sometimes fail due to JMX port ↵Robert Godfrey2012-06-123-13/+59
| | | | | | already initialised (Applied patch from Philip Harvey git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1349443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4042 : [Java Broker] Add SSL Client Auth supportRobert Godfrey2012-06-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4009, QPID-4017: exclude new 0-8/0-9/0-9-1 and/or Java broker specific ↵Robert Gemmell2012-05-291-0/+7
| | | | | | tests from the CPP test profile to resolve the CI failures git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4029: add ability to selectively include a protocol version on a given ↵Robert Gemmell2012-05-292-15/+131
| | | | | | port, overriding an exclusion on the same port or it being disabled on all ports. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4017: reset the session flow control blocked status during failover.Robert Gemmell2012-05-291-0/+87
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4009: Make failover method invocation timeout configurable for ↵Robert Gemmell2012-05-291-0/+88
| | | | | | | | 0-8/0-9/0-9-1 amqp clients Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343677 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986: Improved tests and resolved some potential thread-safety issuesRobert Gemmell2012-05-292-58/+221
| | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343675 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4023: restore connection URL setter, add check that URL details have ↵Robert Gemmell2012-05-281-1/+18
| | | | | | been set before calling connect(), add unit+sys test to verify operation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: add support for using BDB HA to form an active-passive cluster ↵Robert Gemmell2012-05-175-86/+110
| | | | | | | | | | | for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] add ability to configure multiple ↵Robert Godfrey2012-05-171-0/+109
| | | | | | Authenticationmanagers and map different AuthenticationManagers to different ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3990: Multiple XAResources isSameRM behaviorWeston M. Price2012-05-142-11/+129
| | | | | | | | | *Track XAResource siblings in start/end methods *Added AMQXAResource interface *Added systemtest for new XAResource behavior *Refactored XAResourceTest to extend AbstractXATest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3979: [Java Broker] Conflation queuesKeith Wall2012-05-111-117/+283
| | | | | | | | | | Fix bug with checking of head() within the loop that would have prevented a queue entry from being conflated. Refactor code introducing more special Queue Entry to represent the corner cases. Added systest that exercises a conflation queue with multiple producers/single consumer. Applied patch by Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3980: Last Value Queue: Replaced conflation queue entries are never ↵Keith Wall2012-05-091-70/+43
| | | | | | deleted (entries remained acquired permanently) causing leak. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1336026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3988 : Fix spurious test errors caused by change in log4j ↵Robert Godfrey2012-05-091-36/+29
| | | | | | ConsoleAppender behaviour between 1.2.12 and later versions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335972 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Add producer flow control based on total disk usageRobert Godfrey2012-05-071-0/+347
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3864: add missing licence headers to files in the java tree that are ↵Robert Gemmell2012-04-192-0/+40
| | | | | | included in 0.16 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327905 13f79535-47bb-0310-9956-ffa450edef68