Details
-
Type: extRequest
-
Status: Closed
-
Priority: Blocker
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
Sender Email:
-
HD-Chapter:Data
-
HD-Enabler:CEP
Description
FIWARE tech help, please address Mr. Zhiying Liu issue on Spain2
-------------------
Dear Mr. Zhiying Liu,
Glad to hear you had a working integration with the CEP and Orion! Sorry
to hear it is not working on the Spain2.
Since you see the problem in two different component, I forward this issue
to the FIWARE tech help.
Best regards,
Tali
Tali Yatzkar Haham
Smart Decision Solutions
IBM Haifa Research Lab, Israel
tali@il.ibm.com 972-4-8296320
From: "Liu, Zhiying" <zhiying.liu@qsc.de>
To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
Date: 04/05/2015 04:45 PM
Subject: Questions about cep and orion
Dear Mr. Yatzkar-Haham,
I have an CEP instance and an orion pub sub instance running on Spain
node. The CEP accept some input events, produces output events as defined,
and send them to orion instance. And one can query the events from the
pub-sub node. Every thing worked fine before my orion node was deleted.
As suggested by FIWARE society, I am now moving my things to Spain2.
On Spain2 node I have:
1. created a new CEP instance, and imported my project definition to the
new instance,
2. created an orion pub-sub instance and have done the same things that I
have done before (fortunately I have documented the steps that made things
work).
However I have problems on both of the new instances.
1. For CEP, I get "OK" response for change definition and change state of
my definition (start, stop). But for push event like this:
curl -v -X POST http://130.206.116.4:8080/ProtonOnWebServer/rest/events
Content-Type: application/json
I always get this status error: 500 Error Interno del Servido
The exact same command to the old instance works fine. The same definition
is exported from the old instance and imported to the new one.
2. For Orion, I can login and start the context broker like this: ?
/etc/init.d/contextBroker start?.
But when I send event definition like this:
Command: POST
(curl 130.206.116.6:1026/v1/updateContext -s -S --header 'Content-Type:
application/xml' d @ | xmllint --format - ) <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<updateContextRequest>
<contextElementList>
<contextElement>
<entityId type="EnergyWarning" isPattern="false">
<id>NotMatch</id>
</entityId>
<contextAttributeList>
<contextAttribute>
<name>EventId</name>
<contextValue>2c67baff-402d-4a48-b22d-e2f5fc743499</contextValue>
</contextAttribute>
<contextAttribute>
<name>DetectionTime</name>
<contextValue>19/11/2014-11:02:05</contextValue>
</contextAttribute>
<contextAttribute>
<name>difference</name>
<contextValue>600.0</contextValue>
</contextAttribute>
<contextAttribute>
<name>Cost</name>
<contextValue>0.0</contextValue>
</contextAttribute>
<contextAttribute>
<name>Certainty</name>
<contextValue>0.0</contextValue>
</contextAttribute>
<contextAttribute>
<name>Name</name>
<contextValue>EWarning</contextValue>
</contextAttribute>
<contextAttribute>
<name>OccurrenceTime</name>
<contextValue>19/11/2014-11:02:05</contextValue>
</contextAttribute>
<contextAttribute>
<name>component</name>
<contextValue>biogas2</contextValue>
</contextAttribute>
<contextAttribute>
<name>Duration</name>
<contextValue>0.0</contextValue>
</contextAttribute>
</contextAttributeList>
</contextElement>
</contextElementList>
<updateAction>APPEND</updateAction>
</updateContextRequest>
The response status is ok, but the error message is:
{ "orionError" :
{ "code" : "400", "reasonPhrase" : "Bad Request", "details" : "service '/v1/updateContext' not found" }}
This exact same command (except ip address) works for my old Orion
instance.
Any help would be highly appreciated!
With best regards,
Zhiying Liu
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Tali Yatzkar Haham [ taliyatzkarhaham ] | Tali Yatzkar Haham [ tali ] |
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Reporter | FW External User [ fwexternaluser ] | FW External User [ fw.external.urser ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Summary | Re: [Fiware-tech-help] Questions about cep and orion | FIWARE.Request.Lab.Data.CEP.Orion Integration |
Summary | FIWARE.Request.Lab.Data.CEP.Orion Integration | FIWARE.Request.Tech.Data.CEP.Orion Integration |
Priority | Blocker [ 1 ] | |
Sender Email | zhiying.liu@qsc.de |
HD-Enabler | CEP [ 10869 ] | |
HD-Chapter | Data [ 10838 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
15d 23h 32m | 1 | Fabiana Fournier | 20/May/15 3:42 PM | |||||
|
30s | 1 | Fabiana Fournier | 20/May/15 3:42 PM | |||||
|
11h 27m | 1 | Fabiana Fournier | 21/May/15 3:10 AM |