[
https://issues.apache.org/jira/browse/UNOMI-687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Sinovassin-Naïk updated UNOMI-687:
-------------------------------------------
Priority: Minor (was: Major)
> Clean scope check in EventCollectorEndpoint
> -------------------------------------------
>
> Key: UNOMI-687
> URL: https://issues.apache.org/jira/browse/UNOMI-687
> Project: Apache Unomi
> Issue Type: Task
> Reporter: Jonathan Sinovassin-Naïk
> Priority: Minor
> Fix For: unomi-2.0.1
>
>
> In the file EventCollectorEndpoint, there is a check which can be removed
> [https://github.com/apache/unomi/blob/master/rest/src/main/java/org/apache/unomi/rest/endpoints/EventsCollectorEndpoint.java#L100]
> In the existing code, there is a check on the nullity of the scope of the
> events.
> If they are null, we are using systemScope. But it can't happen because
> scopes are validated trough JSON schemas and can not be null
--
This message was sent by Atlassian Jira
(v8.20.10#820010)