Code coverage analysis for Qpid Dispatch Router

2017-12-21 Thread Ken Giusti
In case you missed it I ported the coverage work done on proton to dispatch: https://github.com/apache/qpid-dispatch/commit/802e4aa97f159c8464e9f21eabf11453c2688399 We can now check the coverage of our dispatch CI tests. This is a useful tool when creating new unit tests (or updating the existin

Apache Qpid Dispatch now using Python unittest2 to run tests

2017-12-21 Thread Ganesh Murthy
As a fix to https://issues.apache.org/jira/browse/DISPATCH-894 , Qpid Dispatch is now using Python's unittest2 (instead of unittest) to run unit tests. https://pypi.python.org/pypi/unittest2 "unittest2 is a backport of the new features added to the unittest testing framework in Python 2.7 and on

Re: Unexplained b" and " around message body with python and java, but not with C++

2017-12-21 Thread Olivier Delbeke
Thank you Chris, Unfortunately, what happens here is still not completely clear to me. When I look at the binary data being sent (using PN_TRACE_FRM=1), I notice that the b" never appears in the message being sent (not with C++ and not with python), and that the body data itself is identical wha

Re: Unexplained b" and " around message body with python and java, but not with C++

2017-12-21 Thread Chris Richardson
Hi Olivier, The 'b' prefix in this case is part of the automatic character encoding of the language in use, indicating that the string is a "bytes" object rather than a Unicode string which is the default expectation of the C++. Have a browse of the relevant character encoding documentation for th

Unexplained b" and " around message body with python and java, but not with C++

2017-12-21 Thread Olivier Delbeke
Hi all, When I send messages to a queue using the java or python APIs, the message body I receive on the other side (C++ binding) is preceded by b" and appended with ". When I send the same message with the C++ API, I do not have this behaviour. Example: [C++] sender.send( proton::message("[ME

Re: [VOTE] Release Apache Qpid Proton 0.19.0 (RC2)

2017-12-21 Thread Alan Conway
+1 fedora27, self tests, manual check of ruby and go examples. On Thu, Dec 21, 2017 at 10:18 AM, Chuck Rolke wrote: > +1 > > on Fedora 27 > * Verified checksum > * ran selftests [1] > * linked with qpid-dispatch master > * ran qpid-dispath selftests > > [1] On first go self qpid-proton test fai

Re: [VOTE] Release Apache Qpid Proton 0.19.0 (RC2)

2017-12-21 Thread Chuck Rolke
+1 on Fedora 27 * Verified checksum * ran selftests [1] * linked with qpid-dispatch master * ran qpid-dispath selftests [1] On first go self qpid-proton test failed. The fail on qpid-proton master, too. Had to upgrade valgrind to 3.13.0-12 then they pass in 0.19.0-rc2 and master. - Origina

Re: Qpid Proton: making ssl connection

2017-12-21 Thread Chuck Rolke
There are two levels of authentication that can happen. * TLS Handshake For simple TLS the broker must present a certificate that is signed by a certificate authority (CA) that the client trusts. * TLS Handshake with Client Certificate Request The broker must always send a certificate to the c

Qpid Proton: making ssl connection

2017-12-21 Thread Mani
I need some basic help to understand better. I have two questions: 1) In order to make ssl connection, is it necessary to configure ssl certificate and private key within the code. Wouldn't just changing the port to 5671, having username and password, and adding amqps work? 2) I implemented this