Uploaded image for project: 'Shibboleth User Interface'
  1. Shibboleth User Interface
  2. SHIBUI-1253

Only write out metadata files and the metadata-providers.xml file if something has changed

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Minor
    • None
    • None
    • None
    • Core - Sprint 2 (5/30/19)

    Description

      Right now, the ShibUI has a property which controls how often individual metadata files and the metadata-prpviders.xml file it manages are written out to disk. But this currently rewrites all files it is managing (that are "enabled"), whether or not any info that ends up in that file has changed. As long as one has a "smart file transfer" process – e.g. rsync or git – in place that only transfers/updates based on actual changes, that isn't a big deal.

      But in case one does not, and to provide the "least surprising/most efficient" behavior, it would be best to only rewrite files that actually have changed. Enhance that file writing process to do so.

       

      Attachments

        Activity

          People

            jonathan.johnson@at.internet2.edu Jonathan Johnson (unicon.net)
            michael.grady@at.internet2.edu Michael Grady (unicon.net)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: