Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-3231

[7.2.x-openjdk11] When user supplies a JDBC connection URL, parts of the URL will be ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • EAP71 1.4.0.GA
    • EAP7
    • Hide

      Initiate an Openshift build using the example git repo.
      https://github.com/travisrogers05/rhsso-with-ext-postgresql-db

      Install the customized template.
      oc create -f https://raw.githubusercontent.com/travisrogers05/rhsso-with-ext-postgresql-db/master/sso72-https-postgresql-external.json

      Create the RHSSO pod based on the template. I've been using this script and supplying these values when executed:

      CLUSTERURL=https://openshift.redhat.com TOKEN=$(oc whoami -t) TEMPLATE=sso72-https-postgresql-external PROJECT=02325498-rhsso-ext-postgres APPLICATION_NAME=rhsso-ext-postgres-app SOURCE_REPOSITORY_URL=https://github.com/travisrogers05/rhsso-with-ext-postgresql-db SOURCE_REPOSITORY_REF=master CONTEXT_DIR="" DOMAIN=spent9.lab.rdu2.cee.redhat.com DB_DATABASE=rhsso DB_USERNAME=joe DB_PASSWORD=user ../sso-quick-ext-postgresql.sh
      
      Show
      Initiate an Openshift build using the example git repo. https://github.com/travisrogers05/rhsso-with-ext-postgresql-db Install the customized template. oc create -f https://raw.githubusercontent.com/travisrogers05/rhsso-with-ext-postgresql-db/master/sso72-https-postgresql-external.json Create the RHSSO pod based on the template. I've been using this script and supplying these values when executed: CLUSTERURL=https://openshift.redhat.com TOKEN=$(oc whoami -t) TEMPLATE=sso72-https-postgresql-external PROJECT=02325498-rhsso-ext-postgres APPLICATION_NAME=rhsso-ext-postgres-app SOURCE_REPOSITORY_URL=https://github.com/travisrogers05/rhsso-with-ext-postgresql-db SOURCE_REPOSITORY_REF=master CONTEXT_DIR="" DOMAIN=spent9.lab.rdu2.cee.redhat.com DB_DATABASE=rhsso DB_USERNAME=joe DB_PASSWORD=user ../sso-quick-ext-postgresql.sh
    • Cloud Sprint 36

      Creating an example of using RHSSO Openshift container with an external (non-Openshift based) Postgresql DB. Example can be found here.

      Supplying datasource configuration via environment file to an Openshift build process. I see the datasource is created, but the supplied DB_URL is ignored.

      Looks like this method will create the connection URL and for some reason is not aware that a specific value has been supplied to the build.

      Upstream PR: https://github.com/jboss-container-images/jboss-eap-modules/pull/96

              kwills@redhat.com Ken Wills
              rhn-support-trogers Travis Rogers (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: