Commit Graph
71 Commits
Author SHA1 Message Date
andsel 033a428184 Fixed checkStyle and ErrorProne warns 2018-04-26 22:23:06 +02:00
Andreas Mager 4d59a54ad0 ServerIntegrationSSLTest: System properties saved
ServerLowlevelMessagesIntegrationTests: timeouts raised

osgi: log4j.properties added
MoquetteOsgiTest: test imporved

storage packages will checked too
The state must be active
osgi: README added for development
log4j: fixed
broker/pom.xml: dependencie added osgi config added
osgi_test/pom: dependencies added

MoquetteOsgiTest: test fixed
2017-08-23 21:47:09 +02:00
andsel 23b903e2f2 - moved and cleaned many part of Paho integration tests to unit tests
- fixed bug that on conflicting connect close old channel but not dropped from ConnectionDescriptors cache
2017-06-29 17:00:14 +02:00
andsel 03c4874a50 Moved tests from integration to unit and extracted and simplified common test part in ProtocolProcessor unit test 2017-06-29 16:59:56 +02:00
andsel 949e531448 Switched to Netty 4.1.12 to use MqttMessageBuilders 2017-06-10 16:55:00 +02:00
Andreas Mager 9221a87812 editorconfig: max line length set
max line length warnings removed
missing Copyright added
useless publics removed
unmaintainable Javadoc tags: @author removed
helper class warnings removed
field default value initialization removed
Multiple warnings removed
pref: checkstyle warnings removed
Checkstyle will fail the build process if it detects violations
switch default cases error logger added
2017-04-13 22:16:57 +02:00
andsel 6dc762f47f Introduced the FlightZone concept (inbound and outbound) and separated logic of storage system. 2017-04-09 19:22:50 +02:00
andsel 5c6889fbd5 Separated persistence layer, created submodule for MapDB persistence letting the broker use the in-memory message store 2017-04-01 16:21:34 +02:00
andsel 7ffb8fb43b Minor, just layout 2017-03-25 15:40:33 +01:00
andsel 9440352e56 Minor, fixes the output of mapdb data into targetdir (solves #288) 2017-03-25 15:38:10 +01:00
Andreas Mager 63d2f2dd69 broker/MapDBPersistentStore: Interfaces used for the Constructors
broker/IStore: Interface added for MapDBPersistentStore
broker/ProtocolProcessorBootstrapper: class loader for store added
broker/ISessionsStore#mapToGuid: moved to IMessagesStore
broker/ProtocolProcessorBootstrapper: getter used for SessionStore
broker/Server: getter for processor added
broker/ProtocolProcessor: getter added for Stores
2017-03-20 13:04:14 +01:00
andsel ec6ec09cee Minor fixed comment (#281) 2017-03-19 22:01:23 +01:00
Andreas Mager a2e51b2c31 broker/Topic: class added
broker/Topic: String Topics replaced by Topic class
broker/Topic#parseTopic: access set to private
broker/SubscriptionsStoreTest: topic tests moved to own class
broker/TopicTest: containsExactly used
broker/TopicTest: TopicAssert class added
broker/TopicTest$TopicAssert#containsToken: method added
broker/TopicTest$TopicAssert#matches: method added
2017-02-19 18:29:37 +01:00
Andreas Mager e68c5ce4b0 broker/ConfigurationParserTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 0fc231909c broker/ClasspathResourceLoaderTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager fde2a77aae broker/ServerRestartIntegrationTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 6d4f076969 broker/ServerLowlevelMessagesIntegrationTests: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 6f2796f851 broker/ServerIntegrationWebSocketTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 478ec61cb0 broker/ServerIntegrationSSLTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 667505b13a broker/ServerIntegrationSSLClientAuthTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 4f810fc7fd broker/ServerIntegrationQoSValidationTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager dab5efea30 broker/ServerIntegrationPahoTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 5823bdae46 broker/ServerIntegrationHazelcastHandlerInterceptorTest: code formatter
used
2017-02-01 17:13:42 +01:00
Andreas Mager 139db5e5b8 broker/ServerIntegrationFuseTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 4e9e7a8bc1 broker/test/ServerIntegrationEmbeddedPublishTest: code formatter used 2017-02-01 17:13:42 +01:00
Andreas Mager 7b57f04db9 broker/test/ServerIntegrationDBAuthenticatorTest: code formatter used 2017-02-01 17:13:41 +01:00
Andreas Mager 42bd234c76 broker/test/MQTTWebSocket: code formatter used 2017-02-01 17:13:41 +01:00
Andreas Mager 59af0f34ec broker/test/MessageCollector: code formatter used 2017-02-01 17:13:41 +01:00
Andreas Mager 57aaac8a8f broker/test/IntegrationUtils: code formatter used 2017-02-01 17:13:41 +01:00
Andreas Mager dd41de430e broker/test/ConfigurationClassLoaderTest: code formatter used 2017-02-01 17:13:41 +01:00
andsel 1c64186a00 Switched from Moquette's MQTT codec to Netty's MQTT codec ones 2017-01-28 15:59:44 +01:00
andsel 3f0ab75efb Updated copiright to year 2017 2017-01-04 14:37:29 +01:00
andsel 480e36579c Fixed NPE exception of inflight ACK because the publisher with clean=true removed all messages, also the published from message store 2017-01-04 11:17:30 +01:00
andsel 4029ddd2b1 Removed ClasspathConfig to use the ClasspathResourceLoader and basic ResourceLoaderConfig
Removed FilesystemConfig to use the FileResourceLoader and basic ResourceLoaderConfig
2016-12-31 19:30:41 +01:00
andsel 0f41c9ea08 Changed default behaviour to use persistent sotre, now use in memory as default and not FS moquette.mapdb (Fix issue #242) 2016-12-31 16:06:18 +01:00
andsel ac2086a0e0 Fixed failing test due to more strict endpoint check from Netty 4.1.x 2016-12-30 00:33:10 +01:00
andsel db7a597bcc Fixed timeout in test 2016-12-28 22:22:27 +01:00
andsel b6239b3c5c Changed SUBSCRIPTION processing to be based on concurrent FSM 2016-11-27 21:35:20 +01:00
teranisi 81a1d8d2b2 Add 'getSubscriptions' API on Server.
Add a test for sessions without clean session flag.
2016-10-20 14:23:57 +09:00
andsel 5efad350d8 Fixed the configuration of HZ for local tests to avoid multicast preferring tcp local address 2016-09-12 17:49:40 +02:00
Jacoby 36daf153db * Bugfix - persistence file could not be deleted under Windows because it was in use by the server 2016-08-18 16:20:14 +02:00
andsel fedd2965cc Fixed Hazelcast itnegration tests, removing unusefull thread sleeps, but more important permitting the co existence of 2 Brokers in the same JVM 2016-07-22 12:09:10 +02:00
mackristof eec4dc1779 feat(cluster): add default clustering feature 2016-06-28 17:27:35 +02:00
Martin Crawford d622adb4ef Add clientID parameter to the IAuthenticator interface (breaks compatibility). 2016-06-26 10:01:15 -04:00
andsel 0c4f7fa393 Refactored the part of move from inFlight to second stage rel ack, this driven to missed notification to the interceptors 2016-06-16 23:01:48 +02:00
andsel d5399995c3 Regenerated some keystore used in tests with commands described in ServerIntegrationSSLClientAuthTest.java 2016-05-29 21:31:49 +02:00
andsel e41e55f5aa Added the 'disabled' keyword in config to disable a listener on a port 2016-05-18 00:11:19 +02:00
chris-lumigrow 4bf2f60f42 commit failing test for ClasspathConfig's null pointer issue 175 2016-05-18 00:11:18 +02:00
andsel 5f003ccb05 MOved conenct method into the test support class Client 2016-05-18 00:11:18 +02:00
mackristof 4bcecd5aa3 Added integration of DBAuthenticator & integration test with H2 DB 2016-05-13 16:43:08 +02:00