andsel
3e37df1275
Renamed addInFlight and cleanInFlight to be related to temp messages, not really relate to in-flight
2015-09-29 21:19:11 +02:00
Andrea Selva
76bdd00a18
Merge pull request #107 from kazvictor/Server-Shutdown-Test-and-Fix
...
Stopping the persistence commit scheduler in MapDBPersistentStore when it is closed
2015-09-29 21:08:58 +02:00
Victor Kazakov
a9404bdf31
Stopping the persistence scheduler in MapDBPersistentStore when it is closed. Adding a test to make sure all threads get stopped when the broker is stopped.
2015-09-25 11:39:24 -07:00
Victor Kazakov
767e2ba4b7
Fixing QOSType encoding and decoding of FAILURE qos (0x80). This was causing bug with decoding a SubAck with failure qos type. See Appendix B: MQTT-3.9.3-2
2015-09-23 16:30:40 -07:00
runafter
709f6d7c4a
Fix multiple client using SSL issue #91
2015-09-22 13:34:18 +09:00
andsel
6e1524817e
Fixed ugly empty session storage, avoid fake NullObject empty subscription subscription
2015-09-20 14:10:28 +02:00
andsel
f1e2aff331
Minor, splitted ProtocolProcessorTest into 2 sub TestSuites
2015-09-20 11:31:59 +02:00
andsel
e68a485e16
Minor added check fake issue #87
2015-09-19 19:58:05 +02:00
andsel
e08cf95135
Changed willMessage and password in CONNECT message from String to byte[] (fix issue #94 and #95 )
2015-09-16 23:25:15 +02:00
andrea
d8875dd8b9
Moved config part in its separate package
2015-08-22 15:40:55 +02:00
andrea
560559fad2
Abstracted configuration part to use filesystem or classpath files
2015-08-22 15:35:11 +02:00
Wagner Macedo
96c63b5e6f
Encapsulating every intercept data
...
- Removed UnmodifiableConnectMessage and UnmodifiablePublishMessage
classes.
2015-08-17 17:54:08 -03:00
andrea
bafcca4c58
Added checking of valid topicFilter format in unsubscribe
2015-08-10 23:07:47 +02:00
andrea
c3224c2a5b
Minor change, updated copyright to 2012-2015
2015-08-08 19:36:14 +02:00
andrea
0c114d3dab
Minor changed, fixed typo in method name (ProcotolVersion to ProtocolVersion)
2015-08-08 19:03:27 +02:00
andrea
dc55ff4078
Removed never used and unsufull no-op interceptor, forced usage of BrokerInterceptor, changed BrokerInterceptor to work on a list of InterceptHandler
2015-08-08 18:37:32 +02:00
andrea
9daff2b738
Removed unsufull classes and moved out of internal broker structures the firing of interceptor events
2015-08-08 11:29:58 +02:00
Wagner Macedo
8a3fa2956c
Added unit tests for interceptor
2015-08-02 12:40:15 -03:00
andrea
5bfc73fafb
Minor changes
2015-08-01 16:45:28 +02:00
andrea
fd1df47fec
Fixed issue #65
2015-08-01 11:59:00 +02:00
Luca Capra
ea98ccb8f1
add classloader tests
2015-07-06 18:35:31 +02:00
andrea
ac2eb6dce0
Fixed bad qos publish, issue #56
2015-06-28 19:53:22 +02:00
andrea
b8af814940
Changed Subscription equals to use also cleanSession flag in equality check
2015-06-28 16:26:10 +02:00
andrea
5416a87149
Anticipated credentials check before dropping an already connected clientID
2015-06-28 15:31:21 +02:00
andrea
7dece38b57
Fixed multiple publish notification for overlapping subscriptions (fix issue #52 )
2015-06-23 23:23:38 +02:00
andrea
336c452ef3
Added remove of subscribed topic during processing of UNSUBSCRIBE message (fix issue #50 )
2015-06-21 17:49:39 +02:00
andrea
78b3f1faf8
Minor change, removed redundant parameter in method addNewSubscription of session storage
2015-06-21 16:37:44 +02:00
andrea
932d2fb4cb
Fixed issue #49 , duplication of subscription with different QoS
2015-06-21 15:55:39 +02:00
andrea
867d78b650
Fixed issue #43 , not clean handlng of bad formatted topic filters during subscrion
2015-06-20 18:27:43 +02:00
andrea
3f4a5586de
Fixed mem leak due to caching of object without hasCode (NettyChannelContext
2015-06-07 17:47:50 +02:00
andrea
78eddadac4
Added user substitution during ACL pattern mathing
2015-05-26 22:51:16 +02:00
andrea
db4b7ca192
Added trivial implementation of ACL patterns
2015-05-26 22:40:34 +02:00
andrea
059fd89b69
Implemented the part of parsing and accessing the user specific ACLs
2015-05-26 00:06:22 +02:00
andrea
9a97b00750
Minor change, removed unusefull ParseExeptions logging
2015-05-20 23:38:15 +02:00
andrea
443bf7ab85
Refactored the collection of all ACL in a specialized collector class instead of using plain List
2015-05-20 23:34:42 +02:00
andrea
8b8058dc47
Added basic initial implementation for ACL validation
2015-05-19 22:07:57 +02:00
andrea
f3ed351c61
Added plumbing code to use the concept of Authorizator into publish semantic
2015-05-17 16:24:37 +02:00
andrea
6d3fbc4591
Implementd basic parsing fro ACL lines
2015-05-17 12:34:46 +02:00
andrea
29bdd2f8fb
Modified the format of password_file.conf now accept only sha256 hashed passwords
2015-05-13 22:25:05 +02:00
andrea
9d8e9df44e
Added handling of allow_anonymous, fix issue #34
2015-04-25 19:49:41 +02:00
andrea
87ee72ad9d
Fixed #30 bad remove of mapdb file in integration test (ServerRestartIntegrationTest)
2015-04-08 23:19:23 +02:00
andrea
546117253d
Moved the default store path to project home (only for tests)
2015-04-07 07:51:44 +02:00
andrea
1a2dade994
Fixed issue #25 due to bad packetID generation
2015-04-07 04:29:00 +02:00
andrea
331244ddd2
Removed long Constants name refs
2015-03-15 16:45:11 +01:00
andrea
0aad3cbbf3
Fixed constructor of ConfigurationParser to do mergind of provided properties
2015-03-14 17:31:11 +01:00
swarwick
34c668714a
More tests fixed up after path and constants changes
2015-03-14 16:38:45 +01:00
swarwick
9fa667845e
Fixing the tests
2015-03-14 16:38:37 +01:00
swarwick
d215ba8c8b
More checking of the delete of the mapdb file
...
Lots of issues I guess with deleting temp files for mapdb
2015-03-14 16:38:22 +01:00
swarwick
d7f2493811
Moving hard coded strings to constants
...
Adding more hard coded strings to the constants. I am not really sure
why there are 2 constants java classes either.
2015-03-14 16:37:55 +01:00
swarwick
6cc5b0edb9
Update for default configs
...
Update to allow for default config properties if some are not specified
with the start server and properties passed in. Updated the tests to
match and also moved a few more things into the Constants.java file.
2015-03-14 16:37:41 +01:00