Dmytro Skarzhynets
f22c169198
refactor: generalize TestDbCallbackExecutor into DirectListeningExecutor enum singleton
Move TestDbCallbackExecutor from rule-engine test sources to
common/util main sources as DirectListeningExecutor, making it
available to all modules. Convert to an enum singleton since the
executor is stateless. Widen JpaAbstractDaoListeningExecutorService
service field type from JpaExecutorService to ListeningExecutor to
allow injecting DirectListeningExecutor in tests. Fix
AbstractChunkedAggregationTimeseriesDaoTest NPE by injecting the
direct executor into the spy.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 months ago
Dmytro Skarzhynets
00238968e9
fix: preserve rule node execution counter when copying messages in delay and deduplication nodes
Delay and deduplication rule nodes were creating brand new TbMsg objects
instead of copying the original, which reset the ruleNodeExecCounter to 0.
This allowed bypassing the maxRuleNodeExecutionsPerMessage limit.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
3 months ago
Viacheslav Klimov
ad423555ac
Version changed to 4.3.1
4 months ago
Viacheslav Klimov
132b6a1e3f
Version changed to 4.2.2
4 months ago
Dmytro Skarzhynets
2264a40285
fix: resolve race condition in TbRestApiCallNodeTest
The deleteRequestWithBody and deleteRequestWithoutBody tests used
time-based synchronization (Thread.sleep) to wait for the async
WebClient response callback. Under CI load, the callback could fire
after the verify() check, causing flaky failures.
Replace the sleep-based approach with Mockito's timeout() on verify,
which properly polls for the async interaction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago
Viacheslav Klimov
c41159a3f8
Version set to 4.3.0.2-SNAPSHOT
4 months ago
Viacheslav Klimov
b244e14ef7
Version set to 4.2.1.3-SNAPSHOT
4 months ago
Viacheslav Klimov
7f427b27fb
Version set to 4.3.0.1-SNAPSHOT
4 months ago
Viacheslav Klimov
295e7d68c9
Update license headers
5 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
5 months ago
Viacheslav Klimov
c069d28231
Version set to 4.3.0-RC
5 months ago
Viacheslav Klimov
5e8ca1ca46
TMP version set to 4.2.1.2-SNAPSHOT
5 months ago
Viacheslav Klimov
f2dadd0791
Version set to 4.2.1.2-SNAPSHOT
5 months ago
Viacheslav Klimov
295d29fc68
Version set to 4.2.1.1-RC
5 months ago
Viacheslav Klimov
54b67426f4
Version set to 4.3.0-RC
5 months ago
IrynaMatveieva
68b96e576c
added clear error message when invalid attribute scope
6 months ago
Dmytro Skarzhynets
80585a1785
Move common exceptions from `dao` to `common` module
6 months ago
Viacheslav Klimov
e498d346ad
Fix CVE-2025-66566
6 months ago
Viacheslav Klimov
f3408ffc0a
Fix CVE-2025-12183
6 months ago
Viacheslav Klimov
2fe9646de8
Use org.thingsboard.langchain4j:1.8.0-TB instead of dev.langchain4j:1.1.0
6 months ago
IrynaMatveieva
ce92740f1f
review fixes
7 months ago
Dmytro Skarzhynets
038332a836
Device profile node: add test for NPE if no device activity before dynamic duration rules evaluation
9 months ago
Dmytro Skarzhynets
2165162dd5
Device profile node: fix NPE when evaluation dynamic duration rules
10 months ago
Andrii Landiak
8ca6812526
Refactoring
7 months ago
Dmytro Skarzhynets
1e2c127e1c
Remove redundant persistence of CF links
# Conflicts:
# application/src/main/data/upgrade/basic/schema_update.sql
# common/dao-api/src/main/java/org/thingsboard/server/dao/cf/CalculatedFieldService.java
# common/data/src/main/java/org/thingsboard/server/common/data/cf/configuration/BaseCalculatedFieldConfiguration.java
# common/data/src/main/java/org/thingsboard/server/common/data/cf/configuration/CalculatedFieldConfiguration.java
# common/data/src/main/java/org/thingsboard/server/common/data/cf/configuration/geofencing/GeofencingCalculatedFieldConfiguration.java
# dao/src/main/java/org/thingsboard/server/dao/cf/BaseCalculatedFieldService.java
# dao/src/test/java/org/thingsboard/server/dao/service/CalculatedFieldServiceTest.java
7 months ago
IrynaMatveieva
31ed28a6fe
restructured output strategies
7 months ago
Viacheslav Klimov
9ee8bcbdd8
Fixes for new alarm msg types handling
7 months ago
Dmytro Skarzhynets
9a34396d45
Support all customer-owned entities in 'customer attributes' and 'change originator' rule nodes
7 months ago
Andrii Landiak
fdfcad8665
Fix bulk import
7 months ago
VIacheslavKlimov
4c656fe89d
Alarm rules CF: refactoring and improvements
7 months ago
VIacheslavKlimov
8f1b2b832f
Deprecate device profile node
8 months ago
VIacheslavKlimov
514812ae02
Version set to 4.3.0-SNAPSHOT
8 months ago
VIacheslavKlimov
1c2bdd4c14
TMP version set to 4.2.1-RC
8 months ago
dashevchenko
ad6ab9cc53
AI node: fixed resources validation
8 months ago
VIacheslavKlimov
aefb7dcb41
Version set to 4.2.1-RC
8 months ago
Dmytro Skarzhynets
14efeecdc3
Update rule node doc links
8 months ago
VIacheslavKlimov
6a83ea5636
Rename "calculated fields" node to "calculated fields and alarm rules"
8 months ago
VIacheslavKlimov
ad042c4348
CF: add type filter to API
8 months ago
Dmytro Skarzhynets
5c7f20a151
AI models: add support for Ollama
9 months ago
VIacheslavKlimov
5a6ddce8f5
AI Request Node: added ability to attach files ( #13910 )
8 months ago
Andrii Landiak
55c42850d7
Remove unused mock
8 months ago
Andrii Landiak
74cd211a4e
Fix TenantIdLoaderTest
8 months ago
Dmytro Skarzhynets
e688a8af0f
AI models: add base URL to OpenAI
8 months ago
Dmytro Skarzhynets
41f0a9702e
AI models: add support for Ollama
9 months ago
VIacheslavKlimov
ec30bb0578
AI Request Node: added ability to attach files ( #13910 )
8 months ago
VIacheslavKlimov
1a66f3973e
Add repeating alarm condition support for Alarm rules CF
8 months ago
VIacheslavKlimov
3e11282d8f
Base implementation of Alarm rules CF
8 months ago
Dmytro Skarzhynets
c9c46dce43
Save to custom table node: remove redundant executor per node
8 months ago
Yevhenii
2570c27adf
AiNode enabled for edge
9 months ago
Dmytro Skarzhynets
171e824684
Clear alarm node: async processing
9 months ago