summaryrefslogtreecommitdiff
path: root/qpid/java/systests/src/main
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5851: [Java Broker] Introduce new test profiles for JSON configuration ↵Alex Rudyy2014-06-264-9/+21
| | | | | | store and persistent message store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605697 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker Tests] Add test checking the ability to delete (i.e. ↵Keith Wall2014-06-251-0/+26
| | | | | | | | close) a messaging connection from the management layer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5825: Changes to address some review comments for initial commitAndrew MacBean2014-06-192-4/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603914 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5811: logging to assist investigation of test failuremacbean2014-06-101-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Unregister children MBeans on Virtual Host Node stopAlex Rudyy2014-06-091-5/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5803: [Java Broker] Add ability for the virtualhostnode to create a ↵Keith Wall2014-06-078-83/+93
| | | | | | | | | | virtualhost using a blueprint supplied by context variable * This commit reenables the SplitStoreTest. * The UI has not been refactored by this commit, so it will not be possible to create a non-HA virtualhost from the UI (the UI will create only a virtualhostnode).. REST API is okay. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker] Remove the now redundant ↵Keith Wall2014-06-074-75/+10
| | | | | | MessageStore/DurableConfigurationStore factories git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Introduce separate VirtualHost typesKeith Wall2014-06-066-10/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5802: [Java Broker] Temporarily remove the slow message store and quota ↵Keith Wall2014-06-068-1193/+0
| | | | | | | | message store test implementations and the tests that rely on them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5800: [Java Broker} Refactor MessageStore implementations extracting a ↵Keith Wall2014-06-064-11/+9
| | | | | | MessageStoreProvider interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1600931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5798: [Java Broker Tests] Intermittent failure of FailoverBehaviourTest ↵Keith Wall2014-06-031-1/+6
| | | | | | | | due to race condition within test Work by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599809 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Add new attributes for transaction sync policies into BDB HA ↵Alex Rudyy2014-05-271-0/+15
| | | | | | | | | | | | virtual host, remove 'coalescingSync' attribute from BDB HA virtual host node and always use coalescingSync with replicated environment, change attribute 'durability' of BDB HA virtual host node into derived attribute, delegate bdb je transaction creation to EnvironmentFacade, with ReplicatedEnvironmentFacade crate transactions with durability having virtual host transaction sync policies and ack mode 'SIMPLE_MAJORITY'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597801 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker Tests] Fix race condition in TransactionTimeoutTests ↵Keith Wall2014-05-261-26/+23
| | | | | | | | meaning observations of test members could yield NPE * Reordered so that the exception listener's latch is decremented only after members for linked exception message and linked exception code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: On virtual host node deletion delete virtual host first, in order ↵Alex Rudyy2014-05-241-0/+109
| | | | | | to allow listeners to hear virtual host deletion. JMX Management needs to unregister virtual host MBean on host deletion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1597340 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: Workaround sporadic test failure.Keith Wall2014-05-211-6/+4
| | | | | | It seems sometimes the JMX Plugin's RMI sockets are closed (by the RMI TCP Accept thread) *after* the Broker has stopped. I can't find a way to avoid this issue. Work around by awaiting the ports to become free within the test. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5779: [Java Broker] JMX plugin's server sockets should set the ↵Keith Wall2014-05-211-2/+2
| | | | | | SO_REUSEADDR socket option - defect fix - set socket option *before* port is bound git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-211-3/+3
| | | | | | | | | | * Add state transition tests for BDBHA virtualhostnode / virtualhost * Prevent the BDBVHN activating the VH (this is now a responsibility of attain desired state) * BDBHARemoteReplicationNode use state UNAVAILABLE in the case where the remote node is not MASTER or REPLICA. Work by Andrew MacBean <andymacbean@gmail.com> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-203-32/+84
| | | | | | | | | * Changes in virtualhost state are now persisted to store. * VirtualHostState eliminated. The PASSIVE state used when a BDB HA Virtualhost is in replica is replaced by UNAVAILABLE. Work by me and Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596281 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Add extra assertions to PortRestTest to help ↵Keith Wall2014-05-201-3/+12
| | | | | | investigate sporadic test failure on some CI environments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596269 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5766: Intitialisation of StatisticsCounter objects can lead to NPE.Keith Wall2014-05-161-0/+5
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1595155 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix Virtual Host MBean creation in JMX management pluginAlex Rudyy2014-05-151-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Make virtualhostnode respect states ACTIVE and STOPPEDKeith Wall2014-05-153-0/+197
| | | | | | | | | | * Added test to ensure that the VHN can transit between ACTIVE <=> STOPPED * Fixed defect whereby the VHN could not be recovered in the STOPPED state. Added test case. * Fixed defct whereby on stopping a VHN, the DurableConfigurationStore would be left open. Work by me and Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-087-34/+73
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5746 : [Java Broker] Split attribute annotations into separate ↵Robert Godfrey2014-05-029-24/+58
| | | | | | annotations for derived and automated, and allow derived attributes to be persisted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Move management REST API under /api/latest and auxiliary REST ↵Alex Rudyy2014-05-0236-441/+427
| | | | | | services under /service git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : [Java Broker] Use annotation to allow registration of all ↵Robert Godfrey2014-04-3020-95/+95
| | | | | | ConfiguredObject types at startup. Use this meta data for REST servlets. Remove unnecessary pluggable factory interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5727: Prevent test failure in test environments already using the ↵Keith Wall2014-04-292-2/+7
| | | | | | | | default HTTP management port (8080). Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Address Review comment from Keith Wall re: r1589912Robert Godfrey2014-04-281-7/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590699 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5634: Remove virtualhost level attribute, securityAcl, which was made ↵Keith Wall2014-04-251-2/+1
| | | | | | obsolete by this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Make TaskExecutor an interface and provide a test-only current ↵Robert Godfrey2014-04-253-11/+7
| | | | | | thread implementation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590044 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Change test utility method for virtual host configuration store ↵Alex Rudyy2014-04-251-0/+8
| | | | | | creation to wipe out the store folder before creation a store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1590003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : Ensure correct error code is returned when a queue is declared ↵Robert Godfrey2014-04-251-1/+18
| | | | | | with an unknown alternate exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589912 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5702: upgrade JUnit dependency from version 3.8.1 to 4.11, change ↵Robert Gemmell2014-04-2210-23/+23
| | | | | | | | imports etc to remove deprecation notices Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589144 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Broker] Remove now dead recovery/dependency resolution classesKeith Wall2014-04-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Add virtual host node to the model and refactor ↵Keith Wall2014-04-2126-446/+492
| | | | | | existing broker functionality to conform the new model. Save configuration model version as VHN attribute and refactor the upgraders and configuration recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5713 : [Java Broker] Remove non-test references to model singleton, and ↵Robert Godfrey2014-04-201-7/+10
| | | | | | instead treat as an instance variable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5712 : [Java Broker] Remove VirtualHostRegistry and remove redundant ↵Robert Godfrey2014-04-202-14/+1
| | | | | | maps from BrokerAdapter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5578 : [Java Broker] Remove DurableConfigurationStoreHelper as it no ↵Robert Godfrey2014-04-181-2/+2
| | | | | | longer does anything useful git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5710 : [Java Broker] Use common creation/recovery mechanism for QueuesRobert Godfrey2014-04-185-42/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588468 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5710 : [Java Broker] Remove AMQQueueFactory and QueueRegistryRobert Godfrey2014-04-171-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5580 : [Java Broker] Introduce explicit type hierarchy for queues in ↵Robert Godfrey2014-04-175-34/+42
| | | | | | the ConfiguredObject model git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588234 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5709 : [Java Broker] Replace exchange registry / factory with use of ↵Robert Godfrey2014-04-174-38/+54
| | | | | | common configured object mechanism for registration of children git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1588126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5698 : [Java Broker] make the durable attribute automated, remove ↵Robert Godfrey2014-04-141-1/+1
| | | | | | unused setters git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5685: Store configuration version as an attribute of virtualhost within ↵Keith Wall2014-04-141-5/+2
| | | | | | | | | | | | configuration store rather than within separate database/table * ConfiguredObjectRecordHandler begin/end methods no longer take/return config version * DefaultUpgraderProvider uses the virtualhost record for the config version only and uses this to trigger the correct upgrade. Note this record is *not* recovered (yet). * BDB/SQL Upgraders migrate the config version from database/table to be the modelVersion attribute of a virtualhost entry. * BDB Upgrader tests (7 to 8). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5690 : [Java Broker] Improve mechanisms for validating and reacting to ↵Robert Godfrey2014-04-132-3/+3
| | | | | | changes in configured object attribute values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587123 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5687 : [Java Broker] change to explicitly use the port in a connection ↵Robert Godfrey2014-04-131-3/+7
| | | | | | url, and avoid the issue of differing vhosts in the test config and initial config (revert last commit 1586942 and modify correct file instead) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586944 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5687 : [Java Broker] fix the initial config store to use "type" not ↵Robert Godfrey2014-04-132-8/+35
| | | | | | "pluginType", add a test that checks the broker will startup with no config store. Change the handling of ${amqp.qpid_port} and friends to allow setting through system properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5686 : [Java Broker] Make handling of parents of ConfiguredObjects ↵Robert Godfrey2014-04-121-1/+3
| | | | | | consistent; perform some refactoring of AbstractConfiguredObject to move functionality into helper classes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5680 : [Java Broker] remove configuration defualt mapsRobert Godfrey2014-04-114-32/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586783 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5680 : [Java Broker] move configuration defualts to annotationsRobert Godfrey2014-04-115-56/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586683 13f79535-47bb-0310-9956-ffa450edef68