248 Commits

Author SHA1 Message Date
zbeacon
680eb89fa0 Added validation for device name in provision request, if it is present. Added session closing when provision client tries to use topics not allowed for provisioning feature 2020-11-25 10:55:06 +02:00
Andrii Shvaika
529608e60f Improved transport cache invalidation for device updates 2020-11-24 12:11:29 +02:00
Viacheslav Kukhtyn
63406b010f Use the same device session info in transport service and in context 2020-11-24 09:59:26 +02:00
Viacheslav Kukhtyn
52d7d790f6 Update device and session infos in context 2020-11-24 09:59:26 +02:00
Viacheslav Kukhtyn
c36fc46e2c Override default implementation onDeviceUpdate() 2020-11-24 09:59:26 +02:00
Andrii Shvaika
4f0253a33a Ack messages that we ignore 2020-11-23 16:24:07 +02:00
ShvaykaD
dc310f4cab merge with master 2020-11-16 19:13:00 +02:00
Andrii Shvaika
706fd01d76 Device Profile Proto Improvement 2020-11-16 17:18:24 +02:00
ShvaykaD
13a731ecb3 fix MqttTopicFilterFactory toFilter 2020-11-16 16:56:59 +02:00
ShvaykaD
7482d73a9b added AlwaysTrueTopicFilter 2020-11-16 16:56:59 +02:00
ShvaykaD
fde0e7824d change regex for # filter 2020-11-16 16:56:59 +02:00
ShvaykaD
9c14088cad added # filter topic handling 2020-11-16 16:56:59 +02:00
ShvaykaD
4a18781304 added TransportPayloadTypeConfiguration, fix tests, ui 2020-11-13 16:19:40 +02:00
ShvaykaD
18a57d638d merge with master 2020-11-11 18:25:29 +02:00
ShvaykaD
53de94410c clean up code 2020-11-11 16:48:28 +02:00
Andrii Shvaika
e981edd83c Merge remote-tracking branch 'origin/master' 2020-11-11 12:45:25 +02:00
Andrii Shvaika
f6e9959ca5 Minor improvements 2020-11-11 12:22:00 +02:00
Andrew Shvayka
ca0b0b20a7
Merge branch 'master' into develop/2.5.5 2020-11-11 11:54:33 +02:00
zbeacon
580c8aef51 Added handler for too long payload exception in MQTT transport 2020-11-11 11:23:50 +02:00
ShvaykaD
f0f30dc9c7 Merge branch 'master' of github.com:thingsboard/thingsboard into feature/device-profile-telemetry-proto-schema 2020-10-23 16:12:41 +03:00
Andrii Shvaika
b38b47f409 JS Invoke Service stats 2020-10-22 18:51:34 +03:00
Andrii Shvaika
0e0ab6ca39 Improvements to API State 2020-10-22 15:56:31 +03:00
Andrii Shvaika
24f5872adf Queue interfaces with no implementation 2020-10-19 18:00:20 +03:00
ShvaykaD
1f2719e321 fix typos 2020-10-13 16:17:39 +03:00
ShvaykaD
d11a1ba7e6 cleanup code 2020-10-13 16:06:18 +03:00
Andrii Shvaika
7a09f8c718 Minor improvemetns 2020-10-13 14:46:35 +03:00
ShvaykaD
e85daa81e0 merge with master 2020-10-13 14:00:15 +03:00
ShvaykaD
64cc74c26c cleanup code 2020-10-13 13:57:38 +03:00
ShvaykaD
3cd88e6d15 Merge branch 'master' of github.com:thingsboard/thingsboard into feature/device-profile-telemetry-proto-schema 2020-10-12 16:47:07 +03:00
ShvaykaD
8d4718320b init commit 2020-10-12 16:21:05 +03:00
zbeacon
6df9219790 Improvements for provisioning 2020-10-08 16:13:45 +03:00
zbeacon
adf5069da1 Added ability to provision credentials type from device using provision feature 2020-10-08 15:08:29 +03:00
Andrii Shvaika
5dd460b81d Some improvements 2020-10-07 14:13:25 +03:00
Andrii Shvaika
08e4b38b13 Merge branch 'feature/device-provision-3.2-onlyProfileVersion' of https://github.com/zbeacon/thingsboard into zbeacon-feature/device-provision-3.2-onlyProfileVersion 2020-10-07 12:13:19 +03:00
Andrii Shvaika
7b3d903cff Merge with develop 2.5.5 2020-10-07 12:11:37 +03:00
Andrii Shvaika
de9cd8939e Fix for client certificate check 2020-10-07 12:06:24 +03:00
chienfuchen32
a6d69cc7a8 add validity on device X.509 certificate over MQTT transport connection 2020-10-07 11:50:22 +03:00
zbeacon
2ec09e08ff Added ProvisionTransportType to get protocol 2020-10-06 18:27:58 +03:00
zbeacon
616f6a8b4f Changed Provision statuses 2020-10-06 17:17:50 +03:00
zbeacon
0c56a1d8d8 Improvements 2020-10-05 14:44:43 +03:00
zbeacon
8c9dda1b4d Added ability to provision device using protobuf 2020-10-05 08:51:51 +03:00
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