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

FIWARE.Request.Tech.Data.CEP.EPA type aggregate

    Details

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

      Description

      Hi Miguel,

      I didn't find the issue, hence I can't see the originally attached
      definition file.
      Could you please assign the issue to me?
      Thanks,
      Tali

      Tali Yatzkar Haham
      Smart Decision Solutions
      IBM Haifa Research Lab, Israel
      tali@il.ibm.com 972-4-8296320

      From: MIGUEL CARRILLO PACHECO <miguel.carrillopacheco@telefonica.com>
      To: Haritz Puerto <haritzpuerto94@gmail.com>,
      <fiware-tech-help@lists.fi-ware.org>, Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 29/04/2015 12:38 PM
      Subject: Re: [Fiware-tech-help] CEP proton EPA type aggregate
      question

      Dear Haritz,

      I add Tali to the loop

      Regards,

      Miguel

      El 27/04/2015 a las 17:37, Haritz Puerto escribió:
      Dear Tali,

      I am learning how to use proton but I have some problems. I want to write
      a CEP application which reports a warning event if it detects at least 3
      alert events. In order to do that, I have an EPA of type aggregate.
      Please, find attached the definition file.
      After sending 3 alert events, the file consumer does not have written any
      warning event. If it is possible, could you help me? I do not know what I
      am doing wrong.

      I am sending these events:

      {"Name":"alert", "entityId":"1"} {"Name":"alert", "entityId":"2"} {"Name":"alert", "entityId":"3"}

      Thank you very much.

      Best regards,

      Haritz Puerto

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@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@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@telefonica.com

      Follow FIWARE on the net

      Website: 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

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Hi Tali,

        I forwarded it to you privately a sec ago. See if you get it.

        Thanks!

        Miguel

        El 29/04/2015 a las 14:27, Tali Yatzkar-Haham escribió:
        Hi Miguel,

        I didn't find the issue, hence I can't see the originally attached definition file.
        Could you please assign the issue to me?
        Thanks,
        Tali

        Tali Yatzkar Haham
        Smart Decision Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com<tali@il.ibm.com> 972-4-8296320

        From: MIGUEL CARRILLO PACHECO <miguel.carrillopacheco@telefonica.com><miguel.carrillopacheco@telefonica.com>
        To: Haritz Puerto <haritzpuerto94@gmail.com><haritzpuerto94@gmail.com>, <fiware-tech-help@lists.fi-ware.org><fiware-tech-help@lists.fi-ware.org>, Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 29/04/2015 12:38 PM
        Subject: Re: [Fiware-tech-help] CEP proton EPA type aggregate question

        Show
        fw.ext.user FW External User added a comment - Hi Tali, I forwarded it to you privately a sec ago. See if you get it. Thanks! Miguel El 29/04/2015 a las 14:27, Tali Yatzkar-Haham escribió: Hi Miguel, I didn't find the issue, hence I can't see the originally attached definition file. Could you please assign the issue to me? Thanks, Tali Tali Yatzkar Haham Smart Decision Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com< tali@il.ibm.com > 972-4-8296320 From: MIGUEL CARRILLO PACHECO <miguel.carrillopacheco@telefonica.com>< miguel.carrillopacheco@telefonica.com > To: Haritz Puerto <haritzpuerto94@gmail.com>< haritzpuerto94@gmail.com >, <fiware-tech-help@lists.fi-ware.org>< fiware-tech-help@lists.fi-ware.org >, Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 29/04/2015 12:38 PM Subject: Re: [Fiware-tech-help] CEP proton EPA type aggregate question
        Hide
        TALI Fabiana Fournier added a comment -

        Dear Tali,

        Yes, it fixed the problem and now I understand how to use an EPA of type aggregation.

        Thank you.

        Best regards,

        Haritz

        2015-05-04 8:18 GMT+02:00 Tali Yatzkar-Haham <TALI@il.ibm.com>:

        Dear Haritz,

        Your application definition seems to be fine, except of one issue with the EPA's count computed variable "alert Expr". Instead of True you should put there the value to be counted, which is 1 in your case (we expect to get number there since in the general case, it allows to add and subtract or give weight to different event types).

        Please tell me if this fix solve your problem. If not, please send me both the updated definition file and the log file (catalina.out under tomcat log directory).

        Best regards,
        Tali

        Show
        TALI Fabiana Fournier added a comment - Dear Tali, Yes, it fixed the problem and now I understand how to use an EPA of type aggregation. Thank you. Best regards, Haritz 2015-05-04 8:18 GMT+02:00 Tali Yatzkar-Haham <TALI@il.ibm.com>: Dear Haritz, Your application definition seems to be fine, except of one issue with the EPA's count computed variable "alert Expr". Instead of True you should put there the value to be counted, which is 1 in your case (we expect to get number there since in the general case, it allows to add and subtract or give weight to different event types). Please tell me if this fix solve your problem. If not, please send me both the updated definition file and the log file (catalina.out under tomcat log directory). Best regards, Tali

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            TALI Fabiana Fournier
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: