Jonathan Sinovassin-Naïk created UNOMI-856:
----------------------------------------------

             Summary: Tracked conditions not processing all rules
                 Key: UNOMI-856
                 URL: https://issues.apache.org/jira/browse/UNOMI-856
             Project: Apache Unomi
          Issue Type: Task
            Reporter: Jonathan Sinovassin-Naïk


When there is more than 50 rules stored in UNOMI, only the first 50 rules are 
returned when calling the getAllRules() method of the ruleService.

Because of this behaviour, we might miss some tracked Condition when calling 
the contextJson endpoint because it's reading the available rules to get the 
tracked conditions from these rules.

We can easily see that only the first 50 rules are returned when calling: 
curl -X GET "http://localhost:8181/cxs/rules"; -H "accept: application/json"

This behaviour is surprising because there is a integration test to ensure that 
more than 50 are returned when calling the getAllRules method.
The issue should have been fixed with this PR: 
https://github.com/apache/unomi/pull/510/files#diff-5ca34d7110d2bf25a8ce9c2a3d530f24db7e0d9b0374ee379d7d9581e98f486b

Related ticket: https://issues.apache.org/jira/browse/UNOMI-676 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to