[
https://issues.apache.org/jira/browse/UNOMI-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608726#comment-17608726
]
Kevan Jahanshahi commented on UNOMI-676:
----------------------------------------
Thx for reporting the issue.
Here is the PR to address it: [https://github.com/apache/unomi/pull/510]
We do plan to improve those limit to 50 items in a more global way, but it will
be done in the scope of a dedicated ticket as it will require more works for us.
> Past Event Condition recalculations are only processing a max of 50 rules
> -------------------------------------------------------------------------
>
> Key: UNOMI-676
> URL: https://issues.apache.org/jira/browse/UNOMI-676
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: Dave van Herten
> Priority: Major
>
> The rule metadata retrieval is hardcoded to return 50 records.
> Because of this when the segment service uses this method, it will only ever
> look at those 50 rules when recalculating.
> References:
> [https://github.com/apache/unomi/blob/a44710fac7fb6f6bc69f24e65e309bc7b5c0871b/services/src/main/java/org/apache/unomi/services/impl/rules/RulesServiceImpl.java#L353-L359]
> [https://github.com/apache/unomi/blob/89200bf63dc94d2834079c2cd820a3804131f911/services/src/main/java/org/apache/unomi/services/impl/segments/SegmentServiceImpl.java#L935-L952]
> While the recalc is probably the larger issue there is probably a need for
> paging on the rest endpoint for getting rules as well since it is limited to
> returning only 50 as well because of this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)