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

FIWARE.Request.Lab.Interfacing GEs through http.

    Details

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

      Description

      Hello,
      I'm trying to implement Orion context broker with Proton CEP and an external API, Mandrill, to send emails on event detection. Orion would take values from our own API and send them to CEP. On event detection, CEP would send a payload to Orion, who would parse it and direct it to Mandrill and have an email template merged with the variables and sent to the correct client.

      While studying Orion http communication, I found that I wasn't able to make it send an http POSTs, using the subscription feature, with the JSON object formated the way each API needs to communicate.

      For instance, CEP only takes flat JSONs of the form

      {"name":"Report" , "value":"100"}

      on a POST request, but Orion's output is a complex JSON. So, CEP isn't able to take inputs directly from Orion because variables in the JSON aren't accessible to it and vice-versa.
      Same thing happens with Mandrill API, which does recieve JSON POSTs but with a particular configuration.

      So I'd like to confirm that Fiware GEs don't generally have a way of communicating direclty through http and that we need to write some complementary backend code to parse these JSON requests.
      Is this the case for other GEs as well? Am I missing something about Orion's http requests?
      If you need more information, please let me know.
      Thank you
      Arthur Vieira
      Geratriz, Portugal
      _______________________________________________
      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: Arthur Vieira <arthurmvieira@hotmail.com>]

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary FIWARE.Request.Tech.Interfacing GEs through http. FIWARE.Request.Lab.Interfacing GEs through http.
        mev Manuel Escriche made changes -
        Component/s FIWARE-LAB-HELP [ 10279 ]
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-tech-help] Interfacing GEs through http FIWARE.Request.Tech.Interfacing GEs through http.
        mev Manuel Escriche made changes -
        alfopietro Pietropaolo Alfonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        alfopietro Pietropaolo Alfonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        alfopietro Pietropaolo Alfonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        alfopietro Pietropaolo Alfonso made changes -
        Assignee Pietropaolo Alfonso [ alfopietro ]
        alfopietro Pietropaolo Alfonso made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            alfopietro Pietropaolo Alfonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: