BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Setup Bahmni Event Log Service

Bahmni event log service is used for the pulling the event logs for using the data offline as described here. Here are the steps to set up:

  • SSH into the remote machine.
  • Check if event log service is existingCheck if event log service existsservice bahmni-event-log-service status
  • In inventory file located at /etc/bahmni-installer/local, add localhost for the bahmni-event-log-service entry Install event log service[bahmni-event-log-service] localhost
  • Install bahmni event-log-service rpm
  1. To install only bahmni event log service
  2. To install all rpms including bahmni event log service
    ansible-playbook -i /etc/bahmni-installer/local /opt/bahmni-installer/bahmni-playbooks/all.yml -vv  --extra-vars '@/etc/bahmni-installer/rpm_versions.yml' --extra-vars '@/etc/bahmni-installer/setup.yml' -t event-log
bahmni install
  • Check if event-log-service is properly installedCheck if event log service is installed correctlycurl http://dev.bahmnidev.org/event-log-service/The response should be "Event log service is up and running."Generate Event Log for existing atomfeedThere is a migration script to add existing address heirarchy events on the server (from atom feed logs) to the event_log table. It should be manually run in this order:

https://github.com/Bahmni/event-log-service/blob/master/event-log-service-webapp/src/main/resources/sql-scripts/createAddressHierarchyEvents.sql

Generate Event Log for concepts

To make concepts available for offline use, run the following python script

https://github.com/Bahmni/event-log-service/blob/master/event-log-service-webapp/src/main/resources/sql-scripts/copyOfflineConcepts.py

by running the command

python copyOfflineConcepts.py

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗