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 -
        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
        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 ]
        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
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        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
        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 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1d 1 Backlog Manager 22/May/21 7:31 AM
        In Progress In Progress Closed Closed
        1d 1 Backlog Manager 23/May/21 7:31 AM

          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: