Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-1040

OptaShift employee rostering: create a docker image

XMLWordPrintable

      The OptaShift employee repository
      https://github.com/kiegroup/optashift-employee-rostering
      can be build with "mvn clean install -DskipTests"
      and produces a war file in the directory optashift-employee-rostering-webapp/target/

      Build a docker openshift image/template that makes it trivially easy to run this on OpenShift. In a second phase this will also go into the openshift service catalog to make it even easier to run.

      Requirements (feedback welcome)

      1) The openshift image should deploy the optashift-employee-rostering war on the WildFly or EAP docker image (which extends the openjdk docker image). It should also start up a relation database docker image (MySQL? PostreSQL?).

      2) The database connection in this file will need to be parameterized accordingly:
      https://github.com/kiegroup/optaweb-employee-rostering/blob/master/employee-rostering-server/src/main/filtered-resources/META-INF/persistence.xml#L6
      https://github.com/kiegroup/optaweb-employee-rostering/blob/master/employee-rostering-server/src/main/filtered-resources/META-INF/persistence.xml#L22
      That persistence.xml might move into the server.jar, as it should only be there in the server classpath.

      3) Put the new image here:
      https://access.redhat.com/containers/#/search/rhdm
      The official name of this image is "OptaWeb Employee Rostering" and it's part of the SKU "Red Hat Business Automation" (= Decision Manager + PAM) and part of the product "Business Optimizer"

      4) Any of the requirements should be changed to make it consistent with what the KIE cloud team's guidelines/conventions are (so it's consistent with kie-server's images etc).

              czhu_jira calvin zhu (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: