Skip to content

Support for aggregated data exchange#1039

Merged
adrianq merged 40 commits intodevelopmentfrom
feature/support_aggregated_data_exchange
Apr 8, 2026
Merged

Support for aggregated data exchange#1039
adrianq merged 40 commits intodevelopmentfrom
feature/support_aggregated_data_exchange

Conversation

@xurxodev
Copy link
Copy Markdown
Contributor

@xurxodev xurxodev commented Nov 5, 2025

📌 References

📝 Implementation

  • Support ADEX in instances
  • Support ADEX in sync rules
  • Support dhis2 scheduler for adex

📹 Screenshots/Screen capture

🔥 Is there anything the reviewer should know to test it?

Limitations:

1- It's not possible to edit an ADEX without assign credentials, for this reason is necessary set credentials to create or update ADEX sync rule
2 - ADEX run failed for datasets, dataElementGroups, etc. The unique models working and enabled are indicators, program indicators and data elements

Scenario to test using play 2.41.6 as origin and play 2.42.3 as destination

1 - In 2.41.6 replicate the user tQSUE8azWFG with all aggregated data exchange authorities

2 - Run analytics

3 - In 2.42.3 import the next metadata with dataset and data elements with necessary codes

adex-play-destination.json

4 - Execute Metadata sync against play 2.41.6 using replicated new user credentials

5 - Create a new ADEX instance with url https://play.im.dhis2.org/stable-2-42-3

Screenshot 2025-11-05 at 16 25 29

6 - Create a ADEX events sync rule

Screenshot 2025-11-05 at 16 26 23

Select Sierra Leone org unit

Screenshot 2025-11-05 at 16 26 54

Select doses program indicators: BCG doses, Measles doses, Yellow fever doses

Screenshot 2025-11-05 at 16 27 36

Select this year period

Screenshot 2025-11-05 at 16 27 58

Select monthly aggregation

Screenshot 2025-11-05 at 16 28 28

Select ADEX instance

Screenshot 2025-11-05 at 16 29 09

Set credentials

Screenshot 2025-11-05 at 16 29 39

Save

7 - Create a ADEX aggregated sync rule

Screenshot 2025-11-05 at 16 31 39

Select data element: Accute Flaccid Paralysis (Deaths < 5 yrs)

Screenshot 2025-11-05 at 16 33 13

Select indicator: ANC 2 Coverage

Screenshot 2025-11-05 at 16 33 49

Select Sierra Leone org unit
Screenshot 2025-11-05 at 16 34 18

Select this year period

Screenshot 2025-11-05 at 16 34 39

Select monthly aggregation

Screenshot 2025-11-05 at 16 35 02

Select ADEX instance

Screenshot 2025-11-05 at 16 35 18

Set credentials

Screenshot 2025-11-05 at 16 35 41

Save

After execute these program rules, the result in play 2.43.3 should be:

Screenshot 2025-11-05 at 16 37 00

📑 Others

  • Any change in the GUI library? If so, what branch/PR?

  • Any change in the D2 Api? If so, what branch/PR?

…o feature/support_aggregated_data_exchange

# Conflicts:
#	i18n/en.pot
@ifoche
Copy link
Copy Markdown
Member

ifoche commented Nov 5, 2025

@xurxodev xurxodev marked this pull request as ready for review November 10, 2025 08:28
@xurxodev xurxodev changed the title Feature/support aggregated data exchange Support for aggregated data exchange Nov 10, 2025
@ifoche ifoche self-requested a review December 1, 2025 11:52
@adrianq adrianq changed the base branch from feature/routes_as_instances to development April 7, 2026 10:22
…t_aggregated_data_exchange

# Conflicts:
#	i18n/en.pot
#	i18n/es.po
#	i18n/fr.po
#	i18n/pt.po
#	src/domain/rules/entities/SynchronizationRule.ts
@bundlemon
Copy link
Copy Markdown

bundlemon Bot commented Apr 8, 2026

BundleMon

No change in files bundle size

Groups updated (1)
Status Path Size Limits
Build Folder
./**/*
2.79MB (+5.11KB +0.18%) +20%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@adrianq adrianq merged commit 3e54035 into development Apr 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants