summaryrefslogtreecommitdiff
path: root/qpid/python
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5813: fix up LICENSE + NOTICE etc filesRobert Gemmell2014-08-272-31/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620850 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix timeout on python messaging.Session.commit and rollbackAlan Conway2014-08-221-3/+5
| | | | | | Fix both to take timeout arg and raise Timeout exception if timeout expires. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5813: Advance version numbers on trunk to 0.29Justin Ross2014-08-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616587 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Strengthen ant python test wrapper to ensure that ant will fail if ↵Keith Wall2014-07-301-5/+13
| | | | | | it fails to identify the pid of the broker\'s process git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614598 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5852]: connection.opened() returns True after unsuccessful connection ↵Pavel Moravec2014-07-241-1/+2
| | | | | | (fixing regression infested by previous commit) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613270 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5923: check requested node type when handling deleteGordon Sim2014-07-241-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5921: add missing clause to resolution logic for when only exchange ↵Gordon Sim2014-07-241-0/+5
| | | | | | exists but queue create was requested git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5888: transaction should always be aborted on failoverAlan Conway2014-07-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | C++ and python clients were attempting to continue the transation transparently after failover which is in correct. They were re-sending messages in the transaction but there is no way to re-do transactional receives. The transaction must be aborted. The C++ and python clients have been modified to kill a transactional session with a TransactionAborted exception if there is a failover. Note the Java client already behaves correctly but not identically. It defers raising an exception until commit rather than failing immediately on failover, and the session can still be used. The following commits are involved: r1611349 QPID-5887: revised approach to implict abort r1610959 QPID-5887: allow qpid-txtest2 to be run by make test r1610958 QPID-5887: fix to new txtest2, acknowledge messages in the check phase to ensure queues remain drained for any subsequent runs r1609748 QPID-5887: abort transactional session on failover; added equivalent of txtest using messaging API This commit does the following: - Update ha_tests.py tx_simpler_failover test to expect transaction aborted. - Minor improvements to qpid-txtest2 - Fix native (non-swig) python client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5894: force cert checking if user specifically asks to verify the ↵Ken Giusti2014-07-182-0/+7
| | | | | | remote's hostname. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611670 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
* [QPID-5823]: Python client should create a node with name starting '\#'Pavel Moravec2014-07-072-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608350 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5864]: [Python client] Provide better error description when SASL ↵Pavel Moravec2014-07-011-1/+5
| | | | | | required but no credentials provided git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607086 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5852]: [Python client] connection.opened() returns True after ↵Pavel Moravec2014-06-261-0/+3
| | | | | | unsuccessful connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5836: [Python client] Report error when encountering unrecognized ↵Pavel Moravec2014-06-261-41/+50
| | | | | | connection option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5830: [Python client] Unable to create bindings on already existing ↵Pavel Moravec2014-06-181-15/+20
| | | | | | broker objects using addressing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603448 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5823: (reverting commit r1602820) Python client should create a node ↵Pavel Moravec2014-06-162-11/+8
| | | | | | with name starting '\#' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5823: Python client should create a node with name starting '\#'Pavel Moravec2014-06-162-8/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602820 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-5812: python high level API client receiver.fetch(timeout=N) ↵Andrew Stitcher2014-06-121-1/+1
| | | | | | | | | | | blocks forever in select() if broker is stopped (kill -STOP)" This reverts commit r1602221 As it breaks the C++ tests: - python_tests - federation_sys_tests - legacystore_python_tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602302 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5812: python high level API client receiver.fetch(timeout=N) blocks ↵Pavel Moravec2014-06-121-1/+1
| | | | | | forever in select() if broker is stopped (kill -STOP) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602221 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5808: framer should consume only header bytesKen Giusti2014-06-091-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5790: avoid use of poll if select is monkey-patched by ↵Ken Giusti2014-05-301-2/+10
| | | | | | Eventlet/Greenthreads git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5773: back out non-functional recv path change from QPID-4872Ken Giusti2014-05-291-16/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598353 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5637: reset Selector singleton across fork.Ken Giusti2014-05-201-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596341 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5700: ensure interleaved segments on different tracks do not get confusedGordon Sim2014-04-151-12/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587710 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5600: Advance the version number on trunk to 0.29Justin Ross2014-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5588: [python-client] use poll() instead of select() where available.Kenneth Anthony Giusti2014-02-281-5/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573028 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5557: allow disambiguation of node typeGordon Sim2014-02-241-7/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571459 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5520: qpid-python-test should not fail for skipped tests.Alan Conway2014-01-281-1/+1
| | | | | | | | | | | | | The qpid-python-test script has a facility for skipping tests (by raising a Skipped exception) which works fine BUT if tests are skipped the script exits with non-0 status - i.e. failure. With this commit the script exits with a 0 exit status (success) unless there are actual failures. See discussion at: http://apache-qpid-developers.2158895.n2.nabble.com/qpid-python-test-script-should-skipped-tests-be-considered-failures-td7592307.html git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1562167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2294: add checks for negative timeoutGordon Sim2014-01-241-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560974 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2294: handle signal interruptions to selectGordon Sim2014-01-151-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558503 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5428: Heartbeats not in use when attempting to connect with python client.Alan Conway2014-01-091-18/+37
| | | | | | | | | | | | | | | | | | | | | Heartbeats ignored when opening a connection, could hang indefinitely Need to cover 3 cases (test included): - Connect sucessful but then broker stalls. - Connect to a stalled broker that never responds. - Fail-over to a stalled broker that never responds All cases are handled by the following fixes to driver.py: - Check for heartbeats even before engine._connected since we may time out before receiving open-ok if the peer is stalled and never sends data. - Set _last_in and _last_out so that we time heartbeats from the start of the connection if no data is ever sent or received. - Call self.update_status in Driver.timeout to detect connection closed due to heartbeat timeout (rather than a readable or writeable event.) Make update_status a no-op if engine or transport are not yet set up. - Don't consider reconnect complete in connect(), wait till we get the open-ok. See the comment on Driver._check_retry_ok() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1556971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5255: Change trunk version to 0.27Justin Ross2013-11-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5203: if session error exists, simply return from session close (also ↵Gordon Sim2013-10-301-7/+5
| | | | | | reverts previous fix) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537030 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5139: Add timeout argument to python messaging.Session.commit.Alan Conway2013-10-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536750 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5203 Python client unexpected exception after ACL denialPavel Moravec2013-10-221-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1534643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5183 Python client does not release acquired messages on consumer close ↵Pavel Moravec2013-09-271-0/+14
| | | | | | when session persists git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5142: require swig client to be explicitly selected for testsGordon Sim2013-09-241-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525969 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5154: Further corrections to the Connection API doc; a patch from Ernie ↵Justin Ross2013-09-231-8/+3
| | | | | | Allen git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525570 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: restore examples to the pure python componentGordon Sim2013-09-196-0/+593
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4952: Fix swigged python tests which were disabled by previous commitGordon Sim2013-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524669 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: Move the Python examples under the bindings directory.Darryl L. Pierce2013-09-187-716/+0
| | | | | | They now are found with the other languages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: Created the console Python example app.Darryl L. Pierce2013-09-181-0/+99
| | | | | | | It allows the user to send messages tot he server example app and get messages back. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524573 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: Fixed the Python examples to use the new Python moduleDarryl L. Pierce2013-09-186-30/+54
| | | | | | | | Now the imports will first attempt to bring in qpid_messaging, the Swig generated Python. If that fails it will then fall back to trying to import qpid.messaging, the pure Python binding. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5133: Add option to the spout examples to enable durable messagesDarryl L. Pierce2013-09-111-0/+4
| | | | | | | | Each of the examples (C++, Ruby, Perl, Python) now have a command line option to set the durable flag on messages sent. This allows for experimenting with message persistence. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5104: make handling of properties in swigged impl match the pure python ↵Gordon Sim2013-09-051-0/+11
| | | | | | impl more closely git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4711: translate between structured content in AMQP 0-10 and 1.0Gordon Sim2013-08-131-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4961: Change trunk version to 0.25Justin Ross2013-07-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4988: Add test runs using swigged python clientGordon Sim2013-07-163-6/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503652 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Corrections for the python API doc; a patch from Ernie AllenJustin Ross2013-06-251-10/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496623 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix typo "sock.close" in qpid/python/qpid/util.pyAlan Conway2013-06-171-1/+1
| | | | | | Added missing parentheses on call to sock.close(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493873 13f79535-47bb-0310-9956-ffa450edef68