summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3603: Update HA documentatiionAlan Conway2012-04-051-7/+7
| | | | | | Also renamed --ha-replicate-default to --ha-replicate git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3918 Add management queries to ACL module.Charles E. Rolke2012-04-041-0/+194
| | | | | | | | | * Make queries available to self tests. * Exercise query interface during acl self tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1309549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Broker option --ha-replicate-default to specify default replication.Alan Conway2012-04-021-63/+79
| | | | | | | Takes values 'all', 'configuration', 'all'. This is the replication level to use if a queue or exchange is created without an explicit 'qpid.replicate' argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1308597 13f79535-47bb-0310-9956-ffa450edef68
* Set BOOST_TEST_DYN_LINK only if linking dynamically with Boost. NO-JIRAStephen D. Huston2012-03-301-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Keep acquired messages on queues for all queue types.Alan Conway2012-03-302-6/+57
| | | | | | | | Updated priority and lvq queues to keep acquired messages, and supply them to browsers if requested. This is necessary so replicating subscriptions can back-up these queue types without message loss. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1307582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: C++ header files need tidyupAndrew Stitcher2012-03-285-6/+9
| | | | | | | | | | Tidied up header use of FieldValue.h - Removed all unnecessary includes of FieldValue.h from other header files especially Array.h. (This avoids the world recompiling when working on FieldValue!) - Corrected up header guards in Array.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Substitute installation directories in qpidd init scripts.Alan Conway2012-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Minor updates to doc and example cluster configuration.Alan Conway2012-03-271-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305890 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a reference bug in qpid-config and added a test that exposes ↵Ted Ross2012-03-211-0/+3
| | | | | | the error. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303596 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2082: Put all of the C++ code in the source tree into a namespaceAndrew Stitcher2012-03-201-8/+19
| | | | | | - Final file that slipped through git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303024 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2082: Put all of the C++ code in the source tree into a namespaceAndrew Stitcher2012-03-205-18/+50
| | | | | | - This change moves the remaining non-example code in a namespace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1302988 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed more unused filesAndrew Stitcher2012-03-166-807/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3901 Add EXTRA-DIST file required for windows buildsCharles E. Rolke2012-03-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301512 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove some namespace polluting "using namespace boost" declarationsAndrew Stitcher2012-03-153-3/+3
| | | | | | | | - Blanket "using namespace" declarations like these are BAD, they can change the symbols imported into your namespace and you have no control over this. - Needed to make QPID-3893 compile on windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301168 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRAMichael Goulish2012-03-151-1/+3
| | | | | | | | | use new local sasl config file when starting authenticating broker, so that sasl mechs will not depend on the whimsies and vicissitudes of the system settings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1301153 13f79535-47bb-0310-9956-ffa450edef68
* Ensure both SQL and CLFS tests run if they're built. NO-JIRAStephen D. Huston2012-03-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1300595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3891 C++ Broker --log-function is too chatty.Charles E. Rolke2012-03-091-1/+4
| | | | | | | | Print only class-qualified function names and no args. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: rgmanager integration for new HA clusterAlan Conway2012-03-081-0/+18
| | | | | | | | - service start script qpid-primary, called by rgmanager to promote a broker. - example cluster.conf - minor changes to qpid-ha git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Initial documentation for the new HA plug-in.Alan Conway2012-03-051-21/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297234 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Cleaned up qpidtoollibsTed Ross2012-03-051-1/+1
| | | | | | | | | 1) Fixed the update() method to work on all object types 2) Shortened the path needed in import statements 3) Updated the connection-stats test to use qpidtoollibs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297230 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed a failure in the acl tests that was caused by a change in ↵Ted Ross2012-03-051-1/+1
| | | | | | log format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297220 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-03-052-48/+50
| | | | | | | | | | Change Exchange route interface not to require a fieldtable - Exchanges that actually use the fieldtable for routing need to extract it directly from the message themselves. This avoids the need to extract the fieldtable from the message unnecessarily. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3883: Using application headers in messages causes a very large slowdownAndrew Stitcher2012-03-051-2/+10
| | | | | | Change perftest to allow it add headers to messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3799 Acl update. Merge from branches/QPID-3799-aclCharles E. Rolke2012-03-011-206/+392
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA support for stand-alone replication.Alan Conway2012-02-291-33/+137
| | | | | | | | - New management method HaBroker.replicate to enable replication. - qpid-ha tool can enable replication of queues. - qpid-config tool can create queues with replication enabled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295339 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3832: Restore transport option for connection (as default for urls that ↵Gordon Sim2012-02-291-0/+6
| | | | | | don't specify one explicitly) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3871 - Added --mgmt-publish switch to the C++ brokerTed Ross2012-02-291-2/+2
| | | | | | | | | Also in this commit: - Fixed a problem with an unused argument in qpid-stat - Cleaned up the recurring timer code in ManagementAgent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295075 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add this when checking in changes for QPID-3870.Stephen D. Huston2012-02-271-0/+78
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Improved command-based qpid-ha tool and ha config option names.Alan Conway2012-02-242-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293397 13f79535-47bb-0310-9956-ffa450edef68
* Generate a correct test_env.ps1 for Windows test runs; modify the ↵Stephen D. Huston2012-02-247-21/+19
| | | | | | python-invoking test scripts to pick up proper settings from test_env.ps1. Also improved run_test.ps1 to not look for an exe whose proper path has been supplied already; allowed ha_test to try to execute. Fixes QPID-3870 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293340 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix broken distcheck - ha_tests.py not being skipped.Alan Conway2012-02-233-5/+13
| | | | | | | ha_tests.py depends on the python tools directory being available. Modified it to skip the test if it is not (e.g. when running make distcheck) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2894 - Added ACL stats to qpid-stat and a reload-file action to ↵Ted Ross2012-02-231-29/+33
| | | | | | | | | qpid-config. Ported the ACL tests to use the faster API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292880 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA logging improvements.Alan Conway2012-02-221-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test HA replication of LVQ, priority and ring queues.Alan Conway2012-02-221-4/+122
| | | | | | Also fix one bug causing problems with LVQ replication. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292444 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3851 - Unified common CLI options for qpid-config and qpid-stat.Ted Ross2012-02-2214-143/+113
| | | | | | | | | | | | | | | | | | | | Also in this commit: qpid-config was converted to use the messaging-based qmf2 library. It no longer has a dependency on the qmf library. The CLI tests were also ported to the faster library. CLI test time prior to this commit: 2 minutes 12 seconds CLI test time after this commit: 12.5 seconds Other items in qpid-config and qpid-stat: - The deprecated LVQ options (lqv, lqv-no-browse) were removed from qpid-config. - A new option, --lvq-key, was added to qpid-config to support the new LVQ configuration. The docs and tests were updated to match. - qpid-stat was updated so that 'qpid-stat -q <queue-name>' prints full details from the specified queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292388 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add HA tests to automake and cmake.Alan Conway2012-02-172-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge new HA foundations.Alan Conway2012-02-1710-81/+475
| | | | | | | Merged from qpid-3603-7. This is basic support for the new HA approach. For information & limitations see qpid/cpp/design_docs/new-ha-design.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3787 - Fixed shutdown crash in SslPlugin, Fixed problem with sasl_mux test.Ted Ross2012-01-271-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236864 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge SemanticState unsubscribe with cancel.Alan Conway2012-01-181-0/+1
| | | | | | Simplyfig the code, there is no need for these to be separate functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1233087 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Replace public broker::Consumer::position variable with get/set ↵Alan Conway2012-01-181-1/+1
| | | | | | | | function pair. Public member variables are not good sytle. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1233080 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3630: remove deprecated rate limiting featureKenneth Anthony Giusti2012-01-133-73/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1231221 13f79535-47bb-0310-9956-ffa450edef68
* Run the needed python setup to get the python compiled and ready for the ↵Stephen D. Huston2012-01-061-37/+9
| | | | | | test runs; fixes QPID-3729 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1228493 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3492: Fix quoted values as well as unquoted values; added a test caseGordon Sim2012-01-031-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1226931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3711: fix federation test scriptKenneth Anthony Giusti2011-12-251-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1224661 13f79535-47bb-0310-9956-ffa450edef68
* Adjust topictest.ps1 to use correct executable names (they changed some time ↵Stephen D. Huston2011-12-222-4/+4
| | | | | | ago); extend broker start timeout on brokertest.ps1 (Windows broker now takes 19 sec to start?!). NO-JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1222330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3652: Fix cluster authentication.Alan Conway2011-12-064-26/+52
| | | | | | | | | | | | | | | | | | | Only allow brokers that authenticate as the cluster-username to join a cluster. New broker first connects to a cluster broker authenticates as the cluster-username and sends its CPG member ID to the qpid.cluster-credentials exchange. The cluster broker that subsequently acts as updater verifies that the credentials are valid before connecting to give the update. NOTE 1: If you are using an ACL, the cluster-username must be allowed to publish to the qpid.cluster-credentials exchange. E.g. in your ACL file: acl allow foo@QPID publish exchange name=qpid.cluster-credentials NOTE 2: This changes the cluster initialization protocol, you will need to restart the cluster with all new version brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1210989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3629: Changed management of credit windowGordon Sim2011-11-231-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205467 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed the handling of functions with ignored return values.Ted Ross2011-11-222-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3579: Moved qpid-analyze-trace to cpp/src/tools to address concerns ↵Kim van der Riet2011-11-171-0/+258
| | | | | | about tool placement, code maturity etc. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1203384 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: Rolled back accidental checkin of experimental code in r.1202755 ↵Kim van der Riet2011-11-161-9/+6
| | | | | | (checkin from wrong dir) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1202760 13f79535-47bb-0310-9956-ffa450edef68