feat: BOPS walkthrough, screenshots, and password output#127
Merged
Conversation
CDK infrastructure for deploying BOPS (Back Office Planning System) on AWS: - ECS Fargate (3 services: web, worker, applicants) - Aurora PostgreSQL Serverless v2 with PostGIS - ElastiCache Redis 7.0 - ALB (port 80 + 8080), CloudFront HTTPS - S3 for Active Storage, seed task custom resource - Docker overlays, GitHub Actions workflow, scenario pages
…+ feat-bops-planning tags
…confirmed+no-2FA, run as root for patching
Verified with Playwright: - Login page renders at CloudFront URL - Admin login succeeds (confirmed_at set, otp disabled) - Redirects to Administrator dashboard - Routing patched for single-tenant (base64 encoded) - assume_ssl=true (CloudFront HTTPS), force_ssl=false - Seed creates LocalAuthority + admin/assessor/reviewer users
…tes, 50% assignment Seed creates 35 planning applications via PlanningApplication.create! + build_case_record (not raw SQL) so all callbacks fire and views render correctly. Includes: - ApplicationType creation from upstream fixtures with correct config categories - User creation with confirmed_at + otp_required_for_login=false - 50% apps assigned to assessor (shows in 'My cases') - Backdated received_at/expiry_date for varied 'days to determination' - All dates relative to Time.current (works whenever deployed) Playwright-verified on live AWS: - Login, My cases, All cases, Application detail all render without 500s - 18/35 apps assigned to assessor - Varied expiry dates (17-32 days to determination)
…PI auth fixed
Applicants portal verified locally via Playwright:
- Homepage renders with GOV.UK design ('NDX Demo Council Applicant Portal')
- HttpClient patched to not prepend subdomain to API host
- ApplicationController#current_local_authority returns DEFAULT_LOCAL_AUTHORITY
- API calls to BOPS back-office succeed (bearer token auth working)
- CDK container runs as root for sed patches, drops to app user
- Published apps (published_at set) return make_public=true from API
Remaining: application detail 500s on map rendering (nil boundary_geojson)
- needs dummy geojson in seed data for map to render
- core API integration is working
…on dates for applicants portal Both portals now fully working and verified via Playwright: - BOPS back-office: login, My cases (18 assigned), All cases (35), application detail - BOPS applicants: homepage, application detail with map, consultation status, comment link - Seed publishes 10 in-assessment apps with boundary geojson and consultation end dates - ApiUser with full permissions for API auth between portals
…), bypass council_code validation
…ns) for applicants portal API auth
…d output - Walkthrough: 4-step guide (login, browse applications, review detail, applicants portal) - Complete page with takeaways, production readiness, ODP links - 14 Playwright screenshots (CloudFormation, BOPS back-office, applicants portal, AWS Console) - walkthroughs.yaml, scenarios.yaml, exploration YAML, screenshots YAML - CloudFormation template: Lambda custom resource for unique password per deployment shown in plain text in stack outputs (replaces Secrets Manager console link) - Naming updated to "Back Office Planning System (BOPS)" throughout - Links to opendigitalplanning.org/back-office-planning-system-bops
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
npx @11ty/eleventybuilds 135 files with no errors