Retrieve results for the kpi values from the fields in ES

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.9.0, 3.9.0-alpha4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not defined

      Description

      Currently the KpiService, calculates the values of every individual kpi whenever a the endpoint is being invoke. Since now in ES we have a new field called "lastKpiEvaluationResult" in the ProcessOverviewIndex we can simply do a look up there and fetch the last kpi value.

      Edge Cases
      We need to find a solution for what happens whenever we create a new report as set it as a kpi, which doesnt exist in ES yet, as this will cause the endpoint not to return it until the next interval

      AT:

      • The KpiService fetched the values from ES for the report KPIs
      • The KpiService inserts a kpi value to ES in case it doesnt exist there

            Assignee:
            Unassigned
            Reporter:
            Andromachi Rozaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: