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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] Fiware Context Provider hello world not working FIWARE.Question.Tech.Fiware Context Provider hello world not working.
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        backlogmanager Backlog Manager created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: