[Fiware-tech-help] Questions about cep and orion

Liu, Zhiying zhiying.liu at qsc.de
Mon May 4 18:06:06 CEST 2015


Dear Mr. Pacheco,

I guess this is more a migration problem than specific GE problems, because things worked in the old instances. I am not sure.

We have asked to make our snapshots to be visible from Spain2 node but no reply yet.

Thanks and regards.
Zhiying


Am 04.05.2015 um 17:27 schrieb MIGUEL CARRILLO PACHECO <miguel.carrillopacheco at telefonica.com<mailto:miguel.carrillopacheco at telefonica.com>>:

Dear Tali,

We have already been contacted by him on the fiware tech support list and we have sent it to the GE owner as this is GE specific - 2 GEs, that he will contact separately. Please address whatever is involved on your side.

Mr. Liu, as regards the other side (Orion) I contacted the GE owner and they insist that you should use StackOverFlow adding the question again. The reason is that if all the Q&A about the product become available in a public and searchable knowledge base like StackOverflow, which is quite popular among developers. We are sorry that you were the victim of a troll but I can guarantee  that it was not us, our support team is rather professional and they would never reply like that.

Use the “fiware-orion” tag (this is important: using this tag in your question is the only way our support staff realizes a new question on Orion has been posted). Any further interaction will be carried out through answers and comments to your question.

Thanks,

Miguel




El 04/05/2015 a las 16:00, Tali Yatzkar-Haham escribió:
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 at il.ibm.com<mailto:tali at il.ibm.com> 972-4-8296320




From:        "Liu, Zhiying" <zhiying.liu at qsc.de><mailto:zhiying.liu at qsc.de>
To:        Tali Yatzkar-Haham/Haifa/IBM at 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

{"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,

Zhiying Liu





_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help at lists.fi-ware.org<mailto:Fiware-tech-help at lists.fi-ware.org>
https://lists.fi-ware.org/listinfo/fiware-tech-help



--

Please update your address book with my new e-mail address: miguel.carrillopacheco at telefonica.com<mailto:miguel.carrillopacheco at telefonica.com>

----------------------------------------------------------------------
     _/          _/_/                     Miguel Carrillo Pacheco
    _/   _/     _/  _/   Telefónica       Distrito Telefónica
   _/ _/_/_/   _/   _/   Investigación y  Edifico Oeste 1, Planta 6
  _/   _/     _/  _/     Desarrollo       Ronda de la Comunicación S/N
 _/          _/_/                         28050 Madrid (Spain)
                                          Tel:  (+34) 91 483 26 77

                         e-mail: miguel.carrillopacheco at telefonica.com<mailto:miguel.carrillopacheco at telefonica.com>

Follow FIWARE on the net

        Website:  http://www.fiware.org<http://www.fiware.org/>
        Facebook: https://www.facebook.com/eu.fiware
        Twitter:  http://twitter.com/Fiware
        LinkedIn: https://www.linkedin.com/groups/FIWARE-4239932
----------------------------------------------------------------------

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150504/7caa6493/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy