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

        Hide
        backlogmanager Backlog Manager added a comment -

        2021-05-21 05:31|CREATED monitor | # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-05-21 05:31|CREATED monitor | # answers= 2, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2021-05-22 05:31|UPDATED status: transition Answer| # answers= 2, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-05-22 05:31|UPDATED status: transition Answer| # answers= 2, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2021-05-23 05:31|UPDATED status: transition Finish| # answers= 3, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2021-05-23 05:31|UPDATED status: transition Finish| # answers= 3, accepted answer= True

          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: