[ https://jira.fiware.org/browse/HELP-8807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-8807:
---------------------------------
HD-Chapter: IoT
Description:
Created question in FIWARE Q/A platform on 31-01-2017 at 09:01
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/41952510/rest-paylod-cep-in-input-event-for-cep-5-4-3
+Question:+
REST paylod CEP in input event for CEP 5.4.3
+Description:+
the last year, I created an example for CEP and it worked.
My example was very simple; I put 2 params in input events in json format like (http://proton:8080/ProtonOnWebServer/rest/events):
{
"Name":"InputEvent",
"speed":"120",
"limit":"100"
}
Now I'm trying to run this example and if I use the CEP (version 5.4.3) I've got an error when I try to send the input event, but if I use the old version (3.3.3) is ok.
The error is:
SEVERE: Could not parse JSON NGSI event org.apache.wink.json4j.JSONException: The key [data] was not in the map, reason: The key [data] was not in the map
Could you suggest me how to write the REST payload in the input event?
Thank you and best regards,
Pasquale
was:
Created question in FIWARE Q/A platform on 31-01-2017 at 09:01
{color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/41952510/rest-paylod-cep-in-input-event-for-cep-5-4-3
+Question:+
REST paylod CEP in input event for CEP 5.4.3
+Description:+
the last year, I created an example for CEP and it worked.
My example was very simple; I put 2 params in input events in json format like (http://proton:8080/ProtonOnWebServer/rest/events):
{
"Name":"InputEvent",
"speed":"120",
"limit":"100"
}
Now I'm trying to run this example and if I use the CEP (version 5.4.3) I've got an error when I try to send the input event, but if I use the old version (3.3.3) is ok.
The error is:
SEVERE: Could not parse JSON NGSI event org.apache.wink.json4j.JSONException: The key [data] was not in the map, reason: The key [data] was not in the map
Could you suggest me how to write the REST payload in the input event?
Thank you and best regards,
Pasquale
HD-Enabler: CEP
> [fiware-stackoverflow] REST paylod CEP in input event for CEP 5.4.3
> -------------------------------------------------------------------
>
> Key: HELP-8807
> URL: https://jira.fiware.org/browse/HELP-8807
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Backlog Manager
> Labels: fiware, fiware-cep
>
> Created question in FIWARE Q/A platform on 31-01-2017 at 09:01
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/41952510/rest-paylod-cep-in-input-event-for-cep-5-4-3
> +Question:+
> REST paylod CEP in input event for CEP 5.4.3
> +Description:+
> the last year, I created an example for CEP and it worked.
> My example was very simple; I put 2 params in input events in json format like (http://proton:8080/ProtonOnWebServer/rest/events):
> {
> "Name":"InputEvent",
> "speed":"120",
> "limit":"100"
> }
> Now I'm trying to run this example and if I use the CEP (version 5.4.3) I've got an error when I try to send the input event, but if I use the old version (3.3.3) is ok.
> The error is:
> SEVERE: Could not parse JSON NGSI event org.apache.wink.json4j.JSONException: The key [data] was not in the map, reason: The key [data] was not in the map
> Could you suggest me how to write the REST payload in the input event?
> Thank you and best regards,
> Pasquale
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy