Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Josh ZamorJosh Zamor(Deactivated)Reporter
Josh ZamorJosh Zamor(Deactivated)Labels
Components
Sprint
NoneFix versions
Affects versions
Priority
Critical
Details
Details
Assignee
Josh Zamor
Josh Zamor(Deactivated)Reporter
Josh Zamor
Josh Zamor(Deactivated)Labels
Components
Sprint
None
Fix versions
Affects versions
Priority
Time Assistant
Time Assistant
Time Assistant
Created October 7, 2016 at 9:26 PM
Updated December 6, 2016 at 8:14 PM
Resolved November 1, 2016 at 10:43 PM
came up with a mechanism for extension points of a service that could be built and ran locally.
However there are 2 issues related to build and deployment we need to solve for in order for this to really be viable in our dockerized environment:
1. left the solution to building an extension module against extension points with the mainProjectPath solution. This required a developer to checkout the main service so that the extension points could be built off of this. This would be difficult to achieve in CI and requires a developer to go through extra steps. Our first thought was that we'd publish the Service to maven so that the extension could simply list it as an dependancy. This would work, but we'd need to be publishing the service to two locations: Docker Hub and Maven. and should address this.
2. The extension point once built ends up as a JAR that is then host mounted into the service during deployment of the reference distribution. This would not work well in CD as host mounts aren't recommended. We'd need a solution to this. Current thought is that a best practice might be to publish the extension module's JAR as a docker data container, that could then be composed with the service (using container volumes) during deployment.
Acceptance Criteria:
Service extension publishing (Maven and DockerHub or alternative) is known and accepted and works in CI/CD
Extension point publishing doesn't use host mounts and works in a dockerized way with CI/CD.
Reference:
FELOMIS-99: http://review.openlmis.org:7788/cru/FEOLMIS-99
Dev discussion: https://groups.google.com/d/msg/openlmis-dev/9jTd-RE1qeo/bPXugrOWBQAJ