bahmni.ie.apps - fix bean definitions and dependency injections

Description

Repo: https://github.com/Bahmni/openmrs-module-bahmni.ie.apps

Context: The bean definitions of the bahmni implementer interface server side OMOD needs to be fixed.
For more context please see here

Tech Analysis:
Bean Definitions
1. Component-scan directive in "webModuleApplicationContext" for package "org.openmrs.module.bahmni.ie.apps"
2. Remove bean definition of "bahmniFormService" in webModuleApplicationContext.

  • Annotate "BahmniFormServiceImpl" with @Service("bahmniFormService")

  • Mark BahmniFormServiceImpl.publish() as transactional

3. Update webModuleApplicationContext.xml - "serviceContext" to add "bahmniFormService" to "moduleService" list.

4. Change from @component to @service for "BahmniFormTranslationServiceImpl"
5. Mark "BahmniFormTranslationServiceImpl.saveFormTranslation()" as transactional

Activity

Show:
krishnanspace
September 24, 2018, 12:19 PM
Fixed

Assignee

krishnanspace

Reporter

Angshuman Sarkar

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Sprint

0.93 Product M1

Fix versions

Configure