Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-1815

Hardcoded database name in CONNECTION_URL should be replaced by a generic name

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.6.5.Final
    • None
    • None
    • None

    Description

      We should not give the  hardcoded database name in the CONNECTION_URL as the database name is user specific.

      For example in the DataSourceTemplates.java class for postgresql database CONNECTION_URL is coded like below:

      dataSource.get(CONNECTION_URL).set("jdbc:postgresql://localhost:5432/postgresdb");

      We should replace the url as below:

      dataSource.get(CONNECTION_URL).set("jdbc:postgresql://localhost:5432/" + DATABASE_NAME);

       

       

       

       

      Attachments

        Issue Links

          Activity

            People

              rhn-support-abaral1 Anilabha Baral
              rhn-support-abaral1 Anilabha Baral
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: