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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP71 1.4.0.GA
    • Fix Version/s: None
    • Component/s: EAP7
    • Target Release:
    • Steps to Reproduce:
      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
    • Sprint:
      Cloud Sprint 36

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rguimara Roberto Oliveira
                  Reporter:
                  trogers-rh Travis Rogers
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: