Commit Graph
100 Commits
Author SHA1 Message Date
Andrea Selva f32c8f5fe6 Minor change, moved upstairs the Google group ref 2016-03-23 22:46:27 +01:00
andsel 9b75a6a0a9 Fixed failing test 2016-03-06 20:02:10 +01:00
andsel cd908f7e44 Added memory queue to before pushing to Netty, first step to have a persistent queue per channel 2016-03-06 19:50:47 +01:00
andsel 4e8f72a34b Moved test to use a test client callback that queue up all received messages 2016-03-06 19:50:47 +01:00
andsel 6cadaebb0c Minor, rewritten test to user Paho instead of fusesource mqtt client 2016-03-06 19:50:47 +01:00
andsel efbfab7914 Minor, moved tests from ServerIntegrationFuseTest to ServerIntegrationPahoTest to limit the usage of fusesource mqtt client 2016-03-06 19:50:47 +01:00
andsel 7bb02d9a2a Defined attribute for package to OSS Sonatype, and to GPG sign the artifacts 2016-03-06 19:50:47 +01:00
Andrea Selva 1604c71c33 Merge pull request #149 from konradmichael/clientAuth
Enables client authentification for SSL
2016-02-29 13:35:34 +01:00
Andrea Selva 368100f77c Merge pull request #148 from redsolo/master
Unable to find org.eclipse.paho.client.mqttv3 dependency
2016-02-06 10:51:40 +01:00
andsel 62c5985a34 Fixed merged dep 2016-02-03 23:31:58 +01:00
andsel 91505c9350 Fixed dependency 2016-02-03 23:28:38 +01:00
andsel 5487303095 Merged parser_commons into netty_parser 2016-02-03 23:20:15 +01:00
andsel 5c7e2b357f Fixed missed clean session for ClientSession, issue #145 2016-02-02 22:39:11 +01:00
andsel d36de24349 Minor, modified access to fields of SubscribeMessage.Couple 2016-01-30 17:35:28 +01:00
andsel a19af18a61 Moved read authorization check from publish phase to subscribe 2016-01-30 17:22:17 +01:00
andsel 69c1219f2b Minor added source and javadoc jars creations 2016-01-30 11:54:17 +01:00
andsel 8c14efb7d8 Added integration test to check issue #142 2016-01-30 11:46:06 +01:00
andsel 25b6413be1 Minor, removed unused map in MapDBMessagesStore 2016-01-30 11:05:03 +01:00
andsel dfa75e145f Fixed bug #143 avoid publication try to disconnected clients 2016-01-25 22:21:38 +01:00
andsel 43f7223a15 Minor refactory, renamed var names from session to channel 2016-01-24 19:21:24 +01:00
andsel 3be2667844 Minor refact, moved Channel's attributesKey accessible by utils methods 2016-01-24 19:21:24 +01:00
andsel 43371d3068 Minor refact, moved commons Channel attributes constants from NettyChannel to NettyUtils 2016-01-24 19:21:24 +01:00
andsel aa94d47148 Minor change, removed commented code 2016-01-24 19:21:24 +01:00
andsel 7b1db3e1db Refactoring, dropped unuseful ServerChannel abstraction in favor on Netty's Channel 2016-01-24 19:21:24 +01:00
andsel beb556c73c First clean of Moquette's channel abstraction to user Netty's one 2016-01-24 19:21:24 +01:00
andsel c7e82497dd Updated version path to download the artifact 2016-01-21 22:47:15 +01:00
andsel ff93fcdc9c Changed BinTray name from org.dna.mqtt to io.moquette to let the artifacts be pushed on JCenter 2016-01-21 22:44:36 +01:00
andsel 5b6d0ced6e Bumped dev cycle for 0.9-SNAPSHOT 2016-01-17 13:32:14 +01:00
andsel a44d6b09a8 Bumped release 0.8 2016-01-17 13:04:45 +01:00
andsel 4c1f36cf67 MOved the method nextClientID from IMessagesStore to the ISessionsStore because it's session related 2016-01-17 13:00:36 +01:00
andsel 5daf1362cc Rollback issue #130 because the remove from the inflight is done by MapDBSessionsStore.inFlightAck 2016-01-17 12:29:55 +01:00
andsel cf252da519 Minor change, added loggin for testing ProtocolDecodingServer 2016-01-03 17:29:44 +01:00
andsel 5f83465529 Removed a queue per client of inFlightIds (never cleaned) in favor of single atomic generator, fixes issue #130 2016-01-02 16:43:12 +01:00
andsel 9c8e96df16 Minor change 2016-01-01 17:22:09 +01:00
andsel 163858e47b Fixed bug in deletion of valid conn descriptor once different clients with same ID connects (issues #116 and #124) 2015-12-27 13:19:16 +01:00
Andrea Selva 571eaa1378 Merge pull request #135 from stannislin/master
Change the executing name of class in moquette.sh
2015-12-22 16:40:32 +01:00
andsel 8e891da49f Removed client active/not active state from persistence (issue #118) 2015-12-19 18:01:54 +01:00
andsel 4f65a59324 Minor change, upgraded mqtt-client from Fuse to 1.12 2015-12-19 17:58:27 +01:00
andsel 446c846572 Exposed the a Server.start method to injiect IAuthenticator and IAuthorizator to be embedded (fix issue #114) 2015-12-13 17:01:23 +01:00
andsel f44518ff27 Moved security SPI related interfaces into dedicated package 2015-12-13 16:42:04 +01:00
andsel 51627ea2f6 Added ISslContextCreator method argument to Server.startServer to use embedded SSL certificates (fix issue #115) 2015-12-13 16:36:47 +01:00
andsel b280089225 Minor changes, fixed a type in method name 2015-12-13 14:08:56 +01:00
andsel db66f19109 Added sleep in integration tests to let MQTT clients finish it's job when we need a serial behaviour 2015-12-08 19:46:43 +01:00
andsel 6cb67eb6c8 Fixed integration tests for internal publish 2015-12-08 19:27:47 +01:00
andsel 16a5556fa3 Added internal publish once the broker is embedded in hosting applications 2015-12-08 18:12:00 +01:00
andsel 6805cf89ee Minor change, just renames 2015-12-08 15:15:51 +01:00
andsel 8c88567c78 Minor change, moved const definition from Constants inside parser-commons to BrokerConstants inside broker project 2015-12-08 14:04:35 +01:00
andsel f41f7dafb9 Added sample publish InterceptHandler implementation to EmbeddedLauncher (#104 publish listner part) 2015-12-08 12:07:03 +01:00
andsel 5a1cd97b71 Removed clean session flag from subscription and moved in the correct place (ClientSession) 2015-12-06 19:55:04 +01:00
andsel 80569d5dfe Minor change, added a factory method for ClientTopicCouple built from Subscription 2015-12-06 19:31:36 +01:00
andsel 585bf7523e Minor chane, fixed integration scripts for many connections 2015-12-06 19:04:26 +01:00
andsel 9ce9a6597f Architechtural refactory, moved subscription out of tree and into db store 2015-12-06 11:43:29 +01:00
andsel 490c6a763d Adapted issue #79 integration tests scripts to be used for #119 2015-12-01 23:20:51 +01:00
andsel 7325c8e7bc Minor, cleaned imports 2015-12-01 23:00:42 +01:00
andsel 1cc1807aec Removed excessive dump trees, lowered to trace level 2015-12-01 23:00:23 +01:00
andsel 810d8a1af8 Removed TreeNode's parent reference to avoid maintaning a reference that could keep live big trees (solves #119 and #126) 2015-12-01 22:59:38 +01:00
andsel e3b6391653 Added 'autosave_interval' fix issue #97 2015-11-22 16:56:40 +01:00
andsel 72f628888e Minor change 2015-11-20 21:36:52 +01:00
andsel 371c740321 Moved project package from org.eclipse.moquette to io.moquette 2015-11-20 21:30:59 +01:00
andsel f438ef7f49 Separated ISessionsStore and IMessagesStore Memory implementations 2015-11-19 00:16:18 +01:00
andsel 892eecfa2b Separated ISessionsStore and IMessagesStore MapDB implementations 2015-11-19 00:15:43 +01:00
andsel 9f9d01ec58 Changed retained persistence to use the global message store and guids, instead of duplicate msg contents 2015-11-18 22:25:14 +01:00
andsel faf1abb896 Cleanup of unused classes 2015-11-17 21:47:04 +01:00
andsel fdf5b03983 Removed no more used methods 2015-11-16 23:53:10 +01:00
andsel 9236def453 Used the message store for QoS2 messages 2015-11-16 23:45:47 +01:00
andsel dbf86c9408 Minor change, removed commented code 2015-11-15 13:27:35 +01:00
andsel 7fb9198373 Fixed missed store/load of guid for StoredPublishEvent 2015-11-15 13:21:28 +01:00
andsel 02b23ef926 Fixed bad client session load on republish 2015-11-15 12:55:30 +01:00
andsel 2cd6077287 Fixed packetId missed cleanup 2015-11-15 12:54:30 +01:00
andsel 191a94e19d First refactoring using the concept of ClientSession also for publish 2015-11-15 11:16:18 +01:00
andsel ce1618cb52 Minor changes, refactored ConnectionDescriptor to be an immutable object 2015-11-10 22:24:35 +01:00
andsel 608a72d3ac Minor change, removed unused reference 2015-11-08 18:42:03 +01:00
andsel 19dac6e32b Refactored the disconenct and clean of session to use new ClientSession 2015-11-08 18:42:03 +01:00
andsel 635c87389d Refactored ProtocolProcessor.processUnsubscribe to use the ClientSession concept instead of direct access to map storage 2015-11-08 18:42:03 +01:00
andsel 9a18739a7f Refactored ProtocolProcessor.processSubscribe to use the ClientSession concept instead of directe access to map storage concepts 2015-11-08 18:42:03 +01:00
andsel c793ded63e Introduced 'fat' ClientSession class responsible to model the concept of an MQTT client session 2015-11-08 18:42:03 +01:00
Andrea Selva 0b5c95ee57 Merge pull request #121 from sboorlagadda/ISSUE-120
deleted the file in teardown
2015-10-27 22:55:46 +01:00
andsel 165a0aebd5 Removed unusefull SubscriptionsStore.clearAllSubscriptions used only in tests 2015-10-17 21:08:06 +02:00
andsel 1d25839f53 Refactory, moved SubscriptionStore related method directly in the subscriptioStore from ProtocolProcessro 2015-10-17 20:43:53 +02:00
andsel a7aba651b8 Fixed bug #108, remove of clientID for a stolen session the new session get immediately removed 2015-10-17 18:52:04 +02:00
andsel c96ce9d37e Minor, used project.version where possibile to simplify the poms 2015-10-17 13:18:05 +02:00
Andrea Selva afd710fccc Merge pull request #117 from wagnerluis1982/master
Set maven POM version as constant (fix issue #112)
2015-10-17 13:05:35 +02:00
andsel 85872eec19 Changed SubscriptionsStore overall tree (ones based on clientID) operations to copy all the tree 2015-10-10 19:16:30 +02:00
andsel ef9af6edae Minor change, removed unused method 2015-10-10 16:18:25 +02:00
andsel b35eb9ec81 Removed back ringbuffer 2015-10-05 21:25:30 +02:00
andsel 54c68a61c0 Added timeout check during shutdown of MapDB storage 2015-09-30 22:12:36 +02:00
andsel 6ab413de68 Fixed server shutdown, it doesn't flushed the MapDB to disk 2015-09-30 21:41:55 +02:00
andsel 7fb9d2d55a Removed commented code 2015-09-29 22:29:25 +02:00
andsel f45c0a76e1 Changed the subscription tree to work as persistent tree 2015-09-29 22:29:25 +02:00
andsel 46f9a38056 Removed frot ringbuffer (old isolation from Netty's thread and single protocol processor thread) 2015-09-29 22:29:24 +02:00
andsel b7169271ac Moved test of MapDBPersistenceStore into the test unit 2015-09-29 22:07:45 +02:00
andsel 9effc1edb5 Minor change 2015-09-29 21:44:35 +02:00
andsel a697e77e6c Minor change 2015-09-29 21:41:58 +02:00
andsel db6d296c20 Minor change 2015-09-29 21:39:32 +02:00
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
andsel cc4b3715c5 Minor change, avoid to remove and add to the Netty's pipeline the MoquetteIdleTimoutHandler 2015-09-24 12:05:50 +02:00
andsel ea2daa688f Merge branch 'master' of github.com:andsel/moquette 2015-09-24 11:31:20 +02:00
Andrea Selva 4e32988661 Merge pull request #106 from kazvictor/QOSType_encode_decode_fixes
Fixing QOSType encoding and decoding of FAILURE qos (0x80).
2015-09-24 11:30:45 +02:00
andsel 5e397ea6d9 Minor change, just changed log level in PublishDecoder 2015-09-23 17:05:48 +02:00