summaryrefslogtreecommitdiff
path: root/qpid/java/bdbstore/systests/src/main
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5989: [Java Tests] Relocate system test classes to beneath src/test/javaKeith Wall2014-08-129-2938/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617503 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5967: Fix BDB HA VHN system testsAlex Rudyy2014-08-121-13/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5988: [Java Broker] Default VHN/VH store paths to path location based ↵Keith Wall2014-08-111-22/+0
| | | | | | on QPID_WORK git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5967: Set permitted nodes on a replica from application state of a ↵Alex Rudyy2014-08-111-0/+2
| | | | | | master node git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5967: Intruder node detection must be mandatory and should validate all ↵Alex Rudyy2014-08-063-7/+65
| | | | | | necessary arguments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616186 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5926: [Java Broker] When transitioning from STOPPED to ACTIVE the ↵Keith Wall2014-07-311-2/+32
| | | | | | virtualhost re-recovers children beneath it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5885: [Java Broker] Virtualhostnode to replace real virtualhost with ↵Keith Wall2014-07-081-12/+8
| | | | | | replica virtualhost in the event that the BDB HA goes into detached state git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608956 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5875: Fix intruder protection system testAlex Rudyy2014-07-041-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5867: Add intruder protection functionality for a cluster of BDB HA ↵Alex Rudyy2014-07-041-4/+56
| | | | | | virtual host nodes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607772 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: [Java Tests] BDB tests - prevent sporadic test failure from quorum ↵Andrew MacBean2014-06-261-38/+36
| | | | | | | | override test. Work by Keith Wall <kwall@apache.org> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605819 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5821: [Java Broker] Refactor MessageStore and DurableConfigurationStore ↵Andrew MacBean2014-06-261-0/+1
| | | | | | | | | | interfaces to remove message store settings map. VirtualHost model objects now have attributes. Work done by Keith Wall <kwall@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605737 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5822: [Java Broker] Replace low level BDB/JDBC attributes in fovour of ↵Keith Wall2014-06-181-3/+4
| | | | | | | | | | context variables from the model * BDB attributes environmentConfiguration/replicatedEnvironmentConfiguration removed. User can now specify context variables with the configuration keys that are understood by JE itself. * JDBC attributes bigIntType/bytesForBlob/varBinaryType/blobType are now context variables with names begining qpid.jdbcstore. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603655 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Move coalescing commiters into environment facades. Flush logs ↵Alex Rudyy2014-06-091-8/+8
| | | | | | for not completed commit futures if commit task is stopped git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Use coalescing sync committer for message store transactions only ↵Alex Rudyy2014-06-031-9/+11
| | | | | | when syncronization policy SYNC is set for local transactions in BDB HA virtual host git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Add new attributes for transaction sync policies into BDB HA ↵Alex Rudyy2014-05-272-14/+117
| | | | | | | | | | | | 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
* QPID-5715: [Java Broker] Make virtualhosts respect the states ACTIVE and STOPPEDKeith Wall2014-05-211-0/+126
| | | | | | | | | | * 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-202-8/+6
| | | | | | | | | * 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
* QPID-5715: On BDB HA virtual host node deletion invoke ↵Alex Rudyy2014-05-201-0/+66
| | | | | | ReplicationGroupAdmin#removeMember to remove node from the group git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596273 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Fix Virtual Host MBean creation in JMX management pluginAlex Rudyy2014-05-155-33/+303
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: BDB HA's remote replication nodes were using wrong value for ↵Keith Wall2014-05-141-3/+27
| | | | | | lastKnownReplicationId property git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1594509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5761: Fix BDBHAVirtualHostNodeRestTest test failure caused by premature ↵Alex Rudyy2014-05-121-3/+3
| | | | | | | | call to virtual host rest service before opening of virtual host Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593930 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5409 : Change BDB HA MBean to delegate operations to BDB HA node instanceAlex Rudyy2014-05-092-70/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593538 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5744: Move management REST API under /api/latest and auxiliary REST ↵Alex Rudyy2014-05-021-3/+3
| | | | | | services under /service git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: Restart replicated environment several times before giving up. ↵Alex Rudyy2014-05-021-1/+1
| | | | | | This is due to a race condition on receiving DEATCHED event for a restarting environment causing EnvironmentFailureException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715,QPID-5412: Add remote replication nodesAlex Rudyy2014-04-301-0/+176
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591281 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Add virtual host node to the model and refactor ↵Keith Wall2014-04-215-41/+35
| | | | | | 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-5672 : [Java Broker] move variable interpolation to the configured objectRobert Godfrey2014-04-092-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5665 : [Java Broker] Unify VirtualHost model and implementation classesRobert Godfrey2014-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5615 : [Java Broker] Migrate broker config store to use same API as ↵Robert Godfrey2014-04-043-13/+15
| | | | | | VirtualHost config store git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5653: Replace DurableConfigurationStore/MessageStore recoverers with ↵Keith Wall2014-04-041-666/+0
| | | | | | | | | | | visitors. * MS/DCS impls now have stateless visitXXX methods to retrieve message/configuration data (replaces the recoverXXXX methods) * VH implementations now uses Handlers to perform the recovery operation. * DCS's handler (ConfiguredObjectRecordRecoveverAndUpgrader) currently implemented in terms of the old DefaultUpgradeProvider/DurableConfigurationRecoverer. This will be refactored by a future commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5653: Open databases and upgrade on opening of configuration/message storesAlex Rudyy2014-03-312-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1583351 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make the MessageStore and DurableConfigurationStore stateless. ↵Keith Wall2014-03-281-1/+4
| | | | | | | | | This changes removes the StateManager and delegates the operational logging (open/close) messages to the vhost. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1582835 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Merge changes from trunk.Keith Wall2014-03-251-1/+2
|\ | | | | | | | | | | | | | | | | | | Command was: svn merge https://svn.apache.org/repos/asf/qpid/trunk git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1581428 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-5615 : [Java Broker] update the durable configuration store interface ↵Robert Godfrey2014-03-231-8/+6
| | | | | | | | | | | | to be entirely in terms of ConfiguredObjectRecords and give stores knowledge of hierarchy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580561 13f79535-47bb-0310-9956-ffa450edef68
* | Introduction of separate lifecycle methods on stores for open/close/recover.Keith Wall2014-03-251-5/+7
| | | | | | | | | | | | | | Change Upgraders responsibility to create the amqp standard exchanges when upgrading from earlier store versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1581288 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Introduce messageStoreSettings VH attribute and move all message ↵Keith Wall2014-03-144-24/+35
| | | | | | | | | | | | store related attributes into messageStoreSettings map git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577606 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: Fix HAClusterTwoNodeTestKeith Wall2014-03-131-0/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1577102 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5624: Remove virtualhost xml configuration. Move virtual host ↵Alex Rudyy2014-03-126-118/+51
| | | | | | | | | | | | configuration into broker configuration store" git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1576732 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-5410: [Java Broker/BDB]. Introduce a thin facade (EnvironmentFacade) ↵Keith Wall2014-03-122-15/+25
|/ | | | | | | | | | | | | | | | between the BDBMessage and BDB JE's Environment/ReplicatedEnvironment. The motivation behind this facade is principally HA; there are a number of cases where JE requires the ReplicatedEnvironment is recreated. The facade layer allows for this to be done transparently from the upper tiers (the BDBMessageStore). The facade has two implementations StandardFacade used in the non-HA use case, and ReplicatedEnvironmentFacade in the HA case. Key changes: * BDBHAVirtualHost is now responsible for the creation of ReplicatedEnvironmentFacade * BDBMessageStore reverts to a single implementation without knowledge of HA. * BDBMessageStore now interacts with JE via the facade. * BDBHAMessageStoreManagerMBean interrogates the facade * ReplicatedEnvironmentFacade monitors the group for changes in state (nodes becoming uncontactable etc), if such a state change is detected, the DatabasePinger fires a single transaction to determine if quorum still exists. If quorum does not exist, the environment is restarted, thus transition the environment into the UNKNOWN state. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-bdb-ha2@1576697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4000 , QPID-5601 : Improve conversion of reply-to between different ↵Robert Godfrey2014-03-051-1/+1
| | | | | | protocols. Add functionality to the default exchange to understand AMQP 1.0 addresses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5551 : Change AMQStoreException to StoreException which inherits from ↵Robert Godfrey2014-02-141-2/+2
| | | | | | ServerScopedRuntimeException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1568252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5551 : Remove uses of AMQException, add ServerScopedRuntimeException ↵Robert Godfrey2014-02-141-1/+1
| | | | | | and ConnectionScopedRuntimeException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1568235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : Refactoring to allow for nodes other than queues to be ↵Robert Godfrey2014-02-071-0/+36
| | | | | | subscribed from, and nodes other than exchanges to be sent to (merged from separate branch) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565726 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : fix spelling error/typo in name of Enque(ue)ableMessageRobert Godfrey2014-01-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : remove InboundMessage... characterize routing as being on the ↵Robert Godfrey2014-01-221-0/+6
| | | | | | immutable message and a set of instance properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : initial refactoring to move common code into shared classes, ↵Robert Godfrey2014-01-221-3/+3
| | | | | | make transports work similarly with respect to message routing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5065: modifications to get more tests running on windows (both ant and ↵Keith Wall2014-01-171-1/+2
| | | | | | | | | | | | maven). Also - Fixed the jca/rar pom module name, it should be qpid-ra not qpid-rar. - Added project details such as Website, Mailing List, SCM. Patch submitted by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1559096 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : add info to test assert to give clue as to why test failedRobert Godfrey2014-01-071-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1556283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5161: Use case-insensitive path comparing on Windows OS when evaluating ↵Alex Rudyy2013-10-031-1/+1
| | | | | | path relative to working directory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1528832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5162: move the bdbstore-specific systests to their own moduleRobert Gemmell2013-09-238-0/+2717
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525741 13f79535-47bb-0310-9956-ffa450edef68