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

FIWARE.Question.Tech.FIWARE entity as a group of KPI attributes.

    Details

      Description

      Created question in FIWARE Q/A platform on 20-05-2021 at 07:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/67616280/fiware-entity-as-a-group-of-kpi-attributes

      Question:
      FIWARE entity as a group of KPI attributes

      Description:
      Our system needs to return several KPIs grouped in different topics:

      Census:

      citizens (number of inhabitants)
      citizens without any studies
      ...

      Information desk

      Phone response time
      Mail response time
      ...

      Tax

      Online payments
      Window payments
      ...

      To my understanding, it would make sense to have an entity for each topic and each KPI being a KeyPerformanceIndicator attribute. eg: This could work similar to:
      {
      "description": "Census Information system",
      "dataProvided": {
      "entities": [

      { "idPattern": ".*" }

      ],
      "attrs":[ //THIS SEEMS AN INTERESTING APPROACH, BUT SADLY ALSO INVALID

      { "name": "citizens", "type": "KeyPerformanceIndicator" }

      ,

      { "name": "citizens_without_studies", "type": "KeyPerformanceIndicator" }

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

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

      }
      }

      (TL;DR: "attrs" supports strings only, so can't return complex/data modeled types, like KPI)
      Setting this happy idea aside, what it would be a good approach to solve this?
      Must each KPI be an entity?
      Is NGSI-LD what I'm looking for?

        Activity

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Summary [fiware-stackoverflow] FIWARE entity as a group of KPI attributes FIWARE.Question.Tech.FIWARE entity as a group of KPI attributes.
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: