3046 Commits

Author SHA1 Message Date
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
6e82f4c8f0 Merge branch 'develop/2.5' 2020-04-28 14:09:36 +03:00
Andrii Shvaika
8abb718349 Merge with develop 2020-04-28 14:09:20 +03:00
Andrii Shvaika
86f21023fe Improved PartitionService and fixed startup order in docker-compose.yml 2020-04-27 14:44:29 +03:00
YevhenBondarenko
ba140644c7 added Azure Service Bus queue settings 2020-04-27 11:16:53 +03:00
YevhenBondarenko
30e5af3627 added zookeeper configs to coap and http 2020-04-27 11:16:12 +03:00
YevhenBondarenko
5b8122e1b3 added <logger name="com.microsoft.azure.servicebus.primitives.CoreMessageReceiver" level="OFF" /> 2020-04-27 11:16:12 +03:00
YevhenBondarenko
4aa225baba added exclusions to azure dependency, and added logger level OFF to CoreMessageReceiver 2020-04-27 11:16:12 +03:00
Andrii Shvaika
a779839081 Fixed transport 2020-04-24 19:16:25 +03:00
Andrii Shvaika
b5bedbfdf6 Refactoring of Docker Compose 2020-04-24 14:54:25 +03:00
Andrii Shvaika
a91a69c57f Fixed Docker Compose 2020-04-24 13:55:06 +03:00
Andrii Shvaika
9b0e92cac3 New Default Dashboard and Rule Chains 2020-04-24 12:46:48 +03:00
Andrii Shvaika
1510fe8448 Default Dashboard and Rule Chain 2020-04-24 12:22:34 +03:00
Andrii Shvaika
6b212bb5d7 Merge branch 'master' of github.com:thingsboard/thingsboard 2020-04-23 14:11:08 +03:00
Andrii Shvaika
cf5aa84e67 Changed default partition sizes 2020-04-23 14:10:45 +03:00
Dmytro Shvaika
9a052ef0bc fix typo in EventEntity class 2020-04-23 13:15:55 +03:00
Andrii Shvaika
087ea2d691 Commented Unstable Test 2020-04-23 09:25:25 +03:00
Andrew Shvayka
dbe0348042
Merge pull request #2621 from yefimov-andrey/dev-attributes-name-change
changed device attributes name to clarify its functionality
2020-04-22 19:37:45 +03:00
Andrew Shvayka
c286a489dd
Merge pull request #2655 from ShvaykaD/feature/psql-event-ttl
Events TTL for PostgreSQL
2020-04-22 19:36:58 +03:00
Andrii Shvaika
5dbf7d764c Default Dashboards 2020-04-22 18:52:34 +03:00
Dmytro Shvaika
6d20ed0550 fix event insert repository 2020-04-22 18:09:47 +03:00
Dmytro Shvaika
ce086f915e try to pass travis 2020-04-22 16:53:38 +03:00
Dmytro Shvaika
005d70d2ea fix yml typo 2020-04-22 16:22:10 +03:00
Dmytro Shvaika
a0b4a46c3d fix typo 2020-04-22 16:20:23 +03:00
Dmytro Shvaika
71bf15caf7 improvements 2020-04-22 16:16:58 +03:00
Andrii Shvaika
26a200dcfb Renaming the queues 2020-04-22 14:27:16 +03:00
Andrii Shvaika
0103da1ba4 Improved Callback and Destroy of ndoes 2020-04-22 14:12:57 +03:00
Dmytro Shvaika
005921433c merge with master 2020-04-22 13:29:10 +03:00
Dmytro Shvaika
dc3d1dd794 added ttl for events 2020-04-22 13:03:53 +03:00
Andrii Shvaika
076cf655f8 Improved tests 2020-04-21 23:54:26 +03:00
Andrii Shvaika
b2bb39f7a7 Restored WARN log level for tests 2020-04-21 22:47:06 +03:00
Andrew Shvayka
cd4ea6bdb7
Merge pull request #2643 from thingsboard/develop/2.5
Develop/2.5
2020-04-21 22:32:18 +03:00
Andrii Shvaika
53eb09bcb9 Improvements to tests due to new architecture 2020-04-21 22:31:25 +03:00
Andrii Shvaika
d965df8c27 Merge remote-tracking branch 'origin/master' into develop/2.5 2020-04-21 21:20:48 +03:00
YevhenBondarenko
283ad27cb5 added rabbitmq queue arguments 2020-04-21 20:55:02 +03:00
Dmytro Shvaika
3a3cee375b Merge branch 'master' into feature/psql-event-ttl 2020-04-21 18:55:22 +03:00
Bohdan Smetaniuk
eab6ba4598 StringBuilder replaced with String 2020-04-21 13:31:30 +03:00
Bohdan Smetaniuk
c3bd2a0ebe Fixed incorrect params in the get timeseries request 2020-04-21 13:31:30 +03:00
YevhenBondarenko
2ad4ddf1fb pubsub improvements 2020-04-21 12:56:06 +03:00
YevhenBondarenko
1b9df18c45 created TbPubSubSubscriptionSettings 2020-04-21 12:56:06 +03:00
Ilya Barkov
149ec2804b
Feature/gateway remote configuration (#2627)
* new widget for gateway with the last telemetry type

* add isStateForm for the last telemetry type

* add config update save

* update thingboard yaml

* remove update thingboard yaml

* add new widget to gateway_widgets.json

* delete state gateway

* delete state gateway

* Revert "delete state gateway"

This reverts commit d8024ead

* change yml

* edit name isReadOnly

* fix bug  isReadOnly

* [Gateway remote configuration] Changed default logs.conf file

Co-authored-by: nick <nick.@avalr.com.ua>
2020-04-20 16:20:33 +03:00
Andrii Shvaika
58d9c313a8 Fixed tests 2020-04-20 16:12:03 +03:00
Andrii Shvaika
341f0d14ab Fixed tests inconsistency due to new queues 2020-04-20 12:05:27 +03:00
Andrii Shvaika
9ee0b34f0d Merge remote-tracking branch 'origin/develop/2.5' into develop/2.5 2020-04-20 11:02:58 +03:00
Andrii Shvaika
b1f87206f3 Minor improvements 2020-04-20 11:02:40 +03:00
Andrew Shvayka
eae9d3c8e2 Processing Atempt Context Improvement 2020-04-20 10:55:25 +03:00
Andrew Shvayka
adae8aeb30 Improved implementaton of ProcessingAttemptContext to avoid synchronizations 2020-04-17 16:55:17 +03:00
YevhenBondarenko
12973cecf1 added method destroy to admins and aws sqs factories 2020-04-17 15:17:06 +03:00
YevhenBondarenko
9fa82078a0 created TbAwsSqsQueueAttributes and added queue properties to yml 2020-04-17 15:17:06 +03:00
ShvaykaD
0a136588eb
CheckPoint Node ui, Queue Controller, queue-type-list directive (#2612)
* init commit

* ui: service for queue

* merge with develop/2.5 & fix license

* queue directive

* queue directive

* queue-type-list directive & TbCheckPointNode

* added rulenode-core-config.js file

* added new rulenode-core-config.js

* Develop/2.5 check point node (#3)

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* Develop/2.5 check point node (#4)

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

* fixed mistakes to pull https://github.com/thingsboard/thingsboard/pull/2612

Co-authored-by: Dmitriymush <powder322@gmail.com>
Co-authored-by: Dmitriy Mushat <54553744+Dmitriymush@users.noreply.github.com>
2020-04-15 17:48:47 +03:00