Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-3820

Move hardcoded database name out of ant build and php scripts

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.1
    • 1.3
    • Infusion Builder
    • None
    • Unix/Windows servers where fluid builder is deployed.

    Description

      The name of infusion builder mysql database is hardcoded as "build_cache" in, (1) sql scripts used by ant build, (2) php scripts. This produces issue when multiple instances of infusion builder need to be deployed on the same server.

      The suggested improvement is,
      1. pass the db name as a parameter into ant build file, if not passed-in, use default value "build_cache"
      2. define the db name as a constant in php config file

      Attachments

        1. FLUID-3820-1.patch.txt
          12 kB
          Cindy Qi Li
        2. FLUID-3820-2.patch.txt
          11 kB
          Cindy Qi Li

        Activity

          People

            cli@ocad.ca Cindy Qi Li
            cli@ocad.ca Cindy Qi Li
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 1d
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified