Uploaded image for project: 'Gazelle STS'
  1. Gazelle STS
  2. STS-28

Externalize properties files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Labels:
      None
    • Sprint:
      2020 - S4, 2020 - S5, 2020 - S6
    • Account:
      SEQUOIA: SOW19 (Support for the Hub ITP) (SEQUOIA_SOW19)
    • Story Points:
      1
    • Original story points:
      3

      Description

      The content of the SAML Assertion delivered by gazelle-sts is defined by .properties files inside the .ear (src/main/resources/ihe.assertion.properties and src/main/resources/sequoia.assertion.properties).

      We cannot update those properties without releasing the application, those files should be in /opt/sts so we can update them when we need.

      --------------------------------------------------------------------------------------------
      EDIT ceoche, new requirements analysis :
      Assertion properties must be editable by a test designer.
      Assertion-properties file must be deployed in /opt/sts.
      Default Assertion-properties file must be provided at STS Release in config.zip.
      Assertion properties must be loaded from the file system instead of the resource loader.
      If an assertion-properties file is missing, an error must be thrown, logged and sent as response to web-service requests that requires assertion properties (new and renew).
      If a key-value property is missing in the assertion-properties file, an error must be thrown, logged and sent as response to web-service requests that requires assertion properties (new and renew).

      Existing :
      Is using the resource loader
      Assertion property file name is hard coded
      Root config path '/opt/sts' hard coded, but in STSService, not in AssertionPropertyLoader

      Missing :
      file system loader
      convey root config path '/opt/sts' from STSService to the AssertionPropertyLoader
      error cases handling
      default property files in zip release artifact
      Unit tests and System tests on assertion property loading

      Estimation : 2d implementation, documentation and qualification included but without release nor deployment

        BigPicture - Work Breakdown Structure

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mtoudic Malo Toudic
                Reporter:
                mtoudic Malo Toudic
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  BigPicture - Skills

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Time Tracking

                      Estimated:
                      Original Estimate - 3 days Original Estimate - 3 days
                      3d
                      Remaining:
                      Remaining Estimate - 0 minutes
                      0m
                      Logged:
                      Time Spent - 4 days, 6 hours, 15 minutes
                      4d 6h 15m

                        Potential Duplicates