Skip to content

Commit

Permalink
refactor: Service layer for analytics events/enrol. [DHIS2-18005] (#1…
Browse files Browse the repository at this point in the history
…8596)

* refactor: Service layer for analytics events/enrol. [DHIS2-18005]

* fix: Unit test + clean-up [DHIS2-18005]

* fix: Sonar issues [DHIS2-18005]

* chore: Remove unused class [DHIS2-18005]
  • Loading branch information
maikelarabori authored Sep 24, 2024
1 parent 5eaaab3 commit 940108d
Show file tree
Hide file tree
Showing 23 changed files with 1,951 additions and 1,859 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
import org.hisp.dhis.analytics.QueryPlannerParams;
import org.hisp.dhis.analytics.RawAnalyticsManager;
import org.hisp.dhis.analytics.analyze.ExecutionPlanStore;
import org.hisp.dhis.analytics.event.EventAnalyticsService;
import org.hisp.dhis.analytics.event.EventQueryParams;
import org.hisp.dhis.analytics.event.data.EventAggregateService;
import org.hisp.dhis.analytics.resolver.ExpressionResolver;
import org.hisp.dhis.analytics.resolver.ExpressionResolvers;
import org.hisp.dhis.analytics.util.PeriodOffsetUtils;
Expand Down Expand Up @@ -171,7 +171,7 @@ public class DataHandler {

private static final int PERCENT = 100;

private final EventAnalyticsService eventAnalyticsService;
private final EventAggregateService eventAggregatedService;

private final RawAnalyticsManager rawAnalyticsManager;

Expand Down Expand Up @@ -428,7 +428,7 @@ public void addProgramDataElementAttributeIndicatorValues(DataQueryParams params
.withSkipMeta(true)
.build();

Grid eventGrid = eventAnalyticsService.getAggregatedEventData(eventQueryParams);
Grid eventGrid = eventAggregatedService.getAggregatedData(eventQueryParams);

grid.addRows(eventGrid);

Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 940108d

Please sign in to comment.