Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following diagram shows how the technology stack is connected:

...

Info

To know the DHIS2 event structure, you can check DHIS 2 Maintenance (psi-mis.org), program stage: CWS Notifications.

...

Cronjob

Notification Mediator Service use a cron scheduler to send all the notifications that have already reached the scheduled date and which status is set to 'scheduled'. This CronJob runs every X 2 minutes.

The cronjob uses notification endpoint named send notifications.

...

  • DHIS2 endpoints restrictions

  • Notifications pending to send are retrieved before the current minute and after the previous 7 days. This way, if for some reason we have notifications pending to send (the server was down, DHIS2 was not working in the previous hours…) we can send the previous notifications.

...

  • image-20240209-071416.pngImage Added