Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1299

And Task to rewrite property files

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.0
    • Component/s: Installer
    • Labels:
      None
    • Environment:

      Installation environment (all Architectures). In practice Window only for 3.4

      Description

      In order to support Jetty 9.4 easily (IdP-1110) we want to rewrite the property file which is the only point that windows users have for customization. "Rewriting" involves changing the property names but preserving the property values.

      It is highly likely that in V4.0 this task will be used to rewrite the main configuration properties files (idp.properties, services.properties and so forth)

      Design notes

      It seems simplest to drive this from another property file

      property.old.name=property.new.name
      property.older.name=property.new.name
      

      That was the rewrite rules (which will need to live for as long as we guarantee forwards compatibility) can be persisted in git and populated into the distribution packages (although possibly not copied to the install).

      Alternatively it might be useful to allow control file to be deleted after the work is done.

      It might be useful to be able to warn if an old name is being used, however this would only be applicable to the non windows install and we'd need to work out how to make that work for windows.

        Attachments

          Activity

            People

            Assignee:
            rdw@iay.org.uk Rod Widdowson
            Reporter:
            rdw@iay.org.uk Rod Widdowson
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h