Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-8315

Sakai should have more flexibilty in reading properties files.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 2.3.1, 2.4.0, 2.5.0
    • Fix Version/s: 2.6.0
    • Labels:
      None
    • Environment:
      All

      Description

      Sakai currently reads a fixed list of property files. It should read a variable number of properties files that can be organized as most efficient for the implementor. The fixed list of files is fine for simple installations, but when multiple instances of Sakai need to be maintained and some properties need to vary by instance and some need to stay the same it become unwieldly to try to keep monolithic files up to date. It would be better to be able so separate out the things that remain the same from values that vary by instance.

      Sakai should read in all properties files in the sakai.home directory (sorting by file name to ensure they are read in a consistent order) and then read in the files that it currently reads in. Since values in files read later take precedence this allows folks to add new files organized to the current set of properties files and not have the values in sakai.properties mysteriously overridden. Properties can be migrated from sakai.properties gradually and they only need to be migrated at the conveinence of the implementor.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    raydavis Ray Davis (Inactive)
                    Reporter:
                    dlhaines David Haines
                  • Votes:
                    5 Vote for this issue
                    Watchers:
                    12 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration