18368 Commits

Author SHA1 Message Date
Dmytro Skarzhynets
b43a90d1df Separate create alarm node tests from clear alarm node tests, refactor existing and add more create alarm node tests 2024-04-10 15:24:58 +03:00
nick
2b334ecbff msa: lwm2m tests add NoSec Psk (3) 2024-04-10 15:15:44 +03:00
nick
6b0aead10b msa: lwm2m tests add NoSec Psk (2) 2024-04-10 15:12:02 +03:00
nick
c37b406795 msa: lwm2m tests add NoSec Psk 2024-04-10 14:57:12 +03:00
Viacheslav Klimov
4044649c9c
Merge pull request #10414 from irynamatveieva/fix-error-msg-problem-extrenal-id
Fixed error message with external id when saving rule chain.
2024-04-10 13:25:23 +03:00
Viacheslav Klimov
80ec3609de
Merge pull request #10355 from irynamatveieva/improve-script-node
Changed the logic to be able to find the last IN event despite its order in the debug records.
2024-04-10 13:19:55 +03:00
rusikv
b19636111d UI: fixed aggregation for entities table widget 2024-04-10 12:49:59 +03:00
Shvaika Dmytro
cad3011938
Replacement of local cache in rule nodes with cached entity service APIs. (#9552)
* added customer cache && refactored assign/unassing to/from customer nodes

* refactoring of customer action nodes & added common tests

* added tests for upgrade

* updated controller & service tests for customer api

* replaced findCustomerByTenantIdAndTitle with cacheable method

* add new line to end of ../upgrade/3.6.2/schema_update.sql file

* added cache for find user by tenant id and email & relation action nodes refactoring

* fixed synchronization issue & refactored logic & refactored node upgrade tests

* fixed testSaveUserWithSameEmail test in the UserControllerTest. Removed empty space & added exclamation mark

* updated tests for create relation node && added two tests for delete relation node

* replaced Lists with EnumSets where it was possible & replaced MethodSource with EnumSource where it was possible & added test for upgrade for both create and delete relation nodes

* updated upgrade tests & added tests for delete relation node

* refactoring

* updated create & delete relation nodes descriptions

* updated default config for delete relation node

* minor improvements for custom action nodes after self review

* added upgrade for customers with the same titles

* replaced parameterized test annotation when deleteForSingleEntity is false

* fix typo in reSaveCustomerWithNewTitle upgrade logic

* fixes after review & additional improvements

* fixed testAssignAndUnassignEntityViewToCustomer test

* updated upgrade logic & changed logic of public customers lookup

* fixed dao method & added test

* renamed method to findPublicCustomerByTenantId

* fix typo in the find public customer query

* added @Serial annotation for serialVersionUID & rollback saveAndFlush to save in UserServiceImpl

* fixes to async find or create logic

* fixed after review

* fix typo

* set Transactional annotation to findOrCreatePublicCustomer
2024-04-10 12:31:24 +03:00
Viacheslav Klimov
756bac5135
Merge pull request #10522 from AndriiLandiak/fix/edge-3.7
Edge refactoring: using java 17
2024-04-10 11:50:38 +03:00
IrynaMatveieva
864b862fc7 used Optional.ofNullable 2024-04-10 10:56:34 +03:00
Andrii Landiak
d041faae89 Micro refactoring: using java 17 2024-04-09 15:42:54 +03:00
IrynaMatveieva
d152e0b24b moved tests to RuleChainServiceTest class 2024-04-09 15:18:47 +03:00
IrynaMatveieva
bb77d4edd7 Merge branch 'improve-script-node' of github.com:irynamatveieva/thingsboard into improve-script-node 2024-04-09 15:00:21 +03:00
IrynaMatveieva
c4ad105f73 used Optional.ofNullable instead of explicitly checking for null 2024-04-09 14:56:34 +03:00
Viacheslav Klimov
19c2c5e955
Merge pull request #10300 from irynamatveieva/fix-calculate-delta-rule-node
Added property to ignore delta in output messages if it is zero
2024-04-09 13:13:14 +03:00
Viacheslav Klimov
9cc0e9da7c
Merge pull request #10349 from irynamatveieva/feature/mqtt-node
MQTT node: added ability to send string without quotes.
2024-04-09 13:08:00 +03:00
ViacheslavKlimov
00f8fd2c35 Merge remote-tracking branch 'origin/master' into feature/housekeeper 2024-04-09 12:08:53 +03:00
Andrew Shvayka
b164eea623
Merge pull request #10499 from AndriiLandiak/improve-entity-data-query
Entity Data Query: improvement
2024-04-09 11:04:06 +03:00
Andrew Shvayka
7eb825dc3b
Merge pull request #10472 from thingsboard/fix/event-sourcing
Fix tenant creation
2024-04-09 11:01:35 +03:00
Andrew Shvayka
e7f68e3b08
Merge pull request #10420 from thingsboard/fix/mobile-notifications
Improvements for mobile notifications
2024-04-09 10:59:37 +03:00
Viacheslav Klimov
9fe5784fd2
Merge pull request #10515 from dashevchenko/attributeScopeInMetadataFix
Attribute scope was missed for rule engine message metadata
2024-04-09 10:37:32 +03:00
IrynaMatveieva
4c984dc82c removed unnecessary method creation 2024-04-08 17:51:16 +03:00
Andrew Shvayka
ca222bbb84
Merge pull request #10512 from thingsboard/fix/californium-3-11
Californium 3.11; tests fixes
2024-04-08 16:43:36 +03:00
dashevchenko
140f8dc489 attribute scope is prepared correctly for rule engine message metadata 2024-04-08 16:21:35 +03:00
ViacheslavKlimov
641008c262 onClick action from mobile notification center 2024-04-08 14:00:00 +03:00
imbeacon
a6143f3c8a Improvement for update of overwrite activity time 2024-04-08 13:05:58 +03:00
Viacheslav Klimov
c0fabe5efb
Merge pull request #10462 from thingsboard/fix_bug_californium_3_11
fix_bug_lwm2m_coap_californium_3_11_0
2024-04-08 12:20:51 +03:00
imbeacon
bead94d832 Changes due to comments 2024-04-08 11:45:26 +03:00
Viacheslav Klimov
ae2533162e
Merge branch 'master' into fix_bug_californium_3_11 2024-04-05 16:24:37 +03:00
Andrii Landiak
9e1c195e59 Fix comment 2024-04-04 16:06:21 +03:00
Andrii Landiak
0252ab851a Micro improvement: fix logic for filteringKeys containsAll latestValues && entityFields. Improve test 2024-04-04 16:00:19 +03:00
Andrii Landiak
74fed02b8b Set edgeVersion to 3.7.0 2024-04-04 14:27:46 +03:00
Andrii Landiak
2fced834fd Improvement to entity data query: add optimization, add fetching by 1024 max 2024-04-04 14:25:08 +03:00
Andrii Shvaika
a88b1ef349 Merge hotfix/3.6.3 to master 2024-04-04 12:56:17 +03:00
Andrii Shvaika
d5cdd2b13d Merge branch 'master' of github.com:thingsboard/thingsboard 2024-04-04 12:46:10 +03:00
Andrew Shvayka
96cdb82e1f
Merge pull request #9930 from smatvienko-tb/feature/haproxy-rate-limits
HAproxy rate and connection limits (images api included)
2024-04-04 12:45:19 +03:00
Andrew Shvayka
05dcbeae15
Merge pull request #10452 from smatvienko-tb/feature/nashorn-memory-limit
Nashorn js executor sandbox memory limit
2024-04-04 12:42:29 +03:00
Andrew Shvayka
7480035556
Merge pull request #10332 from zzzeebra/feature/validator-optimization
[3.7] Validator performance optimization
2024-04-04 12:37:51 +03:00
Andrew Shvayka
f0cc6f3cc0
Merge pull request #10493 from smatvienko-tb/hotfix/postgresql_driver_42_7_3
Critical dependency vulnerabilities fix
2024-04-04 12:06:40 +03:00
imbeacon
f621d59be3 Added logic when ping requests for gateway device will be also activity events for devices, connected through the gateway 2024-04-04 10:45:41 +03:00
Sergey Matvienko
0dc1882685 "@google-cloud/pubsub": "^4.3.3" --> protobufjs "^7.2.4" 2024-04-03 23:28:57 +02:00
Sergey Matvienko
1a2dd01608 org.apache.zookeeper:zookeeper 3.9.2 2024-04-03 23:28:14 +02:00
Sergey Matvienko
866792fd86 postgresql.driver.version 42.7.3 2024-04-03 23:03:50 +02:00
Oleksandra Matviienko
e00b14bf84 validateId refactoring
Signed-off-by: Oleksandra Matviienko <al.zzzeebra@gmail.com>
2024-04-03 21:11:05 +02:00
Andrew Shvayka
eab88dd500
Merge pull request #10416 from AndriiLandiak/fix/kv-proto-util
Fix KvProtoUtils order for matching KeyValueType and DataType
2024-04-03 17:39:51 +03:00
Andrii Shvaika
bd2cf904e4 Merge branch 'improve-entity-data-query' of github.com:AndriiLandiak/thingsboard 2024-04-03 17:01:32 +03:00
Sergey Matvienko
6ca90a80b2 Deprecated old methods in Validator in favour the fastest ones 2024-04-03 15:30:36 +02:00
Sergey Matvienko
93adbd116c Validator: some old method usage replaced with a new ones with functions 2024-04-03 15:28:28 +02:00
Volodymyr Babak
cb37d7e32f
Merge pull request #10490 from AndriiLandiak/EdgeVersion.V_3_7_0
Add 3.7.0 version to edge.proto
2024-04-03 16:08:19 +03:00
Andrii Landiak
9cce187f56 Add V_3_7_0 to edge.proto 2024-04-03 16:01:25 +03:00