summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf/tests
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4940: Remove obsolete qmf codeAndrew Stitcher2013-07-267-1705/+0
| | | | | | | | | - Remove qmf1 engine code - Remove qmf1 language bindings - Remove qmf1 agent code (it depends on engine) - Fix up cmake to build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: QPID-3633: Remove autotools build from qpid C++ source treeAndrew Stitcher2013-07-251-27/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3851 - Unified common CLI options for qpid-config and qpid-stat.Ted Ross2012-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | 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
* NO-JIRA - Fixed two problems in the qmf-interop tests:Ted Ross2011-03-221-1/+2
| | | | | | | | | | 1) Added a 2-second delay on console startup. This closes the window on a race condition that occurs when the console and agent start at exactly the same time. Note that this race has been designed out of the QMFv2 protocol. 2) Fixed a reference to an incorrect variable name in the assert(cond) message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1084053 13f79535-47bb-0310-9956-ffa450edef68
* In qmfengine, if a method call or method response requires a buffer larger ↵Ted Ross2011-01-131-0/+37
| | | | | | | | | | | | than the static buffer used for communication, allocate a large-enough buffer temporarily from the heap. A test is included to verify large-buffer behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1058709 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: fix QMF test that was sending a sstr > 255 bytes long.Kenneth Anthony Giusti2010-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2880: allow boolean values in method call map/list arguments.Kenneth Anthony Giusti2010-09-222-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999919 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: agent label in wrapped (python, ruby) qmf agent was not transmitted ↵Ted Ross2010-07-223-3/+3
| | | | | | | | | to the consoles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@966871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2556: add tests for maps and lists in method args and events.Kenneth Anthony Giusti2010-04-274-15/+163
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2556: fix conversion of signed integers in maps and lists.Kenneth Anthony Giusti2010-04-274-64/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@938506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2546: implement event support for ruby wrapper. Python pending...Kenneth Anthony Giusti2010-04-232-1/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937506 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-311-1/+1
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929716 13f79535-47bb-0310-9956-ffa450edef68
* add support for QMF TYPE_LIST in engine, ruby and python wrappersKenneth Anthony Giusti2010-03-304-2/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@929244 13f79535-47bb-0310-9956-ffa450edef68
* moved qpid-* tools out of qpid/python into qpid/tools; moved qmf library ↵Rafael H. Schloming2010-02-141-1/+3
| | | | | | into extras/qmf git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910016 13f79535-47bb-0310-9956-ffa450edef68
* Added raise_event support to the Ruby and Python wrapped agent APIs.Ted Ross2010-01-133-1/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@898727 13f79535-47bb-0310-9956-ffa450edef68
* Added handling of MAP values for the wrapped QMF interfaces.Ted Ross2010-01-054-2/+121
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@896191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2246 - QMF - Querying objects using a selector of type ObjectId yields ↵Ted Ross2009-12-043-4/+31
| | | | | | incorrect results git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@887320 13f79535-47bb-0310-9956-ffa450edef68
* Disabled user-id test from the pure python console. This needs to be ↵Ted Ross2009-11-111-1/+1
| | | | | | | | | re-designed following the update to SASL on Python. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@835040 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious assertion from python test agentTed Ross2009-10-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@829786 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to broker and agent bank from API, replaced with theTed Ross2009-10-232-3/+15
| | | | | | | | | | | | | more generic (and forward compatible) "key". In the Ruby binding, ensured that ruby objects reference their own copies of the wrapped c++ objects to protect from problems when the c++ objects are deleted out from under the wrappers. Added agent discriminator to the console::objects method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@829167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2126 - Sync the python QMF bindings to the current Ruby QMF bindings ↵Ted Ross2009-10-201-48/+85
| | | | | | | | | implementation Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@827686 13f79535-47bb-0310-9956-ffa450edef68
* Bug fix: Console sent get-requests (by objectId) to all agents, not just the ↵Ted Ross2009-10-152-0/+26
| | | | | | | | | agent identified in the objectId. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@825672 13f79535-47bb-0310-9956-ffa450edef68
* Added select for object queries (Ruby).Ted Ross2009-10-151-0/+7
| | | | | | | Added separate callback-thread to prevent deadlock when a user blocks on a callback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@825492 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes in Ruby Console:Ted Ross2009-10-021-2/+5
| | | | | | | | | | - AgentProxy object now has broker_bank and agent_bank accessors - Fixed a bug in the returning og reference values (ObjectId) - Added package_name accessor to SchemaObjectClass - Added accessors for agent/broker bank to ObjectId git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821181 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes:Ted Ross2009-10-023-2/+12
| | | | | | | | | - In ruby: waitForStable => wait_for_stable - Setting an unknown attribute on connection settings now throws an exception - Added connected? accessor to Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@821109 13f79535-47bb-0310-9956-ffa450edef68
* QMF Engine updates:Ted Ross2009-09-291-2/+32
| | | | | | | | | - Connected console handler callbacks - Added string representations for a number of object classes - Added a feature that completes query requests sent to disconnected agents git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819819 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-252-21/+19
| | | | | | | | | | | | - Refactored into two namespaces: 1) 'qmf' for the public QMF api (c++) 2) 'qmf::engine' for the public engine API (used for language bindings) - Added object and first_object calls to Console (in Ruby) - Made objects call compatible with the kwarg arguments used in the older API - Added to_s functions to classes that needed them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818994 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to the QMF Ruby API - added missing methods and reduced use of "get_" ↵Ted Ross2009-09-233-20/+22
| | | | | | convention. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818141 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-222-9/+80
| | | | | | | | | | - Added "sendUserId" option (defaults to true) to QMF connection settings - Implemented the user-id function using "negotiatedSettings" from qpid::client::Connection - Fixed a sign-extension bug in Value - Added tests for all of the above git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817813 13f79535-47bb-0310-9956-ffa450edef68
* Properly report test failures in Ruby testsTed Ross2009-09-211-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817375 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a Ruby convention problem (camel-case vs. underscores)Ted Ross2009-09-211-2/+2
| | | | | | | Added method_missing function for Arguments for direct access to method output args. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817314 13f79535-47bb-0310-9956-ffa450edef68
* Added Ruby test infrastructure and Console tests in RubyTed Ross2009-09-213-1/+210
| | | | | | | | | | Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@817312 13f79535-47bb-0310-9956-ffa450edef68
* Added accessor for returned method argumentsTed Ross2009-09-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816776 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-181-1/+1
| | | | | | | | | | | | | | | | the pimpl (Pointer to Implementation) pattern: 1) Impl classes have constructors matching the public constructors 2) Additional Impl constructors are accessed through a static factory function 3) All linkages to objects are to the public object 4) If a back-link (from Impl to public) is needed, the Impl class must be derived from boost::noncopyable 5) All public classes have non-default copy constructors that make a copy of the Impl class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816770 13f79535-47bb-0310-9956-ffa450edef68
* QMF ConsoleTed Ross2009-09-172-40/+55
| | | | | | | | | - Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@816345 13f79535-47bb-0310-9956-ffa450edef68
* QMF Console updated to the point where query (get_object) is supported.Ted Ross2009-09-153-18/+76
| | | | | | | The Ruby binding continues to track the c++ engine progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@815416 13f79535-47bb-0310-9956-ffa450edef68
* Improved automake for the qmf bindings.Ted Ross2009-09-032-21/+34
| | | | | | | | | - Added conditionals for HAVE_PYTHON_DEVEL - Added conditionals in the run_interop_tests script to skip tests of unbuilt components - Removed from distribution the code generated by swig for Python git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2064 - add python bindings for qmf (c++)Ted Ross2009-09-022-2/+222
| | | | | | | Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810523 13f79535-47bb-0310-9956-ffa450edef68
* More QMF implementation:Ted Ross2009-09-021-1/+19
| | | | | | | | - Added schema handling and exchange to the console - Improved the connection performance by switching to pre-acquired mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@810482 13f79535-47bb-0310-9956-ffa450edef68
* Added protocol module for codepoint definitions and header handling.Ted Ross2009-08-311-1/+1
| | | | | | | | Fixed a deadlock case in ResilientConnection. Added more code to the ConsoleEngine implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809728 13f79535-47bb-0310-9956-ffa450edef68
* Major work in the QMF engine.Ted Ross2009-08-284-1/+77
| | | | | | | | | - The console framework now establishes connectivity with the broker. - The Ruby binding for console is tracking the engine development. - Overall improvements (thread safety in Ruby, etc.) have been added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809042 13f79535-47bb-0310-9956-ffa450edef68
* Added QMF tests for method invocation and numeric types.Ted Ross2009-08-242-12/+172
| | | | | | | Improved the swig typemaps to handle different numeric cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@807288 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the new QMF ConnectionSettings and incorporated into the bindings.Ted Ross2009-08-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@806725 13f79535-47bb-0310-9956-ffa450edef68
* Add test script to distribution listGordon Sim2009-08-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803403 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-112-27/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803270 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles in the QMF bindings area.Ted Ross2009-08-114-0/+269
Added tests for the QMF bindings. Removed spurious "cout" prints from qmf/Agent.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803156 13f79535-47bb-0310-9956-ffa450edef68