summaryrefslogtreecommitdiff
path: root/qpid/tools/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-7446 : Allow the QMF2 plugin to compile against the 6.0.x java codebaseRobert Godfrey2016-10-049-10/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1763292 13f79535-47bb-0310-9956-ffa450edef68
* QPID-7207: Create independent cpp and python subtrees, with content from ↵Justin Ross2016-04-2155-11622/+0
| | | | | | tools and extras git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1740289 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6767: add --sasl-service-name option to all QPID tools.Ken Giusti2015-10-027-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1706480 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6765 [linearstore] Add qpid-txtest mode to qpid-qls-analyze which ↵Kim van der Riet2015-09-254-67/+72
| | | | | | extracts message number from message body git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1705310 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6491: qpid-route map to use credentials, hide them from outputPavel Moravec2015-08-021-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1693816 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6571: remove socket.gethostbyname callErnest Allen2015-06-041-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1683567 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add log command to qpid-config to set log levels.Alan Conway2015-04-272-2/+11
| | | | | | | | | Get current level: qpid-config log Set new level: qpid-config log <newlevel> Fixed bugs in getLogLevel and in handling invalid log levels. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1676333 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6491: qpid-route map does not use any authentication when querying ↵Pavel Moravec2015-04-211-1/+1
| | | | | | other brokers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1675060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6347 - Committed a patch from Irina BovermanTed Ross2015-03-274-45/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1669669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6347: Remove the now obsolete queue_event_generation option; this is a ↵Justin Ross2015-02-112-23/+1
| | | | | | patch from Irina Boverman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1659063 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: Linearstore: No store tools exist for examining the journals - ↵Kim van der Riet2015-01-164-56/+82
| | | | | | Bugfix and update for new partition and directory structure change from QPID-5671 and QPID-6303 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1652490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6013 qpid-route should warn when a federation link was not created ↵Ernest Allen2015-01-121-6/+19
| | | | | | successfully git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1651216 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5671 [linearstore] Add ability to use disk partitions and select ↵Kim van der Riet2015-01-021-3/+20
| | | | | | per-queue EFPs: WIP, but mostly complete. Needs additional testing. It is now possible to add queues which use a partition other than the broker default by using qpid-config --durable together with --efp--partition-num and/or --efp-pool-file-size git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1649081 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: qpid-ha don't return error status if called with -h or --help flag.Alan Conway2014-12-011-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1642758 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6230 [linearstore] qpid-qls-analyze fails when analyzing empty journalKim van der Riet2014-11-181-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1640353 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6177: qpid-tool should print warning when initial connection to broker ↵Pavel Moravec2014-10-231-2/+7
| | | | | | fails git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1633818 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6118: Add qmf shutdown command to the brokerAlan Conway2014-09-261-4/+10
| | | | | | | | QMF shutdown command implemented on broker. - ACL to control shutdown: acl deny all access method name=shutdown - Added "qpid-config shutdown" command to shut down the broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627811 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6106: Replace empty fields with '-' in qpid-stat -c output; this is a ↵Justin Ross2014-09-231-4/+8
| | | | | | patch from Irina Boverman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627015 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6007: Test if hostname is valid; if not, default to trying localhost; ↵Justin Ross2014-09-091-1/+5
| | | | | | this is a patch from Ernie Allen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1623871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6035: HA fix bug in qpid-ha, --help does not show help.Alan Conway2014-09-021-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1622057 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6059: Java QMF2 Agent code made some now invalid assumptions about replyToFraser Adams2014-08-301-38/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621430 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6035: HA clearly distinguish qpid-ha commands intended for cluster manager.Alan Conway2014-08-221-17/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a --cluster-manager flag to qpid-ha tool. Without this flag - the 'promote' command is not listed in the tool help. - using the promote command raises an error saying that it is only for cluster manager use and mentioning the --cluster-manager flag. With the flag: promote functions as before. The qpid-ha help text for promote is also more clear now that it is for cluster manager only. Originally the idea was to split qpid-ha into two tools but I have kept one tool with the flag and warning messages because it: - avoids packaging changes that might trip things up. - helps people who are already using qpid-ha promote: their scripts will break but the error message explains how to fix it. I think the special role of promote is sufficiently clear now even if it is part of the same tool. This commit also updates the following to take account of the new flag: - rgmanager qpidd-primary script. - qpidd tests. - qpid book HA chapter. NOTE: THIS WILL BREAK TEST HARNESSES that do promotion outside of rgmanager. You'll need to add the --cluster-manager flag in the relevant places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6025: Java port of QpidConfig give NPE when listing queue/exchanges, ↵Fraser Adams2014-08-204-6/+18
| | | | | | added code to agentdata Queue and Exchange to return empty Map to be consistent with C++ Broker and also for good measure added some defensive code to QpidConfig.java git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619161 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6024: Update agentdata/Broker.java to reflect change in Java Broker ↵Fraser Adams2014-08-201-1/+2
| | | | | | Model Port class that changed getAvailableProtocols to getProtocols git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813: add license headers to various files, remove empty fileRobert Gemmell2014-08-151-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1618218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813, QPID-5913: various LICENCE and NOTICE file updatesRobert Gemmell2014-08-111-6/+0
| | | | | | | | | | - Ensure the main java directory has LICENSE and NOTICE files for use in new source archive. - Update pointers within the files at the repo root. - Ensure the main java directory has LICENSE entry for crypto-js for inclusion in source release. - Ensure the management-http binary jar contains LICENSE file entry for crypto-js, clarify entry in brokers binary assembly tar.gz file. - Update reference file for dep change verification. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: update qpid-qmf2-tools assembly descriptor filename to match its ↵Robert Gemmell2014-08-112-1/+1
| | | | | | output like all the others do git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617250 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: add/update LICENSE,NOTICE,README.txt and dep check reference ↵Robert Gemmell2014-08-1115-126/+715
| | | | | | files for the source tree/archive and the binary assembly releases git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1617244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: add a profile override to the QMF build to disable the ↵Robert Gemmell2014-08-081-0/+26
| | | | | | apache-release source assembly creation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616851 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5980: tweak javadoc for QMF2 bits to remove errors (but not warnings), ↵Robert Gemmell2014-08-0838-63/+65
| | | | | | allow success when processing with the strict new Java8 tooling git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813: advance version numbers on trunk to 0.32-SNAPSHOTRobert Gemmell2014-08-086-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616708 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5942: qpid HA cluster may end-up in joining state after HA primary is ↵Alan Conway2014-07-311-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | killed There are two issues here, both related to the fact that rgmanager sees qpidd and qpidd-primary as two separate services. 1. The service start/stop scripts can be called concurrently. This can lead to running a qpidd process who's pid is not in the pidfile. rgmanager cannot detect or kill this qpidd and cannot start another qpidd because of the lock on the qpidd data directory. 2. rgmanager sees a primary failure as two failures: qpidd and qpidd-primary, and will then try to stop and start both services. The order of these actions is not defined and can lead to rgmanager killing a service it has just started. This patch makes two major changes to the init scripts: 1. Uses flock to lock the sensitive stop/start part of the scripts to ensure they are not executed concurrently. 2. On "stop" the scripts check if a running qpidd is primary or not. "qpidd stop" is a no-op if the running broker is primary, "qpidd-primary stop" is a no op if it is not. This ensures that a broker will be stopped by the same stream of service actions that started it. Minor changes in this patch: - better logging of broker start-up and shut-down sequence. - qpid-ha heartbeat use half of timeout option. - add missing timeouts in qpid-ha. Notes: This changes the behavior of 'clusvcadm -d <qpidd-service>' on the primary node. Previously this would have stopped the qpidd service on that node, killed the qpidd process and relocated the primary service. Now this will stop the qpidd service (as far as rgmanager is concerned) but will not kill qpidd or relocate the primary service. When the primary is relocated the qpidd service wil not be able to re-start on that node until it is re-enabled with 'clusvcadm -e'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614895 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5945]: qpid-config to pass integer arguments whenever possiblePavel Moravec2014-07-301-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614637 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5938]: qpid-stat: remove dead code relevant to active-active clusterPavel Moravec2014-07-301-61/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5932: Use default parameter values for method calls if necessary.Ken Giusti2014-07-281-2/+2
| | | | | | Original patch by Ernest Allen. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614109 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added qpid-ha query --all flag.Alan Conway2014-07-181-24/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611747 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5850: Support for long session names (patch from Ernie Allen)Gordon Sim2014-07-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611016 13f79535-47bb-0310-9956-ffa450edef68
* JIRA:QPID-5820 Added some defensive code to qmf-ui.js to protect against the ↵Fraser Adams2014-07-051-1/+2
| | | | | | case when null binding arguments get returned. Fixed bug in broker-core BindingImpl.java whereby the binding arguments were not being set on construction which caused getArguments to always return null git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: update readme to detail usage of the copy-broker profileRobert Gemmell2014-07-041-4/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607921 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: add a profile to optionally extract the broker release artifact ↵Robert Gemmell2014-07-042-1/+70
| | | | | | and copy the QMF2 broker plugin into the lib dir git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607915 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5863]: qpid-config does not throws correct exception when binding ↵Pavel Moravec2014-07-011-1/+3
| | | | | | nonexisting exchange; fix from Zdenek Kraus git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5820: [Java QMF2 Plugin] changes to plugin owing to the Java Broker ↵Keith Wall2014-07-014-9/+9
| | | | | | | | | | model updates made during 0.29 * Used model getters rather than named attributes wherever possible Work done by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5820: [Java QMF2 Plugin] changes to plugin owing to the Java Broker ↵Keith Wall2014-06-304-64/+111
| | | | | | | | | | | | | | | model updates made during 0.29 * VHNs (virtualhostnodes) may exist within a VH (virtualhost) * Use Port#availableProtocols rather than Port#protocols when trying to find the AMQP port * Like the CPP Broker, Binding#arguments will be null if the binding was created with none. Note that the QMF plugin still does not support virtualhosts created at runtime. They'll be ignored until the next restart. Work done by Andrew MacBean <macbean@apache.org> and me. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1606812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5797: [qpid-tools]: inability to call some QMF methods ↵Pavel Moravec2014-06-021-5/+17
| | | | | | (queueMoveMessages / setLogLevel or so) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1599221 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA: [linearstore] Update to ISSUES; whitespace fix from last checkinKim van der Riet2014-05-217-115/+130
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5746, QPID-5610: fix compilation for QMF2 broker pluginRobert Gemmell2014-05-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593707 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] close the qmf agent when the plugin is closedRobert Godfrey2014-05-081-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-082-30/+6
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1593264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: copy the mavenised qmf2 java tools build tree to trunkRobert Gemmell2014-05-02234-0/+40383
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592057 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5610: remove existing java qmf tools dir, to make way for the mavenised ↵Robert Gemmell2014-05-02237-41451/+0
| | | | | | version from the branch git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1592055 13f79535-47bb-0310-9956-ffa450edef68