Commit Graph

377 Commits

Author SHA1 Message Date
Giuseppe Privitera 340bb5d70b refactored tests to use rabbitmq_mqtt:env/1 2015-09-17 23:27:13 +01:00
Giuseppe Privitera 9039d7398b added .app file with some configuration used by tests 2015-09-17 23:26:05 +01:00
Giuseppe Privitera 204b1a59aa added step to copy .app file from test/src to test/ebin 2015-09-17 23:24:42 +01:00
Giuseppe Privitera 1544360485 removed unused test 2015-09-17 23:23:49 +01:00
Giuseppe Privitera 0213ec24e9 use assertEqual instead of pattern matching 2015-09-17 15:40:10 +01:00
Giuseppe Privitera f6d7f16941 refactored coerce to use to_binary identity function 2015-09-17 15:00:33 +01:00
Giuseppe Privitera 578ac7169b coerce default_user & default_pass 2015-09-17 14:50:17 +01:00
Giuseppe Privitera 2b58ca1247 added unit tests 2015-09-17 14:26:22 +01:00
Giuseppe Privitera f196f05373 coerce exchange and vhost to binary 2015-09-17 13:03:53 +01:00
Michael Klishin b73482061e Merge pull request #28 from lshift/mqtt-topic-authz
Check authorization at MQTT topic level
2015-07-14 13:11:41 +03:00
ash-lshift b633549801 revert warning fix 2015-07-14 11:03:31 +01:00
ash-lshift 8fb4904fdc whitespace changes 2015-07-14 10:56:02 +01:00
ash-lshift bafb39f5f0 don't use `apply/2` 2015-07-14 10:47:39 +01:00
ash-lshift 6bc3579023 fix compile warnings 2015-07-14 10:47:01 +01:00
ash-lshift fabf2614ab rename `K` to `Fn` 2015-07-14 10:34:25 +01:00
ash-lshift 868b845101 change resource kind to `topic` 2015-07-14 10:31:42 +01:00
ash-lshift f293972f3c check authorization at mqtt topic level 2015-06-30 09:08:26 +01:00
Michael Klishin 8712428268 Merge branch 'stable' 2015-05-24 04:55:07 +03:00
Michael Klishin 692c6a7060 (c) year 2015-05-24 04:54:58 +03:00
Michael Klishin b52aed4a69 Merge branch 'stable' 2015-05-14 17:19:24 +03:00
Michael Klishin d89eed50e9 Adapt to Java client API change in stable 2015-05-14 14:59:50 +03:00
Jean-Sébastien Pédron dad4ea314a Merge branch 'stable' 2015-05-07 13:02:46 +02:00
Jean-Sébastien Pédron aa6872bb5c test/Makefile: Use $MAKE instead of hard-coding "make"
This one was harmless but let's do this for consistency's sake.

References #23.
2015-05-07 13:01:13 +02:00
Jean-Sébastien Pédron 9e9c2dec8c Merge branch 'stable' 2015-05-06 19:13:42 +02:00
Jean-Sébastien Pédron 4495dda8cd Merge branch 'rabbitmq-mqtt-23' into stable 2015-05-06 19:13:24 +02:00
Jean-Sébastien Pédron 386bba589e Use $MAKE instead of hard-coding "make"
$MAKE is passed down by Umbrella's do-package.mk. This fixes the
testsuite on systems where "make" is not GNU make.

Fixes #23.
2015-05-06 19:09:27 +02:00
Michael Klishin f2dc1d75cb Merge branch 'stable' 2015-05-01 00:49:48 +03:00
Michael Klishin 5a87bddf0d Ignore test/.idea 2015-05-01 00:49:21 +03:00
Michael Klishin fc3123c7a6 Update README.md 2015-04-28 23:49:46 +03:00
Michael Klishin 8d359a8ea4 Update README.md 2015-04-28 23:47:08 +03:00
Michael Klishin 0f4db19311 Use a higher call timeout here 2015-04-26 19:36:15 +03:00
Michael Klishin 2f7c789db8 Merge pull request #22 from rabbitmq/rabbitmq-mqtt-16
Retained messages support
2015-04-26 18:37:47 +03:00
Michael Klishin 0075bea594 Merge branch 'master' into rabbitmq-mqtt-16 2015-04-26 18:36:13 +03:00
Michael Klishin e099bf21c0 Tests for retained messages 2015-04-26 04:51:30 +03:00
Michael Klishin e8ae92a910 Don't crash if we get a PUBACK for unknown message
E.g. due to bogus clients that interpret QoS downgrade
in curious ways.
2015-04-26 04:51:04 +03:00
Michael Klishin 3c30c87767 Change how retained message delivery QoS is calculated
We now take the lower value of message QoS and
SUBSCRIBE QoS, per community feedback.
2015-04-25 19:35:47 +03:00
Michael Klishin 36374ca849 Fix a badmatch 2015-04-25 19:34:59 +03:00
Michael Klishin 6ac8d4def5 Implement a DETS-based message store, refactor 2015-04-23 02:48:06 +03:00
Michael Klishin c6979e0435 Handle vhost creation and deletion events 2015-04-22 01:14:15 +03:00
Michael Klishin df47dbd77a Refactor 2015-04-22 00:31:23 +03:00
Michael Klishin b79bd7efb4 Trap exits so that terminate/2 is invoked 2015-04-21 19:07:09 +03:00
Michael Klishin 2c6c21a4ef Undo this accidental change 2015-04-21 17:39:20 +03:00
Michael Klishin a4f4d92fd7 Switch to permanent type 2015-04-21 15:18:48 +03:00
Michael Klishin 0b6e7d5714 put/get/delete operations for retained message store
Yet to be done: dump and restore to disk on shutdown
and boot.
2015-04-21 14:26:46 +03:00
Michael Klishin 1c935cfb21 Process bits for retained message stores 2015-04-18 03:55:34 +03:00
Michael Klishin 9b84dda035 Merge branch 'stable' 2015-04-17 17:01:24 +03:00
Michael Klishin 204dfecea0 Correct a typo 2015-04-16 23:37:23 +03:00
Michael Klishin 8910ce56c6 Correct a typo 2015-04-16 23:36:57 +03:00
Michael Klishin 7b5452415f Ignore test/.idea 2015-04-15 05:53:32 +03:00
Michael Klishin bd6a283e79 Ignore test/.idea/* 2015-03-26 16:59:28 +03:00