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

Installer requires entityID in idp.merge.properties in non-interactive mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.4.0
    • Component/s: Installer
    • Labels:
      None
    • Operating System:
      Linux
    • Java Version:
      Other OpenJDK 8
    • Servlet Container:
      Apache Tomcat 7

      Description

      I've been trying to script the IdP installation with Ansible - at least the parts that can be easily automated.

      When creating the Ansible task that invokes the IdP installer, I was aiming for non-interactive mode - -Didp.noprompt=true.

      I soon found I also had to provide a merge file with idp.merge.properties - OK, I got that working with another Ansible task that creates this based on a template.

      I've just looked at build.xml again and I see that for other replacable properies (like idp.scope), there is a separate ant task writescope that writes idp.scope to idp.merge.properties.

      It looks like applying the same scheme to idp.entityID would simplify the non-interactive setup and would allow to go without having to prepare idp.merge.properties beforehand.

      This would mean splitting the current getentityid task into separate askentityid / writeentityid tasks.

      Just chipping it in as a suggestion to improve the non-interactive setup....

      Cheers,
      Vlad

        Attachments

        1. build.xml.3.3.1
          34 kB
          Rod Widdowson

          Issue Links

            Activity

              People

              Assignee:
              rdw@iay.org.uk Rod Widdowson
              Reporter:
              tuakiriadmin-vmencl@virtualhome.tuakiri.ac.nz Vladimir Mencl
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 4 hours, 10 minutes Remaining Estimate - 1 hour, 45 minutes
                  1h 45m
                  Logged:
                  Time Spent - 4 hours, 10 minutes Remaining Estimate - 1 hour, 45 minutes
                  4h 10m