Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2141

FIWARE.Request.Tech.Data.CEP.Testing

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hi Ignacio,

      Your definition file seems fine.
      Please be aware that the CEP can run one definition project at a time. So
      if you succeed to send it a TrafficReport evemt, it means that it run the
      example project definition and not your definition file.
      When you export a definition from the UI to the engine, it means that the
      definition is kept in the definition repository.
      If you want the engine to run with it, you need to change the CEP engine
      status to run with the new definition and to stop and start the CEP
      engine.
      All can be done through REST commands, as described in the api doc.

      I added cc to the FI-WARE issue tracking system to document this issue.

      Regards,
      Tali

      Tali Yatzkar Haham
      Event-based Middleware & Solutions
      IBM Haifa Research Lab, Israel
      tali@il.ibm.com 972-4-8296320

      From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 12/02/2015 03:40 PM
      Subject: RE: FISTAR : FIWARE CEP GE testing

      Dear Tali

      I have tried with this json "

      {"Name":"TrafficReport", "volume":"30"}

      "
      (event "TrafficReport" of project DoSAttack) in the REST request and it
      worked OK

      It seems that my problem is related to my new Project "FISTARDEMO" created
      with AuthoringTool. Maybe be some missed step configuration?

      I hope this tip can help you to know where the problem is located.

      Many thanks in advance for your support

      Best Regards

      Nacho
      De: Ignacio Lázaro
      Enviado el: jueves, 12 de febrero de 2015 12:56
      Para: Tali Yatzkar-Haham
      Asunto: RE: FISTAR : FIWARE CEP GE testing

      Hi

      I have download from github https://github.com/ishkin/Proton

      Do you need the war files I have?

      Best Regards

      Nacho De: Tali Yatzkar-Haham [TALI@il.ibm.com]
      Enviado el: jueves, 12 de febrero de 2015 10:06
      Para: Ignacio Lázaro
      Asunto: RE: FISTAR : FIWARE CEP GE testing

      Did you take the CEP code from the open source?
      Regards,
      Tali

      Tali Yatzkar Haham
      Event-based Middleware & Solutions
      IBM Haifa Research Lab, Israel
      tali@il.ibm.com 972-4-8296320

      From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 12/02/2015 10:51 AM
      Subject: RE: FISTAR : FIWARE CEP GE testing

      Dear Tali

      I have reviewed the paameter names but I don´t find the error

      Attached you can get the export file

      Many thanks in advance

      Best Regards

      Nacho

      Ignacio Lazaro Llorente
      Informazio-Sistema Adimendunen Unitatea
      Unidad de Sistemas de Información Inteligentes
      Intelligent Information System Unit
      ilazaro@tekniker.es

      De: Tali Yatzkar-Haham [TALI@il.ibm.com]
      Enviado el: miércoles, 11 de febrero de 2015 18:51
      Para: Ignacio Lázaro
      Asunto: Re: FISTAR : FIWARE CEP GE testing

      Dear Ignacio,

      Usually this error is due to an issue with the format of the input event.
      Please make you defined the event with exactly the same name and that it
      has one attribute called score.

      If you did not find the problem, please send me your definition file
      (using export to a file).
      Regards,
      Tali

      Tali Yatzkar Haham
      Event-based Middleware & Solutions
      IBM Haifa Research Lab, Israel
      tali@il.ibm.com 972-4-8296320

      From: Ignacio Lázaro <ignacio.lazaro@tekniker.es>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 11/02/2015 04:32 PM
      Subject: FISTAR : FIWARE CEP GE testing

      Dear Tali

      I am working at FISTAR Project (https://www.fi-star.eu/fi-star.html) and
      for our use case we want to use the CEP GE.

      I have installed CEP in a Ubuntu server 12.04 with Apache Tomcat 7.0.50

      I am testing the CEP capabilities baed on information at
      http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification
      and when I try to execute the following REST request

      http://10.1.22.131:8080/ProtonOnWebServer/rest/events

      Method: POST
      Header : Content-Type : application/json

      Data
      {
      "Name": "QuestionnaireResult",
      "score": "1"
      }

      I get the following response

      "Could not parse json event java.lang.NullPointerException, reason: null"

      I am reviewing the tomcat logs but I don´t find any advice that can help
      me to know what is wrong

      Any tip is wellcome

      Many thanks in advance

      Best Regards

      Nacho

      Ignacio Lazaro Llorente
      Informazio-Sistema Adimendunen Unitatea
      Unidad de Sistemas de Información Inteligentes
      Intelligent Information System Unit
      ilazaro@tekniker.es

      Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
      legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
      berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
      La información de este correo puede ser confidencial y está protegida por
      la legislación vigente. Si ha recibido este correo por error, reenvíelo a
      su emisor y elimínelo. Gracias por su ayuda.
      This e-mail may contain confidential information that is protected by our
      laws. If you have received this e-mail by mistake, please, notify the
      sender and delete it. Thank you for your help.

      Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
      legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
      berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
      La información de este correo puede ser confidencial y está protegida por
      la legislación vigente. Si ha recibido este correo por error, reenvíelo a
      su emisor y elimínelo. Gracias por su ayuda.
      This e-mail may contain confidential information that is protected by our
      laws. If you have received this e-mail by mistake, please, notify the
      sender and delete it. Thank you for your help.[attachment
      "FISTARdemo.json" deleted by Tali Yatzkar-Haham/Haifa/IBM]

      Mezu honen informazioa isilpekoa izan daiteke eta indarrean dagoen
      legediak babesten du. Hutsegite baten ondorioz jaso baduzu, bidal iezaiozu
      berriro bidaltzaileari eta ezaba ezazu. Milesker zure laguntzagatik.
      La información de este correo puede ser confidencial y está protegida por
      la legislación vigente. Si ha recibido este correo por error, reenvíelo a
      su emisor y elimínelo. Gracias por su ayuda.
      This e-mail may contain confidential information that is protected by our
      laws. If you have received this e-mail by mistake, please, notify the
      sender and delete it. Thank you for your help.

      1. catalina.2015-02-26.log
        6 kB
        FW External User
      1. TOMCATLOG.png
        30 kB

        Activity

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: