[
https://issues.apache.org/jira/browse/UNOMI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056763#comment-17056763
]
Serge Huber commented on UNOMI-288:
-----------------------------------
For some more context, the idea is to cover some migration use cases. Since
this is a "management" operation it was decided it should be in the
"management" part of the REST API rather than the "public"
(ContextServlet/EventCollector) part of the API.
This is similar in scope to what the PrivacyService does when anonymizing
events where it changes the profile ID, or to other migration operations done
in the Migration Commands.
> Add updateEvents() method in EventService
> -----------------------------------------
>
> Key: UNOMI-288
> URL: https://issues.apache.org/jira/browse/UNOMI-288
> Project: Apache Unomi
> Issue Type: New Feature
> Components: core
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> Several users requested to have a way to update events, via Unomi services
> (including REST endpoints).
> Roughly, the purpose is to add {{EventService.updateEvents(List<Event>
> events).}}
> In this method, we directly call {{persistenceService.save()}} to update the
> persistence layer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)