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 {"Name":"Generated","component":"wind","value":"1308.16","gtime":"20150121"} 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 at qsc.de<mailto:Zhiying.Liu at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150501/b2b54b73/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy