Opal: Single Sign-On, One Shared Codebase and AWS Test Infrastructure
NSW Transport (NCS engagement)
Select a diagram element to explore it.
Separate implementations
The legacy architecture had separate web and native mobile implementations.
Run on web, iOS and Android
The React Native version runs on all three platforms.
Scope: Solution architecture for Opal, plus support and maintenance of native iOS and Android apps with 1M+ downloads.
Security and integrations: Designed and implemented secure single sign-on (SSO) for the internal enterprise portal and the native apps, centralising authentication and access management. Own the AWS Cognito user pool and designed the microservice that connects it to the Firebase Admin SDK. Used REST API in the SSO and Firebase integration work. Architected and developed a Firebase Remote Config integration, so app behaviour and features change remotely without a new app release.
Vendor management: Developed an in-house tool that generates vendor-specific specifications to configure a large portfolio of applications. It stores each generated specification for reuse in later changes, which reduces redundant vendor requests.
Modernisation: Refactored a legacy architecture, consolidating separate web and native mobile implementations into a single shared codebase. The React Native version runs on web, iOS and Android. Built Expo config plugins and a Bitbucket and Expo pipeline for it.
Test automation: Initiated and led UI test automation for web and native Android and iOS apps. Each test carries structured metadata and each run is recorded as one uninterrupted video, which improves traceability and speeds up failure diagnosis.
Infrastructure and cost: Architected and documented an Infrastructure-as-Code solution for UI testing on AWS: Android workloads on EC2 Spot Instances with nested virtualisation, iOS workloads on EC2 Mac Dedicated Hosts.
- UI-testing costs about 85% lower than on the external platform
- About $33K per year saved in infrastructure costs by finding and fixing a native app configuration issue
Status: In progress since Aug 2025.