Skip to content

Admin App v4.1.0 — Scripts v2.0

Latest

Choose a tag to compare

@analiliagutierrez analiliagutierrez released this 17 Nov 15:37
e849e61

Installs and upgrades Admin App 4.1 with the Windows IIS scripts, and updates the quick start for 4.1. Admin App 4.0.1 can still be installed with -AdminAppRef v4.0.1.

Validated against Admin App v4.1.0 (and v4.0.1), Ed-Fi ODS/API 7.3.2, Admin API 2.4.0, SQL Server and PostgreSQL, on Windows PowerShell 5.1 and PowerShell 7.

Windows install

  • Secrets: the encryption key and the new session secret are delivered through the API App Pool's NODE_CONFIG and reused on every re-run. The scripts stop before installing when a sample password, client secret or encryption key is used, since 4.1 refuses to start with them.
  • Keycloak over HTTPS: 4.1 accepts only an HTTPS issuer, so the local Keycloak also listens on port 8443 with a self-signed certificate that the API trusts through NODE_EXTRA_CA_CERTS.
  • Sign-out: the web application's security headers allow the 4.1 sign-out.
  • Upgrade from 4.0: a re-run keeps the key and the data, moves the issuer to HTTPS and removes packages left by 4.0. Check out the new release in the existing Admin App checkout first; see the README.

Quick start

  • Keycloak URLs default to the 8443 HTTPS listener.
  • Claim set copies are named without spaces (AA-SIS-Vendor), because 4.1 rejects white space in a claim set name. cleanup.ps1 removes the old copies too.
  • The quick start waits for the ODS/API and Admin API before it creates the environment.

Behaviour changes worth noting

  • Existing quick-start .env files with Keycloak on port 8080 get a 401 against a 4.1 install; use port 8443.
  • On Admin App 4.1 the ed-org synchronization scripts are not needed: syncing the environment loads the ed-orgs.

Included PRs

#12 (Admin App 4.1 support).