Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-264

Standardize DB Params on OptaPlanner Employee Rostering template

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Minor
    • None
    • 7.4.0.GA
    • RHDM

    Description

      To set up a XA Datasource in OptaPlanner Employee Rostering template we had to tweak the env vars a little bit:
      https://github.com/jboss-container-images/rhdm-7-openshift-image/pull/263/files

      Those vars are the ones looked up for the EAP Datasource Module. In the ideal world, we have a standard across the templates to configure datasources. It's needed to revert back to these vars:

      RHDM_DATABASE
      RHDM_SERVICE_HOST
      RHDM_SERVICE_PORT
      

      This can be done with a new function on the optaplanner module scripts. We can either export the vars expected by the EAP Module or create a new URL var, depending on RHDM_NONXA variable value.

      Attachments

        Issue Links

          Activity

            People

              dward-se-jboss David Ward
              rhn-support-zanini Ricardo Zanini Fernandes
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: