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

FIWARE.Request.Tech.Data.CEP.REST API

    Details

      Description

      Hi all!

      I have defined the folllowing REST Uri:
      http://localhost:8000/ReceiveDbDownEvent.

      I have tested it and it is able to receive the following Json document
      using a POST request:
      {
      "EventId" : "5cf6427d-3138-4321-a17f-859f8205795b",
      "EventSource" : null,
      "Certainty" : 1,
      "DetectionTime" : "1417371848675",
      "OccurrenceTime" : "1417371848675",
      "ExpirationTime" : null,
      "Cost" : 0.0,
      "Annotation" : null,
      "Name" : "DbDown",
      "Chronon" : null,
      "Duration" : 0
      }

      This JSON document is based on the following output from the Catalina log
      file:

      Nov 30, 2014 6:24:08 PM com.ibm.hrl.proton.router.EventRouter
      routeTimedObject
      INFO: routeTimedObject: forwarding event DbDown;
      OccurrenceTime=1417371848675; EventSource=; Certainty=1;
      EventId=5cf6427d-3138-4321-a17f-859f8205795b; DetectionTime=1417371848675;
      Duration=0; ExpirationTime=null; Cost=0.0; Annotation=; Name=DbDown;
      Chronon=null; to consumer.
      ..

      I have also attached a screenshot of my consumer definition, for reference.

      My issue, is that the event DbDown is not received at my defined Uri when
      sent from the Proton instance. There doesn't seem to be any error coming
      from Catalina, yet when I send the POST message myself from Postman, there
      is no issue. I was wondering if there is something I may be missing or
      doing incorrectly that you may be able to help me with?

      With many thanks,

      Chris Paton

      _______________________________________________
      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: Chris Paton <chrispaton2005@gmail.com>]

      1. catalina.2014-11-30.log
        59 kB
        FW External User
      2. catalina.2014-12-01.log
        5 kB
        FW External User
      3. ThesisProject.json
        7 kB
        FW External User
      1. Consumer.PNG
        22 kB

        Activity

        fw.ext.user FW External User created issue -
        mcp Miguel Carrillo made changes -
        Field Original Value New Value
        Assignee Tali Yatzkar Haham [ tali ]
        fw.ext.user FW External User made changes -
        Attachment ThesisProject.json [ 12714 ]
        Attachment catalina.2014-11-30.log [ 12715 ]
        Attachment catalina.2014-12-01.log [ 12716 ]
        TALI Fabiana Fournier made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        TALI Fabiana Fournier made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Done [ 10000 ]
        mev Manuel Escriche made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        mev Manuel Escriche made changes -
        Fix Version/s Sprint 4.1.3 [ 10739 ]
        TALI Fabiana Fournier made changes -
        Summary [Fiware-tech-help] IBM Proton CEP - Unable to receive REST events from Consumer FIWARE.Request.Lab.Data.CEP.REST API
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Data.CEP.REST API FIWARE.Request.Tech.Data.CEP.REST API
        mev Manuel Escriche made changes -
        mev Manuel Escriche made changes -
        HD-Enabler CEP [ 10869 ]
        HD-Chapter Data [ 10838 ]

          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: