1262 Commits

Author SHA1 Message Date
Viacheslav Klimov
e30ec49d2b
[3.3] [PROD-806] Implement alarm condition metadata displaying (#4185)
* Implement alarm condition metadata displaying

* Refactor
2021-03-15 17:09:35 +02:00
Viacheslav Klimov
37b88908fd Fix merge errors 2021-03-15 12:43:42 +02:00
nickAS21
648e8ec262 lwm2m: add Lwm2m provider for models 2021-03-12 17:53:03 +02:00
nickAS21
d27c721bbf lwm2m: Merge branch 'develop/3.3' into add-models 2021-03-12 15:19:47 +02:00
Yevhen Bondarenko
43fe84a284
created TransportResourceCache (#4232)
* created TransportResourceCache

* return resource by sysadmin if not found by tenant in DefaultTransportApiService
2021-03-12 13:00:51 +02:00
Viacheslav Klimov
44c1cbcbc0 Merge remote-tracking branch 'thingsboard/develop/3.3' into develop/snmp
# Conflicts:
#	application/pom.xml
#	application/src/main/resources/thingsboard.yml
#	common/transport/pom.xml
#	msa/transport/pom.xml
#	pom.xml
#	transport/pom.xml
#	ui-ngx/src/app/modules/home/components/home-components.module.ts
#	ui-ngx/src/app/modules/home/components/profile/device/device-profile-transport-configuration.component.html
#	ui-ngx/src/app/shared/models/device.models.ts
2021-03-10 15:22:03 +02:00
vkukhtyn
5a72479951
[WIP] SNMP initial implementation (#3755)
* Add SNMP type to transport profiles

* Update reference config for transport profiles

* Initial implementation to retrieve a value using SNMP GET message

* Fix license header

* Move config files

* Use async handler for SNMP response

* Send SNMP agent response to attributes and telemetry

* UI: add SNMP option for device profile

* UI: use JSON field to set SNMP profile configuration

* Handle device profile update event

* Use concurrent hash map for SNMP device sessions

* UI: Add device transport configuration control

* Cancel async request to avoid memory leak and timeout handling

* Start SNMP pooling after application started

* Move OID per profile mapping to SNMP transport context

* Fix build after merge with 3.2.1-SNAPSHOT

* Init device sessions on TB start

* Fix build error, refactoring

* Update session context on device update

* Set device info on session context creating

* Refresh pooling params on device or profile update

* Update license header

* Process device and profile transport config update

* Process SNMP response asynchronously

* Change polling implementation
2021-03-10 14:56:25 +02:00
Yevhen Bondarenko
e2dd5b96ae
added resource dao support (#4213)
* Version set to 3.3.0-SNAPSHOT

* added resource dao

* added resource support in transport lvl (get resources and "update", "delete" notifications)

* refactoring

* added resource table to hsql schema

* added check for models dir in InstallScripts

* added pageLink support to getResources
2021-03-09 19:45:28 +02:00
nickAS21
d8ea6ac37d Lwm2m: back: add tenantId and repositoryTenant - test3 2021-03-09 11:08:51 +02:00
nickAS21
447bf05b7b Lwm2m: back: add tenantId and repositoryTenant - test2 2021-03-08 19:24:33 +02:00
nickAS21
65f4ca5800 Lwm2m: back: add tenantId and repositoryTenant - test 2021-03-08 00:00:44 +02:00
YevhenBondarenko
616839a23c refactoring 2021-03-05 18:05:47 +02:00
YevhenBondarenko
937cd04abe Merge branch 'develop/3.3' of https://github.com/thingsboard/thingsboard into develop/3.3-lwm2m 2021-03-05 17:44:41 +02:00
YevhenBondarenko
bd3185a98f added resource support in transport lvl (get resources and "update", "delete" notifications) 2021-03-05 17:43:56 +02:00
nickAS21
3f4714c2ce
Lwm2m strategy (#4210)
* Lwm2m:  back: two strategy

* Lwm2m:  back: add new models

* Lwm2m:  back: del new models
2021-03-05 17:40:13 +02:00
Igor Kulikov
71062f64df New widget selector backend support 2021-03-05 17:08:46 +02:00
YevhenBondarenko
6438f6b0ee added resource dao 2021-03-04 18:32:28 +02:00
Igor Kulikov
8fe6c956c8 Version set to 3.3.0-SNAPSHOT. Code style improvements. 2021-03-04 12:37:38 +02:00
YevhenBondarenko
50d96fb49e Version set to 3.3.0-SNAPSHOT 2021-03-04 10:03:09 +02:00
nickAS21
675e552672
Lwm2m: back fix bug: shared attr & change observe in profile (#4175)
* Lwm2m:  back fix bug: shared attr & change observe in profile

* Lwm2m:  replace:  lwServer by leshanServer. Remove lwServer  from interface LwM2mTransportService

* Lwm2m:  californium ver 2.6.1

* Lwm2m:  californium ver 2.6.1

* Lwm2m:  Json clone
2021-03-03 18:18:56 +02:00
Andrew Shvayka
a3cb9724e3
Merge pull request #4191 from thingsboard/master
Merge master to develop 3.3
2021-03-03 15:57:51 +02:00
Volodymyr Babak
e96452cdcf Merge remote-tracking branch 'upstream/develop/3.3' into develop/3.3-edge 2021-03-03 15:18:38 +02:00
Vladyslav_Prykhodko
530c077b05 Merge remote-tracking branch 'upstream/master' into feature/dashboard/widget-select-preview 2021-03-03 15:03:06 +02:00
Igor Kulikov
3255eb9027 Version set to 3.2.2-SNAPSHOT 2021-03-03 12:02:06 +02:00
Igor Kulikov
18d0d36976 Merge branch 'feature/entity-count-api' 2021-03-02 17:56:16 +02:00
Andrii Shvaika
f8d1fff4cc New Alias 2021-03-02 12:06:50 +02:00
Volodymyr Babak
eec8bb0202 Introduced new configuration option 2021-03-01 16:13:50 +02:00
Volodymyr Babak
594a1290db Async timeout connector customizer. Refactoring 2021-03-01 16:13:50 +02:00
Andrii Shvaika
3176c208a8 Data structures 2021-03-01 14:47:50 +02:00
Andrii Shvaika
3cd964327a Constant filters for device profile 2021-02-26 19:26:31 +02:00
Yevhen Bondarenko
3716e2833a
[WIP]added redis stores support to lwm2m transport (#4164)
* added redis stores support to lwm2m transport

* added cache dependency to dao

* added cache dependency to dao-api

* moved JacksonUtil to the common.util package

* added cache to the component scan for install

* lwm2m stores improvements
2021-02-26 14:16:34 +02:00
vzikratyi
29fd4fb02c Save Attributes to cache 2021-02-25 10:42:24 +02:00
Vladyslav_Prykhodko
989b6e7a30 Merge branch 'master' 2021-02-23 18:01:04 +02:00
Volodymyr Babak
10d3dd01bb Merge branch 'develop/3.3' of github.com:thingsboard/thingsboard into develop/3.3-edge 2021-02-22 19:08:30 +02:00
Andrii Shvaika
a4508aa193 Imrpvements to the entity message routing based on the device profile 2021-02-22 17:18:48 +02:00
Andrii Shvaika
4b43cd75f7 Merge branch 'master' into develop/3.3 2021-02-22 13:29:08 +02:00
Andrii Shvaika
c3efbd4015 Minor refactoring 2021-02-22 13:23:25 +02:00
vzikratyi-tb
ef33c68727
Added kafka consumer-groups statistics (#4123)
* Added kafka consumer-groups statistics

* Fixed PR notes

* Updated stats.kafka-response-timeout-ms

* Log kafka stats only once for CORE and RULE_ENGINE
2021-02-22 12:03:06 +02:00
nickAS21
d0928e4d81 Lwm2m: back: DTLS - 5.2.9.1. Pre-Shared Keys, 5.2.9.2. Raw Public Keys 2021-02-19 13:04:17 +02:00
nickAS21
9b4a155edb Lwm2m: back: DTLS - privateKey in yml hex format, publicKey in yml x, y 2021-02-19 13:04:17 +02:00
nickAS21
8f3d033dcc Lwm2m: back: start DTLS -one bootstrap 4 security 2021-02-19 13:04:17 +02:00
nickAS21
b864680b81 Lwm2m: back: start DTLS -one server 4 security 2021-02-19 13:04:17 +02:00
VoBa
c8d8321f74
Use msg queue instead of default (#4116)
* Remove device from cache in case null value cached in the distributed redis

* Handle case when device was removed from db but message in the queue exists

* Code review chagnes

* Added usage statistics configuration to yml file

* Use msg queue instead of default

* Make private

* Make private
2021-02-17 16:50:41 +02:00
Andrew Volostnykh
6bc902756b Code cleaning after review 2021-02-16 17:04:23 +02:00
Andrew Volostnykh
e70df09b08 Code cleaning and fix of tests 2021-02-16 17:04:23 +02:00
Andrew Volostnykh
6bf2b322af Test and some code cleaning 2021-02-16 17:04:23 +02:00
Andrew Volostnykh
e93c975a01 Compound with front-end, fix of incorrect getter use 2021-02-16 17:04:23 +02:00
AndrewVolosytnykhThingsboard
77de9da2a8 DynamicValue: Rename 'useInherit' to correct name 'inheritMode' 2021-02-16 17:04:23 +02:00
AndrewVolosytnykhThingsboard
1c78a59fb2 Logic for inheritance in DynamicValue added 2021-02-16 17:04:23 +02:00
Andrii Shvaika
a15e991d23 Added support of BigDecimal to the JsonConverter 2021-02-16 12:52:25 +02:00