Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Data
-
HD-Enabler:CEP
Description
Dear Andres,
Please read appendix A in the CEP user guide. It explains the CEP events
(name and attributes) that need to be defined in order to parse Orion
notifications to CEP input events.
You need to carefully follow those instructions, since other wise the CEP
will fail in the parsing and transformation.
Attached is an example CEP project that can be used as reference
I copied the FIWARE texh help in order to have this correspondece
documented.
Hope it helps,
Tali
Tali Yatzkar Haham
Smart Decision Solutions
IBM Research - Haifa, Israel
tali@il.ibm.com 972-4-8296320
From: Andrés Campos <andres@geezar.es>
To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
Date: 23/09/2015 05:18 PM
Subject: Orion -> CEP : NGSI XML parsing error
Hello.
I'm developing a Fi-Ware based ecosystem and I'm having problems with CEP
GE and Orion integration.
I have CEP installed and configured in http://fruitwatcher.mooo.com:8085/
. But I can't get NGSI XML notification from Orion ContextBroker.
I have devices sending data through IotAgent to Orion and CEP is Suscribed
to that device data "ONCHANGE".
I get this at catalina.out:
Sep 23, 2015 1:19:18 PM
com.ibm.hrl.proton.webapp.providers.EventXmlNgsiMessageReader readFrom
INFO: started event message body reader
Sep 23, 2015 1:19:18 PM
com.ibm.hrl.proton.webapp.providers.EventXmlNgsiMessageReader readFrom
INFO: Event: fruitwatcherContextUpdate
Sep 23, 2015 1:19:18 PM
com.ibm.hrl.proton.webapp.providers.EventXmlNgsiMessageReader readFrom
SEVERE: Could not parse XML NGSI event java.lang.NullPointerException,
reason: null
last attribute name: null last value: null
Sep 23, 2015 1:19:18 PM
com.ibm.hrl.proton.webapp.providers.EventXmlNgsiMessageReader readFrom
INFO: finished event message body reader
Sep 23, 2015 1:19:18 PM com.ibm.hrl.proton.webapp.resources.EventResource
submitNewEvent
INFO: starting submitNewEvent
Sep 23, 2015 1:19:18 PM com.ibm.hrl.proton.webapp.resources.EventResource
submitNewEvent
SEVERE: Could not send event, reason: java.lang.NullPointerException,
message: null
If I go to
http://fruitwatcher.mooo.com:8085/ProtonOnWebServerAdmin/resources/definitions
[
]
http://fruitwatcher.mooo.com:8085/ProtonOnWebServerAdmin/resources/instances/
[
]
http://fruitwatcher.mooo.com:8085/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer
{"state":"started","definitions-url":"\/ProtonOnWebServerAdmin\/resources\/definitions\/fruitwatcher"}What should I do from this point to have CEP parsing NGSI XML correctly?
I'm having problems with the documentation because i couldn't find any
clear examples of integration Orion-CEP-Orion.
If you need some kind of information just let me know
Thanks and Regards.
Andrés Campos
E-mail: andres@geezar.es
GEEZAR Soluciones SL
CEEI C/María de Luna 11, Nave 2
50018 Zaragoza
Teléfono: 976-96-08-52
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help-new
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
8h 24m | 1 | Fabiana Fournier | 24/Sep/15 4:59 PM | |||||
|
8s | 1 | Fabiana Fournier | 24/Sep/15 4:59 PM | |||||
|
3d 18h 45m | 1 | Fabiana Fournier | 28/Sep/15 11:45 AM |
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | CEP [ 10869 ] | |
HD-Chapter | Data [ 10838 ] |
Sender Email | andres@geezar.es |
Summary | FIWARE.Request.Lab.Data.CEP.Orion -> CEP : NGSI XML parsing error | FIWARE.Request.Tech.Data.CEP.Orion -> CEP : NGSI XML parsing error |
Summary | Re: [Fiware-tech-help] Orion -> CEP : NGSI XML parsing error | FIWARE.Request.Lab.Data.CEP.Orion -> CEP : NGSI XML parsing error |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Reporter | Tali Yatzkar Haham [ tali ] | FW External User [ fw.external.urser ] |
Assignee | Tali Yatzkar Haham [ tali ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |