Serge Huber created UNOMI-302:
---------------------------------
Summary: Implement get/delete/createUnomiSegment field
Key: UNOMI-302
URL: https://issues.apache.org/jira/browse/UNOMI-302
Project: Apache Unomi
Issue Type: Sub-task
Components: core
Affects Versions: 2.0.0
Reporter: Serge Huber
Fix For: 2.0.0
As Unomi provides a much more powerful condition system for building segments,
we need to add fields and mutations that will support these structures.
They should look something like this:
type Unomi_Segment extends CDP_Segment {
condition : JSON
# profiles: null will be null here
}
input Unomi_SegmentInput {
id : ID
view : ID!
name : String
condition: JSON!
}
getUnomiSegment(segmentID: ID!) : Unomi_Segment
​createOrUpdateUnomiSegment(segment : Unomi_SegmentInput!) : Unomi_Segment
​deleteSegment(segmentID : ID!) : Boolean
--
This message was sent by Atlassian Jira
(v8.3.4#803005)