Skip to content

Manage integrator service

Vivek Singh edited this page Jul 23, 2021 · 8 revisions

Start, stop service

systemctl [start/stop/restart] abi.service

Check errors in bugsnag

  • Login to https://app.bugsnag.com
  • Emails will also be sent to the email registered in above account

Check logs

  • Directory: /var/log/abi

Configuration of the background service

  • Check /root/source/abi-host/start-ab-integrator.sh
  • It contains schedule, server configuration, the tasks that are being run

Integration tasks

  • AvniSubject for saving Avni subjects into Bahmni
  • AvniEnrolment for saving enrolments created in Avni into Bahmni
  • AvniProgramEncounter for saving program encounters created in Avni into Bahmni
  • AvniErrorRecords for processing any records which was in error earlier when saving Avni* tasks
  • BahmniVisitDateFix for fixing visits and encounter dates in Bahmni. This is run everytime after the above finishes. The date fixing is required because OpenMRS doesn't allow creation of visits and encounters in the past.
Clone this wiki locally