Hi guys!
Related to BAH-921
, it looks like most of the Bahmni IE Apps classes are provided in the omod
section of the module.
This is not quite correct, should be api
.
So we are refactoring this and moving the dao
, mapper
, model
, service
and validator
packages in api
.
The package names won’t change (though there is something to note about this - see down below), but, if anyone already depends on this module, you should likely update your Maven dependency from:
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>bahmni.ie.apps-omod</artifactId>
<version>${bahnmiieappsVersion}</version>
</dependency>
to
<dependency>
<groupId>org.bahmni.module</groupId>
<artifactId>bahmni.ie.apps-api</artifactId>
<version>${bahnmiieappsVersion}</version>
</dependency>
(unless you are using the Controllers of course, which will stay in the omod
sub-project)
Note about the package naming. There is also inconsistency in the naming of the packages.
In the omod
folder, package name is org.openmrs.module.bahmni.ie.apps
In the api
folder, package name is org.bahmni.module.bahmni.ie.apps
We will change all packages to be named org.openmrs.module.bahmni.ie.apps
, unless someone thinks otherwise. The rule is to usually name it org.bahmni...
though, but there is ongoing work that suggests that we’ll move this module under the OpenMRS’ org.
Best,
Romain
(cc @zouchine)