You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (JIRA)" <ji...@apache.org> on 2017/11/29 14:51:00 UTC
[jira] [Created] (UNOMI-142) The JSON property "requireSegments" is
misspelt in http://unomi.apache.org/versions/1.1/getting-started.html
Serge Huber created UNOMI-142:
---------------------------------
Summary: The JSON property "requireSegments" is misspelt in http://unomi.apache.org/versions/1.1/getting-started.html
Key: UNOMI-142
URL: https://issues.apache.org/jira/browse/UNOMI-142
Project: Apache Unomi
Issue Type: Bug
Reporter: Serge Huber
The official Unomi documentation http://unomi.apache.org/versions/1.1/getting-started.html documents that a context request looks like this:
{code:java}
{
source: <Item source of the context request>,
events: <optional array of triggered events>,
requiredProfileProperties: <optional array of property identifiers>,
requiredSessionProperties: <optional array of property identifiers>,
filters: <optional array of filters to evaluate>,
profileOverrides: <optional profile containing segments,scores or profile properties to override>,
- segments: <optional array of segment identifiers>,
- profileProperties: <optional map of property name / value pairs>,
- scores: <optional map of score id / value pairs>
sessionPropertiesOverrides: <optional map of property name / value pairs>,
requiresSegments: <boolean, whether to return the associated segments>
}
{code}
Sending the "requiresSegments" property ends up in error, Unomi seems to expect "requireSegments" instead. ( "requiresSegments" (class org.apache.unomi.api.ContextRequest), not marked as ignorable (8 known properties: "requireSegments", "events", "requiredSessionProperties", "source", "requiredProfileProperties", "profileOverrides", "filters", "sessionPropertiesOverrides"]))
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)