Dmytro Skarzhynets
746b3e57eb
chore: adopt SPDX license headers for files added in lts-4.3
2 months ago
Dmytro Skarzhynets
89f1a6068a
chore: adopt SPDX license headers and upgrade license-maven-plugin to 5.1.2
3 months ago
Oleksandra Matviienko
463ac4b1ac
Used Hex.toHexString in EncryptionUtil (bouncycastle 1.84 dropped pqc.legacy)
7 months ago
dashevchenko
e7ca14ad11
deleted deprecated proto field and corresponding code
8 months ago
Sergey Matvienko
062c577d1f
Fix infinite loop in rule engine caused by TbRuleChainInputNode self-referencing default rule chain
When a TbRuleChainInputNode has `forwardMsgToDefaultRuleChain=true` and the originator's
default rule chain is the same as the rule chain containing this node, the message enters
an infinite loop: the node forwards to the default rule chain, which routes back to the
same node, which forwards again, causing unbounded recursion and 100% CPU on rule-engine.
Fix: detect the loop in DefaultTbContext.input() by checking whether the calling rule node
is already present in the message's return stack (TbMsgProcessingCtx). On the second+
iteration the stack already contains the (ruleChainId, ruleNodeId) pair of the node,
so the call is a cycle. In that case tellFailure() is called with a descriptive message
and a WARN log is emitted instead of re-enqueuing the message.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 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>
9 months ago
Viacheslav Klimov
a887b655f8
Fix flaky TbRateLimitsTest timing tolerance
Increased timing tolerance gap from 500ms to 1000ms in both
testRateLimitWithGreedyRefill and testRateLimitWithIntervalRefill
to prevent ConditionTimeoutException caused by scheduling jitter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 months ago
Viacheslav Klimov
295e7d68c9
Update license headers
11 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
11 months ago
Andrii Landiak
c464ba993f
Improve alarm template
1 year ago
IrynaMatveieva
7c886840ce
refactoring
1 year ago
Andrii Landiak
fdfcad8665
Fix bulk import
1 year ago
IrynaMatveieva
cd15206061
relation changed processing
1 year ago
Andrii Landiak
1f884bb5ca
UserAuthDetailsCache. Refactoring after review
1 year ago
IrynaMatveieva
f667f0f23f
(wip) aggregation cf
1 year ago
VIacheslavKlimov
0b305e6f2a
Alarm rules CF: real-time duration condition checks
1 year ago
dshvaika
2c06aa475f
geofencing cf bugfixes
1 year ago
VIacheslavKlimov
bf3e6dce76
CF: Current customer dynamic source support
1 year ago
VIacheslavKlimov
3e357e5e9b
Add initial duration alarm condition support for Alarm rules CF
1 year ago
VIacheslavKlimov
3e11282d8f
Base implementation of Alarm rules CF
1 year ago
dashevchenko
857aa2c648
fixed nextCycleTs calculation for api usages
1 year ago
IrynaMatveieva
61a39c2b33
fixed duplicated cf cache init in cf processor
1 year ago
dshvaika
06515a5e13
Renamed actor message types and java fields for clarity
1 year ago
dshvaika
71f092c4e8
Added dirty updates support
1 year ago
dshvaika
c8490080a1
added basic logic to update state periodically
1 year ago
Dmytro Skarzhynets
9bcd3d8849
AI rule node: fix rule engine message metadata (de)serialization
1 year ago
Dmytro Skarzhynets
69964a2413
Make script compilation errors unrecoverable during rule node initialization
1 year ago
Dmytro Skarzhynets
d2d22a44c2
AI rule node: add support for all data/metadata patterns in rule nodes
1 year ago
dshvaika
45dee234c8
fixes after review + new tests added
2 years ago
dshvaika
35e9d007d0
upgrade logic + rate limits validation
2 years ago
dshvaika
a242d3a43b
Added missing test for RateLimitServiceTest && refactoring
2 years ago
dshvaika
8af37beb4a
New Cassandra rate limits: separated for Read and Write + Core and Rule Engine
2 years ago
ViacheslavKlimov
0dde966082
Support reprocessing for job with general error; job deletion; refactoring
2 years ago
ViacheslavKlimov
95d1b5ebd7
Minor refactoring for TopicPartitionInfo
2 years ago
ViacheslavKlimov
b97c1888f1
EDQS readiness check; refactor API enabling
2 years ago
ViacheslavKlimov
1d83a2c9d3
Refactoring for TbMsgProto usage
2 years ago
ViacheslavKlimov
5993b8b963
Minor refactoring
2 years ago
ViacheslavKlimov
e59460b42b
Task processors partitioning
2 years ago
IrynaMatveieva
48d9aca0ab
minor fixes
2 years ago
IrynaMatveieva
a6cdc170cb
renamed new msgs
2 years ago
IrynaMatveieva
4882bf26eb
removed entity profile cache
2 years ago
ViacheslavKlimov
6678ec2e06
Fix TopicPartitionInfoTest
2 years ago
ViacheslavKlimov
c50d7a3988
EDQS consumer management refactoring
2 years ago
ViacheslavKlimov
b40fa86bac
Refactoring and fixes for CF lifecycle events handling
2 years ago
Andrii Shvaika
3d282836e7
CF Cluster mode fixes
2 years ago
ViacheslavKlimov
32a4a7ce35
EDQS: introduce API auto-enable option
2 years ago
Andrii Shvaika
62da129d6b
Review comments fixed
2 years ago
ViacheslavKlimov
442603a502
Separate EDQS API service
2 years ago
Igor Kulikov
5cf26d4851
Update license header
2 years ago
ViacheslavKlimov
278ec36f37
Fixes for EDQS
2 years ago