118 Commits

Author SHA1 Message Date
ShvaykaD
9fef6b02a3
[3.2] Feature/Proto Converter (#3423)
* device post-telemetry & post-attributes & claim

* device rpc to/from server & attributes request, attributes updates

* refactoring & added implementation for gateway protos api

* added timeseries/attributes mqtt tests

* fix MqttTimseriesIntegrationTest values asserts

* mqtt attributes tests improvements

* optimized time for telemetry & attributes tests

* update proto files, refactoring converter, attribute requests tests

* added claim tests, attribute request test

* added deleted keys to gateway response on attributes request & refactored tests

* added attribute updates test & refactored attribute requests tests

* added attribute updates tests for gateways

* added tests for RPC

* fix tests & cleanup code

* fix typo & cleanup transport.proto file

* added more timeouts

* revert handleGetAttributesRequest method

* revert package-locks

* fix getJsonObjectForGateway method

* fix validateSharedResponseGateway method in AbstractMqttAttributesRequestIntegrationTest

* fix mqtt topics

* fix license headers

* refactor tests

* remove todo and lck files from pull

* improvements for claiming tests

* update device creation logic from gateway request

* refactoring

* extract TransportService process calls to private methods

* fix duplicates & removed empty lines
2020-10-02 11:31:27 +03:00
zbeacon
950907d398 Refactoring according to comments from @YevhenBondarenko 2020-09-29 11:30:32 +03:00
zbeacon
e86c07599c Merge branch 'develop/3.2' of https://github.com/thingsboard/thingsboard into feature/device-provision-3.2-onlyProfileVersion 2020-09-29 11:17:05 +03:00
zbeacon
8a8695f260 Working version for provision feature with provision credentials on device level 2020-09-23 14:24:44 +03:00
zbeacon
15be6d60a3 Added strategy checking 2020-09-22 08:36:08 +03:00
zbeacon
d228208072 Provision init 2020-09-18 16:11:49 +03:00
Andrii Shvaika
2cd61fe6bb Merge branch 'develop/3.2' of github.com:thingsboard/thingsboard into develop/3.2 2020-09-16 16:18:30 +03:00
Andrii Shvaika
f67860bb09 Device Profile Rule Node 2020-09-16 16:16:31 +03:00
Igor Kulikov
f3e52cbd3b Merge branch 'master' into develop/3.2 2020-09-16 12:15:51 +03:00
Igor Kulikov
e7c1901346 Merge branch 'develop/2.5.5' 2020-09-16 12:15:33 +03:00
YevhenBondarenko
e3957ea2aa MqttTransportHandler improvements 2020-09-15 18:29:54 +03:00
Andrii Shvaika
a3326b4464 New type of credentials: MQTT 2020-09-10 17:17:42 +03:00
Andrii Shvaika
ad273deace Custom MQTT Topic filters in device profile 2020-09-09 17:26:35 +03:00
Andrii Shvaika
a8164fadde MQTT REGEX util 2020-09-08 09:24:04 +03:00
Andrii Shvaika
f2d812ddbd Device Profile in Transport 2020-09-07 13:51:15 +03:00
Andrii Shvaika
8090e5201e Gateway Profile update 2020-09-04 17:47:47 +03:00
Andrii Shvaika
73a1a79821 Device Profile updates 2020-09-04 16:51:56 +03:00
Andrii Shvaika
b9b82446eb Transport Type check 2020-09-03 19:05:14 +03:00
Andrii Shvaika
d440d500e5 Mqtt Transport Configuration 2020-09-03 18:38:11 +03:00
Andrii Shvaika
01ec9f048d Transport Refactoring to fetch Device Profile with Credentials 2020-09-03 18:20:49 +03:00
Andrii Shvaika
22755e8763 Device Profile implementation for Transport 2020-09-02 18:52:59 +03:00
Andrii Shvaika
35b2996401 Merge with 2.5.3 2020-08-05 17:15:42 +03:00
nordmif
52bed17489 changed logging level to WARN 2020-08-05 15:00:29 +03:00
nordmif
e5a6ddb03b added logging of MQTT payload errors 2020-08-05 15:00:29 +03:00
nordmif
045c8e3aca added logging of MQTT payload errors 2020-08-05 15:00:29 +03:00
nordmif
b445473e3c added logging of MQTT payload errors 2020-08-05 15:00:29 +03:00
Dmytro Shvaika
a8fe8b9e10 fix typo in ConditionalOnExpression annotation 2020-08-05 14:52:18 +03:00
vzikratyi
67f122647b Added property to disable 'transport' features for 'monolith' service type (in cluster mode) 2020-08-03 16:40:59 +03:00
vzikratyi
61e1ce44aa device creation lock upgrade 2020-07-21 15:06:29 +03:00
Andrii Shvaika
ab890e6b1c Improved handling of peak connect attempts 2020-06-08 13:41:49 +03:00
Andrii Shvaika
2407c868c1 Cluster mode improvements 2020-05-28 17:40:26 +03:00
Andrii Shvaika
a38ee80e09 Refactoring of device creation using gateway 2020-04-29 10:02:00 +03:00
Andrii Shvaika
79b4411c69 Synchronization of device connect processing in gateways 2020-04-29 09:45:24 +03:00
Andrii Shvaika
eb3cc332d1 Fix gateway/device last activity time checks 2020-04-28 18:19:30 +03:00
bdrlamb
cb6e91277f Fix MQTT inactivity disconnects
MQTT clients don't send PINGREQ messages if they've recently sent [UN]SUBSCRIBE/PUBLISH messages.  The MQTT server last activity timestamp is currently only updated in response to PINGREQ messages.  This causes the server to disconnect any clients that regularly send PUBLISH messages since they don't send PINGREQ. 

This change adds reportActivity calls in response to PUBLISH, SUBSCRIBE and UNSUBSCRIBE in addition to PINGREQ.
2020-04-28 14:15:57 +03:00
Andrii Shvaika
d380ac7106 Device -> Server RPC implementation and improvements 2020-04-13 18:33:11 +03:00
Andrii Shvaika
6fe25a2ee2 Refactoring to support TB-Rule-Engine service 2020-03-28 01:42:17 +02:00
Andrii Shvaika
7203e7aa19 Distributed Mode fixes 2020-03-18 18:07:24 +02:00
Andrii Shvaika
f8cc5b3cd2 Transport service refactoring 2020-03-10 17:47:16 +02:00
blackstar-baba
0fa963be85 fix bug:Device reconnect abnormal when certificate authentication is turned on 2020-02-19 14:56:44 +02:00
Igor Kulikov
850d6d948c Update License header year to 2020 2020-01-06 16:52:41 +02:00
Igor Kulikov
1265a9a1e3 Revert "Update License header year to 2020"
This reverts commit 9b42397c4a820688daf07117cb7efefa3f387f46.
2020-01-06 16:48:55 +02:00
Igor Kulikov
9b42397c4a Update License header year to 2020 2020-01-06 16:41:04 +02:00
Andrew Shvayka
6d2b856afe Performance improvement 2019-11-25 18:53:15 +02:00
Igor Kulikov
4255bf485a Fixed memory leaks in MqttTransportHandler (#1787) 2019-07-24 18:35:44 +03:00
Igor Kulikov
78f75440a0 MqttTransportHandler: Use default channelReadComplete implementation to avoid memory leaks. 2019-07-23 17:29:34 +03:00
Igor Kulikov
6cdb508c71
Claiming devices implementation 2019-06-27 10:00:17 +03:00
nordmif
137c9de7f7 added log details 2019-05-16 16:49:28 +03:00
nordmif
eebc6aca69 added try-catch check to converter 2019-05-15 16:31:36 +03:00
nordmif
2731ff69ae trying to pass tests 2019-04-17 14:55:30 +03:00