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

Standardize DB Params on OptaPlanner Employee Rostering template

XMLWordPrintable

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

      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.

            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

              Created:
              Updated:
              Resolved: