We’re are currently including a couple OWAS (lab workflow and order entry) as part of the PIH EMR distro, and are using a rather ad hoc process for now.
I did see the System Administration OWA listed in the openmrs-distro.properties file for the Ref App and was wandering if there was any support for including an OWA via openmrs-distro.properties? Seeing that entry in the openmrs-distro.properties for the Ref App got my hopes up, but from the following ticket it looks like this may not have been implemented yet?
So @dkayiwa and @raff I tried the instructions in SDK-225 and it doesn’t appear to be working properly for me…
I manually updated by artifact to bintray and I’m assuming I have the configuration wrong? However, I’m not seeing any warning or errors when I run, so I’m somewhat at a loss of how to debug. Any thoughts?
@mogoodrich, your snippet and artifact look good. Could you please share the distro file with variables or the whole project instead of just a screenshot so it can be run? SDK can be debugged as described at https://github.com/openmrs/openmrs-sdk#development
Finally getting back to this @dkayiwa… here’s our latest distro file but the SDK still doesn’t seem to be picking up the OWAs, and I haven’t seen anything helpful in the logs yet. Started trying to debug the SDK code today but got distracted, will hopefully get back to this at some point:
Not sure what BuildDistro is? Is that the unlying code that run the deploy command?
As far as I have understood, for every task, there is a java class in sdk-maven-plugin which gets invoked(e.g. Setup, Deploy, BuildDistro). You might want to debug Deploy.java. This is what I do when I wanted to figure out what all is running in the code.
The debugging has helped since there are so many scenarios and just by looking at code, it was hard to find out which one it is taking.