YevhenBondarenko
aee3fd3b6e
FirmwareCache refactoring
2021-04-28 11:29:04 +03:00
YevhenBondarenko
1850024fdb
implemented firmware update for the coap transport
2021-04-28 10:26:16 +03:00
YevhenBondarenko
b2ba2025de
added firmware info cache
2021-04-23 17:43:03 +03:00
YevhenBondarenko
3fbbfea331
changed firmware data type to oid and updated firmwares caffeine cache config
2021-04-23 16:53:33 +03:00
Andrii Shvaika
820fc4a9cd
Merge branch 'YevhenBondarenko-feature/firmware' into feature/firmware
2021-04-23 14:36:23 +03:00
Andrii Shvaika
ec78890308
Merge branch 'feature/firmware' of github.com:thingsboard/thingsboard into feature/firmware
2021-04-23 14:36:08 +03:00
Andrii Shvaika
b0a27954ea
Improvements to FirmwareInfo
2021-04-23 14:35:47 +03:00
Vladyslav_Prykhodko
1e3271ce71
UI: move firmware-autocomplete to shared module; Add service map: DeviceProfileService, FirmwareService
2021-04-23 13:04:35 +03:00
Andrii Shvaika
a9e83b484f
Merge branch 'feature/firmware' of https://github.com/YevhenBondarenko/thingsboard into YevhenBondarenko-feature/firmware
2021-04-23 12:24:59 +03:00
YevhenBondarenko
23063b1600
refactoring
2021-04-23 11:40:52 +03:00
YevhenBondarenko
b82525ae86
added consumerPropertiesPerTopic to transport yml
2021-04-23 11:22:21 +03:00
YevhenBondarenko
2658de715a
implemented consumerPropertiesPerTopic
2021-04-23 10:56:49 +03:00
YevhenBondarenko
c9439b3976
created created firmware queue
2021-04-23 10:17:51 +03:00
Andrii Shvaika
53bf6af23b
Merge branch 'master' of github.com:thingsboard/thingsboard into feature/firmware
2021-04-22 15:52:08 +03:00
Viacheslav Klimov
5465703d2d
Handle tenant and customer deletion for TbApiUsageStateService
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
8c9213cff5
Provide querying by customer for API usage states
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
6b008e52cb
Refactor
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
030d80d05a
CustomerId to TbMsg and SessionInfo
2021-04-22 13:15:19 +03:00
Andrii Shvaika
0ff4e6ac0d
Improvements to the TbMsg to support CustomerId
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
3db3385571
Enable/disable usage stats per customer from config
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
9d045e231b
Refactor DefaultTbApiUsageClient
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
62979e8006
Refactor
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
ecf86b53ba
Provide usage stats for sysTenant; refactor
2021-04-22 13:15:19 +03:00
Viacheslav Klimov
f89b30777e
Initial implementation for per-customer api usage stats
2021-04-22 13:15:19 +03:00
YevhenBondarenko
609024a603
added redis configs to the transports yml
2021-04-22 13:03:10 +03:00
Andrii Shvaika
9b01f67d81
Update firmware only when it is really changed
2021-04-22 12:21:18 +03:00
Andrii Shvaika
279e221523
Merge with master
2021-04-22 10:55:57 +03:00
Andrew Shvayka
07aefe533a
Merge pull request #4380 from YevhenBondarenko/develop/3.3-firmware
...
[WIP] feature firmware
2021-04-22 10:35:29 +03:00
Vladyslav_Prykhodko
9900cc3d97
Updated ui rule node
2021-04-22 10:33:51 +03:00
YevhenBondarenko
75fe679bab
MqttTransportHandler improvements
2021-04-22 08:16:17 +03:00
YevhenBondarenko
6c5cf107df
added firmwares cache to the application-test.properties
2021-04-21 20:07:49 +03:00
YevhenBondarenko
f55f0ecb94
implemented firmware update for the http and mqtt transports
2021-04-21 19:56:09 +03:00
AndrewVolosytnykhThingsboard
c7269528fa
[PROD-881] Dynamic alarm severity in Create Alarm Rule Node ( #4393 )
...
* Dynamic alarm severity feature added
* Tests for dynamic alarm severity added
* Removed redundant imports
* Join front-end part
* Refactoring: create of method processAlarmSeverity, remove incorrect solution and process severity in correct places
* Correct updating of alarm parsed from msg data
* Removed redundant operations
* Correct exceptions throwing
2021-04-21 15:05:45 +03:00
ShvaykaD
321fb731a6
Support of server-side RPC requests via protobuf for CoAP and MQTT
...
* rpc response schema added
* rpc request proto
* fixed device profile validation
* fix error messages
2021-04-20 11:14:27 +03:00
nickAS21
51b0d50542
Lwm2m discovery ( #4438 )
...
* Lwm2m: fix bug delete zero updateAttribute
* Lwm2m: front add select binding
* Lwm2m: discovery only for test
* Lwm2m: remove type_cast_enabled from the main branch.
* Lwm2m: remove type_cast_enabled from the main branch.
* Lwm2m: remove type_cast_enabled from the main branch.
* Lwm2m: remove double code.
2021-04-20 10:44:11 +03:00
Sergey Matvienko
cb9450104e
device count performance for 100k+ devices per tenant. Added additional tests for the DeviceService
2021-04-19 21:50:36 +03:00
AndrewVolosytnykhThingsboard
91e0a77afd
Fixed incorrect adding of additional parameters to URL in getAlarms method
2021-04-19 17:08:54 +03:00
AndrewVolosytnykhThingsboard
e3caf24a9b
Removed redundant parameter for AlarmController, AlarmQuery and RestClient.getAlarms
2021-04-19 17:08:54 +03:00
AndrewVolosytnykhThingsboard
5d64775f67
Correct call of dependent methods
2021-04-19 17:08:54 +03:00
AndrewVolosytnykhThingsboard
fad1040f24
Refactoring: offset added to request URL
2021-04-19 17:08:54 +03:00
AndrewVolosytnykhThingsboard
a100d07daf
Fixed incorrect RestClient method getAlarms
2021-04-19 17:08:54 +03:00
Sergey Matvienko
e17ba0531d
rule chain: fixed conflict after cherry-pick. removed createRelation and deleteRelation. It moved to the AbstractEntityService before
2021-04-19 13:21:55 +03:00
Sergey Matvienko
8b653d7065
rule chain. implemented save/update/delete @Transactional. Added sync DAO methods to run in transaction. Moved loadRuleChainMetaData outside of saveRuleChainMetaData transaction
2021-04-19 13:21:55 +03:00
Sergey Matvienko
27788790df
dependency upgrade: grpc.version up to 1.36.0. explicitly added protobuf-java-util due to grpc not depends on it anymore
2021-04-19 13:18:55 +03:00
Andrii Shvaika
e7fd07652e
Removed code duplicates and fixed one minor issue
2021-04-19 13:16:55 +03:00
Valerii Sosliuk
b8291be084
Update Latest TS by timestamp
...
There is a bug when the historic data arrives and overrides the value
with morerecent timestamp in ts_kv_latest table. This PR adds
possibility to update the ts_kv_latest table only if the value that
arrives has the newer timestamp than the one that is already in
ts_kv_latest
2021-04-19 12:53:40 +03:00
Sergey Matvienko
3228312cdb
alarms count: performance fix based on pg_stat analysis. Counters queries refactored as two subqueries: inner join (count with relations) + left 'anti' join (count without relations). AlarmServiceSqlTest passed. CE
2021-04-19 12:41:44 +03:00
Sergey Matvienko
08d9ea302f
logback: logger template added for Top Rule Nodes by max execution time
2021-04-19 12:41:19 +03:00
Sergey Matvienko
562637ad34
ZKDiscoveryService: fix potential outdated server info on recalculatePartitions. info logs added on application event
2021-04-19 12:40:22 +03:00
Sergey Matvienko
e64b1074a7
queue consumer: added queue check on the very first poll in the lifecycle before any subscribe method calls
2021-04-19 12:40:22 +03:00