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

FIWARE.Question.Tech.Fiware Context Provider hello world not working.

    Details

      Description

      Created question in FIWARE Q/A platform on 10-05-2021 at 11:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/67470035/fiware-context-provider-hello-world-not-working

      Question:
      Fiware Context Provider hello world not working

      Description:
      Updated (II):
      I'm trying to register a Context Provider as source for several KPIs.
      So far, it seems registering might be working, as GET http://orion/v2/registrations returns something similar to what I set in creation:
      {
      // each registering a new id is returned: "id": "60991a887032541f4539a71d",
      "description": "City Inhabitants",
      "dataProvided": {
      "entities": [

      { "id": "city.inhabitants" //,"type": "KeyPerformanceIndicator" }

      ]
      },
      "provider": {
      "http":

      { "url": "http://myhost/v2/inhabitants" }

      //, "legacyForwarding": false //perhaps there's a bug, cause although unset or set to false, broker still returns true.
      }
      }

      However GET http://orion/v2/entities/city.inhabitants results in:
      {
      "error": "BadRequest",
      "description": "Service not found. Check your URL as probably it is wrong."
      }

      GET http://orion/v2/entities?type=KeyPerformanceIndicator returns [] and context-provider is not being invoked any way.
      I'm coding a nodejs application from scratch, to better understand what's going on https://github.com/FIWARE/tutorials.Context-Providers, and using tutorial containers as actual Fiware Broker, so all stores/shelf/products are working but not my KPI.
      Any help would be much appreciated.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        23h 59m 1 Backlog Manager 12/May/21 7:31 AM
        In Progress In Progress Closed Closed
        23h 59m 1 Backlog Manager 13/May/21 7:31 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: