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 2019/05/21 07:44:00 UTC

[jira] [Commented] (UNOMI-233) Add Related Conditions When Returning Condition data via REST

    [ https://issues.apache.org/jira/browse/UNOMI-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844601#comment-16844601 ] 

Serge Huber commented on UNOMI-233:
-----------------------------------

This is an interesting idea. 

The question is how would the related conditions be returned ? Currently the JSON result is the definition of the condition itself.

Regards,
  Serge... 

> Add Related Conditions When Returning Condition data via REST
> -------------------------------------------------------------
>
>                 Key: UNOMI-233
>                 URL: https://issues.apache.org/jira/browse/UNOMI-233
>             Project: Apache Unomi
>          Issue Type: Wish
>            Reporter: Jonathan Kressaty
>            Priority: Minor
>
> When retrieving a condition via the REST API, the response fails to include the {{parentCondition}} and any subsequent {{subConditions}} that may (or may not) be defined in a JSON file existing in {{resources/META-INF/cxs/conditions/}}. This makes it difficult to understand what the condition is actually evaluating.
> Adding this would allow much easier display and management of Conditions via the REST API, especially assuming one is implementing some form of frontend user interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)