Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 9 commits into from
Sep 24, 2024
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
Loading