[Backlogmanager] [FIWARE-JIRA] (HELP-9398) [fiware-stackoverflow] Complext event structure in FIWARE Generic Enabler CEP - Proton

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Thu Jun 1 16:10:00 CEST 2017


     [ https://jira.fiware.org/browse/HELP-9398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez deleted HELP-9398:
---------------------------------


> [fiware-stackoverflow] Complext event structure in FIWARE Generic Enabler CEP - Proton
> --------------------------------------------------------------------------------------
>
>                 Key: HELP-9398
>                 URL: https://jira.fiware.org/browse/HELP-9398
>             Project: Help-Desk
>          Issue Type: Monitor
>            Reporter: Backlog Manager
>              Labels: cep, fiware
>
> Created question in FIWARE Q/A platform on 24-03-2015 at 15:03
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/29234792/complext-event-structure-in-fiware-generic-enabler-cep-proton
> +Question:+
> Complext event structure in FIWARE Generic Enabler CEP - Proton
> +Description:+
> I'd like to use Proton as CEP GE in my FI-WARE architecture.
> I ask your help because I have an event that has a complex structure and I would like to understand how can I define it and the EPA that should use it.
> I check in documents you provide in this wiki
> https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_User_and_Programmer_Guide
> and then
> forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification
> and
> http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE.ArchitectureDescription.Data.CEP
> but I don't find anything about attributes of type object in event configuration or EPA (Event Process Agent) configuration or how set up the event description using REST api.
> the json structure of incoming event is this (I know that name attribute here is missing)
> {"contextElements":[
>     {"type":"ADD",
>     "isPattern":false,
>     "id":"ADD_MESSAGE_com.liferay.portlet.messageboards.model.MBMessage_111516",
>     "attributes":[
>         {"name":"id_","type":"long","value":"32302"},
>         {"name":"companyId","type":"long","value":"10157"},
>         {"name":"groupId","type":"long","value":"10184"},
>         {"name":"userId","type":"long","value":"10201"},
>         {"name":"date","type":"date","value":"12-mar-2015"},
>         {"name":"type","type":"string","value":"ADD_MESSAGE"},
>         {"name":"className","type":"string","value":"com.liferay.portlet.messageboards.model.MBMessage"},
>         {"name":"classPK","type":"string","value":"111516"},
>         {"name":"classUuid","type":"string","value":"9cd599c5-e01e-417d-9118-a636beed7145"},
>         {"name":"model","type":"string","value":"{32302}"}
>         ]}
>     ],
> "updateAction":"APPEND"}
> The EPA should then check the "value" of "name":"groupId" "attributes" field.
> I don't think is easy to do it using Proton UI (http://130.206.81.23:8080/AuthoringTool/Main.html). I created there a new project named is3_like_eng_test.
> Could you address me to a resource that deeply explain how create the proton project json file I need also.
> Thank you in advance



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy