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
Duplicate inquiry of HELP-2845. User has received a response for inquiry HELP-2845.
--------------------------------------------------------------------
Dear Sir/Madam,
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 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,
Dr. Zhiying Liu
IT-Softwareentwicklung
QSC AG
Mathias-Br�ggen-Stra�e 55
50829 K�ln
Telefon: 0221 6698 - 497
E-Mail: Zhiying.Liu@qsc.de<Zhiying.Liu@qsc.de>
Internet: www.qsc.de<http://www.qsc.de/>
Sitz der Gesellschaft: K�ln - Amtsgericht K�ln HRB-Nummer 28281
Vorstand: J�rgen Hermann (Vorsitzender), Stefan A. Baustert
Vorsitzender des Aufsichtsrats: Dr. Bernd Schlobohm
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
[Created via e-mail received from: "Liu, Zhiying" <zhiying.liu@qsc.de>]
Activity
- All
- Comments
- History
- Activity
- Transitions
Duplicate inquiry of
HELP-2845. User has received a response for inquiryHELP-2845.