Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-16525

am-config-upgrader creates unnecessary files when run against partial config

    Details

      Description

      Bug description

      When the am-config-upgrader tool is run against a directory which contains a subset of the full am FBC config files it generates new files.

      This issue affects FRaaS as we do not commit to Git any am config files which keep their default values.

      How to reproduce the issue

      1. Obtain a directory of partial config (such as the FRaaS express am config)
      2. Run the am-config-upgrader against this directory of config
      3. Observe that the resulting changes include the introduction of new config files
      Expected behaviour
      New config files are not created if their contents would not differ
      from the default config included with the am-base image
      
      Current behaviour
      New file are created
      

      Work around

      When run manually I have removed all created files. However, this runs the risk of accidentally deleting one or more files which are actually needed.

        Attachments

          Activity

            People

            • Assignee:
              phillcunnington Phill Cunnington
              Reporter:
              craig.mcdonnell Craig McDonnell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: