1520 Commits

Author SHA1 Message Date
Andrii Shvaika
830d02ef6a Fix for HTTP and CoAP device activity 2020-05-04 14:00:18 +03:00
Igor Kulikov
d3cbfdce27 Merge branch 'master' of github.com:thingsboard/thingsboard into develop/3.0 2020-04-29 11:43:10 +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
Igor Kulikov
a4cd853a20 Merge branch 'master' of github.com:thingsboard/thingsboard into develop/3.0 2020-04-28 18:48:44 +03:00
Andrii Shvaika
eb3cc332d1 Fix gateway/device last activity time checks 2020-04-28 18:19:30 +03:00
Igor Kulikov
45f3d5324e Merge branch 'master' of github.com:thingsboard/thingsboard into develop/3.0 2020-04-28 14:29:02 +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
91aa7a2700 Merge with master (2.5) 2020-04-27 00:40:21 +03:00
Andrew Shvayka
38ebbe2576 Revert "Merge with master. AlarmRepository.findAlarms is failing (#2663)"
This reverts commit 2c02406ee5f41b08e655b634dd9871403f67149d.
2020-04-24 19:42:32 +03:00
Andrii Shvaika
a779839081 Fixed transport 2020-04-24 19:16:25 +03:00
Andrew Shvayka
2c02406ee5
Merge with master. AlarmRepository.findAlarms is failing (#2663)
* Merge with master. AlarmRepository.findAlarms is failing

* Fix Alarm repository. Add queue type list select.

Co-authored-by: Igor Kulikov <ikulikov@thingsboard.io>
2020-04-24 15:44:31 +03:00
Andrii Shvaika
b1f87206f3 Minor improvements 2020-04-20 11:02:40 +03:00
Andrii Shvaika
d380ac7106 Device -> Server RPC implementation and improvements 2020-04-13 18:33:11 +03:00
Andrii Shvaika
6c4b50a380 Implemented dedicated RE per tenant 2020-04-13 14:59:48 +03:00
Andrii Shvaika
638ca0e1d1 Refactoring to multiple queues for rule engine 2020-04-06 18:35:43 +03:00
Yevhen Bondarenko
2553cf6b6f
created Aws Sqs Queue (#2534)
* created Aws Sqs Queue

* improvement AwsSqs providers

* revert package-lock.json

* Aws sqs improvements

* Aws sqs improvements

* Aws sqs improvements

* Aws sqs improvements

* aws improvements

* aws improvements

* aws improvements

* added visibility timeout to aws queue
2020-03-30 19:13:34 +03:00
Andrii Shvaika
c4269023dd Fixed Conditional annotations 2020-03-28 02:30:37 +02:00
Andrii Shvaika
6fe25a2ee2 Refactoring to support TB-Rule-Engine service 2020-03-28 01:42:17 +02:00
Andrii Shvaika
7531a26e61 Implementation of RPC Call support 2020-03-25 22:11:47 +02:00
Andrii Shvaika
07bdcac0fe Refactoring of Rule Engine API 2020-03-24 19:18:27 +02:00
Andrii Shvaika
99d322d449 Refactoring of the rule engine 2020-03-24 10:35:54 +02:00
Andrii Shvaika
ce6ec88983 Refactoring of the websocket and subscription services 2020-03-20 18:00:57 +02:00
Andrii Shvaika
7203e7aa19 Distributed Mode fixes 2020-03-18 18:07:24 +02:00
Andrii Shvaika
7de485f453 Kafka configuration 2020-03-17 14:26:44 +02:00
Andrii Shvaika
2a815058e7 Improvements and bugfix to QueueProviders 2020-03-17 12:38:28 +02:00
Andrii Shvaika
23c017567b Implementation of Queue Interfaces 2020-03-16 19:24:56 +02:00
Andrii Shvaika
e50796d84e Service Discovery improvements 2020-03-13 20:33:17 +02:00
Andrii Shvaika
52814d2bfc Refactoring of Transport Communication to Queues 2020-03-12 09:36:48 +02:00
Andrii Shvaika
6e31c0ab15 Refactoring of configuration properties 2020-03-11 20:09:41 +02:00
YevhenBondarenko
4ad4fe11da created in memory queue 2020-03-11 17:35:31 +02:00
Andrii Shvaika
f8cc5b3cd2 Transport service refactoring 2020-03-10 17:47:16 +02:00
Andrii Shvaika
7b2bdeab23 Refactoring of Transport Interfaces 2020-03-10 14:03:06 +02:00
Andrii Shvaika
b7c652ab07 Refactoring of Queue Interfaces 2020-03-09 18:23:44 +02:00
Igor Kulikov
96d3b245b0 Revert to version 3.0.0-SNAPSHOT 2020-02-20 12:35:01 +02:00
blackstar-baba
0fa963be85 fix bug:Device reconnect abnormal when certificate authentication is turned on 2020-02-19 14:56:44 +02:00
Andrew Shvayka
03f5375a02
JSON support (#2415)
* Created JsonDataEntry and added DataType JSON

* Added json to ts and attributes, created sql schema-entities-hsql.sql (json_v varchar)

* refactored

* refactored

* added json array support

* Aggregation improvement

* Changed in JsonDataEntry value type from JsonNode to String

* fix AggregatePartitionsFunction

Co-authored-by: Yevhen Bondarenko <56396344+YevhenBondarenko@users.noreply.github.com>
2020-02-14 19:18:18 +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
cacdf09eef More clear thread names 2019-12-20 13:50:07 +02:00
Igor Kulikov
c84a8a5e67 Version set to 2.5.0-SNAPSHOT 2019-12-10 15:25:03 +02:00
Andrew Shvayka
f9abf1c7a2 Improved reporting of last activity time from remote transport 2019-12-10 12:50:20 +02:00
Igor Kulikov
1b5a8ac6fc Improve remote transport service to process rule engine callbacks asynchronously 2019-12-05 18:02:12 +02:00
Andrew Shvayka
e31b7ba988 Change Executor type for Transport Layer 2019-12-05 15:54:00 +02:00
Andrew Shvayka
6d2b856afe Performance improvement 2019-11-25 18:53:15 +02:00
Andrew Shvayka
3ad552b735 Allow Nulls in JsonConverter for usability 2019-10-30 18:43:07 +02:00
Igor Kulikov
41527ca059 Version set to 2.4.2-SNAPSHOT. Restore Black Box Tests. 2019-10-18 12:44:52 +03: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