Viacheslav Klimov
c39fb8c94d
Refactor
2021-05-12 14:23:57 +03:00
Viacheslav Klimov
9873115d8b
Implement created alarms limiting
2021-05-12 14:23:57 +03:00
Volodymyr Babak
612a17af3b
Clean up cache in case entity was renamed
2021-05-11 14:06:18 +03:00
Igor Kulikov
27c9ad95e1
Fix tests
2021-05-07 18:29:37 +03:00
Igor Kulikov
5cc3a93cb9
Introduce default dashboard for device profile
2021-05-07 18:25:05 +03:00
Igor Kulikov
6a237b847c
Add customerId field to alarm data query api
2021-05-07 16:45:44 +03:00
Igor Kulikov
3094fb7240
Add customerId to alarm
2021-05-07 16:05:54 +03:00
Igor Kulikov
d5b640d602
Add image fields for dashboard and device profile entities. Introduce getAllAlarms and getCustomerAlarms API
2021-05-06 17:01:46 +03:00
Andrii Shvaika
00bd26f1f5
Merge with master
2021-04-30 11:25:56 +03:00
YevhenBondarenko
ab10dd4494
implemented software update
2021-04-30 10:58:32 +03:00
YevhenBondarenko
4d4ca9b723
firmware tests and validation improvements
2021-04-30 10:58:32 +03:00
YevhenBondarenko
f264aa4330
fixed firmware tests and validation
2021-04-30 10:58:32 +03:00
Viacheslav Klimov
fbf2d3efdb
Fix entities filtering by kv when search value is empty ( #4515 )
...
* Fix entities filtering by kv when search value is empty
* Refactor
2021-04-29 14:55:27 +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
YevhenBondarenko
b4b5d062b0
fixed alarm query (search without created time column)
2021-04-29 14:14:31 +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
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
83e31f4263
added firmware type
2021-04-28 12:44:57 +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
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
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
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
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
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
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
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
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
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
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
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
Andrii Shvaika
f1d89ace5d
Removed invalid dependency
2021-04-16 14:29:57 +03:00
Andrew Shvayka
e08d1b2c07
Feature/event filters
...
* Event filter implementation
* Removed redundant imports
* convert createdTime to column name
* UI: Added ui to filter events parameters
* Case sensitivity fixed, boolean Is Error added
* UI: Added support event filter for error
* Improvement for implementation of Event Filter
* UI: Refactoring event filter
* UI: Add trim
* Filter added for all event types
* UI: Updated filter events for new API
* Refactoring
* Code cleaning. Debug Rule Chain added
* Removed redundant casts in JpaBaseEventDao, correct created_time check
* Removed redundant abstract method in DebugEvent
* refactoring of the filter queries
* Filters for debug events
* UI: Refactoring event table panel
Co-authored-by: AndrewVolosytnykhThingsboard <avolostnykh@thingsboard.io>
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
Co-authored-by: AndrewVolosytnykhThingsboard <77969531+AndrewVolosytnykhThingsboard@users.noreply.github.com>
2021-04-15 12:05:04 +03:00
YevhenBondarenko
d6f451ccca
created FirmwareStateService
2021-04-14 16:36:34 +03:00