[
https://issues.apache.org/jira/browse/UNOMI-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Griffon updated UNOMI-544:
--------------------------------
Fix Version/s: unomi-2.1.0
(was: unomi-2.0.0)
> Simplify personalization requests resolution by using internal events
> ---------------------------------------------------------------------
>
> Key: UNOMI-544
> URL: https://issues.apache.org/jira/browse/UNOMI-544
> Project: Apache Unomi
> Issue Type: Improvement
> Reporter: romain.gauthier
> Priority: Major
> Fix For: unomi-2.1.0
>
>
> In Unomi, personalization requests are currently not considered as events.
> Changing the way personalization requests are managed, and considering them
> just as any other event would have several benefits:
> * Remove some custom code
> * Make it easier to understand personalizations when developers start with
> Unomi
> * Improve code related to event processing, that would apply to all events
> and make the system more powerful
>
> In this ticket:
> * a new type of event should be created "personalizationRequest" for
> instance.
> * to ensure retro compatibility, context.json endpoint should be updated to
> create the personalizationRequest event internally
> * Custom code related to personalization management should be removed
> * Update management of control group to match the new pattern
> * integration test should be created or updated to support
> personalizationRequest
> * Response of the personalization request should be managed, either:
> ** by passing the results as events attributes
> ** OR by updating the personalization request event
> ** OR by improving more globally the way event results can be passed to the
> original endpoint
>
> Note:
> In Unomi 2.0, some code related to filters should be deprecated.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)