1383 Commits

Author SHA1 Message Date
YevhenBondarenko
f264aa4330 fixed firmware tests and validation 2021-04-30 10:58:32 +03:00
zbeacon
b45d514b83 Removed unused method for getting supported checksum algorithms 2021-04-30 08:53:00 +03:00
nickAS21
e33420d3a8
Lwm2m: firmwareUpdate (#4516)
* Lwm2m: firmwareUpdate

* Lwm2m: firmwareUpdate with merge master

* Lwm2m: firmwareUpdate cleaned

* Lwm2m: delete Californium.properties

* Lwm2m: merge with master
2021-04-30 08:39:06 +03:00
Sergey Matvienko
5ad113ad1a queue consumer: not going to sleep after pull if time left less then 1 millisecond. topic added to logs 2021-04-29 14:17:46 +03:00
Sergey Matvienko
39f0775766
Thread pool naming CE (#4511)
* added ThingsBoardExecutors and ThingsBoardForkJoinWorkerThreadFactory to define the name for the pool thread

* thread poll named for the AbstractListeningExecutor

* thread poll named for the RestClient. ThingsBoard util dependency added

* most of thread polls named CE

* thread poll name added for telemetry-web-socket-ping

* executors: added custom names for executors (Queue, RuleEngine). Add topic name to the Thread name (useful for JMX and thread dump)

* fixed licence header for a new classes
2021-04-29 14:15:50 +03:00
Viacheslav Klimov
1de97ad0e1 Refactor SNMP devices' sessions establishing 2021-04-29 14:10:01 +03:00
zbeacon
5b1cc8ac33 Merge branch 'master' of https://github.com/thingsboard/thingsboard into feature/firmware-checksum-autogenerating 2021-04-29 09:39:15 +03:00
zbeacon
7a4d302c85 Changes according to comments from @ashvayka 2021-04-29 09:35:02 +03:00
Viacheslav Klimov
3b74a806bc
RPC functionality refactoring for SNMP (#4492)
* Refactor RPC functionality for SNMP

* Refactor

* SNMP response PDU mapping refactoring
2021-04-28 16:40:45 +03:00
ShvaykaD
b34198f30c
refactored CoAP Server component (#4497)
* refactored ce code base needed for coap-integration in pe

* added anotation TbCoapServerComponent on CoapTransportService

* license updated
2021-04-28 16:39:13 +03:00
Andrew Shvayka
e3292e89c1
Merge pull request #4301 from thingsboard/develop/snmp
SNMP Transport
2021-04-28 16:29:13 +03:00
Viacheslav Klimov
79eb1183d9 Request SNMP devices' ids with pagination 2021-04-28 16:25:14 +03:00
Andrii Shvaika
29f404acb1 Adding Device Profile ID to the Firmware to make sure user assigns compatible firmware 2021-04-28 15:31:32 +03:00
Andrii Shvaika
7edcc605e9 Firmware CoAP and transport improvement 2021-04-28 13:53:56 +03:00
Andrii Shvaika
edc993427e CoAP support for firmware updates 2021-04-28 13:03:24 +03:00
YevhenBondarenko
a5656009d2 implemented audit logs for the firmware and resource 2021-04-28 12:56:49 +03:00
YevhenBondarenko
5429175db9 added target_firmware_ts timeseries for the firmware 2021-04-28 12:52:59 +03:00
YevhenBondarenko
83e31f4263 added firmware type 2021-04-28 12:44:57 +03:00
zbeacon
8a5a4f0995 Added ability to autogenerate checksum for firmware 2021-04-28 12:26:35 +03:00
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
Viacheslav Klimov
47994e1a66 Merge branch 'master' into master-to-snmp
# Conflicts:
#	application/src/main/java/org/thingsboard/server/service/transport/DefaultTransportApiService.java
#	common/queue/src/main/proto/queue.proto
#	common/transport/http/src/main/java/org/thingsboard/server/transport/http/DeviceApiController.java
#	common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/TransportContext.java
#	dao/src/main/java/org/thingsboard/server/dao/device/DeviceServiceImpl.java
2021-04-26 13:37:39 +03:00
Sergey Matvienko
1d24a08c17 kafka: added TB_KAFKA_COMPRESSION_TYPE for producer: none (default), gzip. 2021-04-26 12:51:42 +03:00
nickAS21
5f8a9e9f67
Lwm2m rpc (#4473)
* Lwm2m: RPC_terminal

* Lwm2m: RPC_terminal del two file

* Lwm2m: RPC_terminal add test observe

* Lwm2m: RPC_terminal add test delete
2021-04-23 16:56:24 +03:00
Andrii Shvaika
b0a27954ea Improvements to FirmwareInfo 2021-04-23 14:35:47 +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
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
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
YevhenBondarenko
75fe679bab MqttTransportHandler improvements 2021-04-22 08:16:17 +03:00
YevhenBondarenko
f55f0ecb94 implemented firmware update for the http and mqtt transports 2021-04-21 19:56:09 +03:00
Viacheslav Klimov
a1e4bbbb31 Implement RPC for SNMP; refactor 2021-04-21 07:38:24 +03:00
Viacheslav Klimov
783b959577 Refactor 2021-04-21 07:38:15 +03:00
Viacheslav Klimov
415bf570ba Refactor 2021-04-21 07:38:06 +03:00
Viacheslav Klimov
e52ac96c62 Implement SNMP v3 security support, remove traps support 2021-04-21 07:38:01 +03:00
Viacheslav Klimov
3c1682f57a Merge branch 'master' into master-to-snmp
# Conflicts:
#	common/data/pom.xml
#	common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java
#	dao/src/main/java/org/thingsboard/server/dao/sql/device/DeviceRepository.java
#	ui-ngx/src/app/shared/models/device.models.ts
2021-04-20 18:08:10 +03:00