Final Report
Ash Sabelli – T00743378
Open Learning, Thompson Rivers University
COMP 4911: Computing Science Project
Kevin O’Neil
November 26, 2026
Table of Contents
- Introduction
- Summary of Previous Reports
- Software Engineering Process
- Implementation
- Test Plan and Verification
- Deployment and Maintenance
- Changes, Limitations, and Future Work
- Conclusion
- References
1. Introduction
The client for this project is WestJet, a Canadian airline headquartered in Calgary, Alberta.[1] For this capstone, I developed the WestJet Profile App Dashboard, an internal administrative application for the Digital Profile Apps team. The application provides a self-serve interface for investigating cache data and managing feature availability, replacing workflows that previously required manual developer intervention.
The implementation focuses on two principal modules. The Redis cache module reads content fragments and partner-session data through Digital Platform Services (DPS), displays formatted JSON, and provides a controlled cache-refresh workflow. The feature flag module loads configuration documents from Azure Blob Storage, presents them in a searchable interface, and allows authorized users to stage, review, and save changes.
This report summarizes the development process, implementation, and testing of the dashboard. It builds on the Software Development Model Report, Requirements Report, and Design Report, explaining how the planned architecture was implemented and adapted to the project’s integration dependencies.[2][3][4]
2. Summary of Previous Reports
2.1 Software Development Model Report
In the Software Development Model Report, I defined the minimum viable product around Redis cache lookup and feature flag management and selected Scrumban as the delivery model.[2] The planned process combined backlog refinement and estimation with visual work tracking, Gitflow branching, and stakeholder communication.
Its sixteen-week roadmap separated initial training and architecture work from cache development, feature flag development, security and quality assurance, and final documentation. The project retained the two-module focus, but the exact schedule was not followed. Delays resulted from rotating summer vacations, obtaining IT permissions for development software, and waiting for external teams to complete dependent requirements. Scrumban supported continued delivery as those dependencies became available.
The actual development milestones were:
|
Period |
Main work completed |
|
July 2026 |
Development environment setup and preparation. |
|
August 2026 |
Cache workflow development and unit testing. |
|
September 2026 |
Feature flag development and unit testing. |
|
October 2026 |
Authentication integration and stretch-goal work. |
|
November 2026 |
Integration tests, smoke testing, deployment to the live domain, and final QA. |
The implemented feature flag configuration is a JSON object keyed by flag name, with a description and Boolean status for each entry. This structure supports the planned dynamic interface without hardcoding individual flags.
2.2 Requirements Report
The original requirements baseline contains nineteen functional requirements and eleven non-functional requirements, classified as Must Have, Nice to Have, or Stretch Goal, with collaboration dependencies identified separately.[5] Must Have requirements established the core access, session, cache, feature flag, feedback, security, auditing, and quality expectations. SSO, cross-tab logout, and role-sensitive controls were functional Nice to Have items; configuration history/restore and flag creation/deletion were Stretch Goals. I used these priorities to guide development and identify dependencies on other teams.
The requirements and architectural analysis focused on working within WestJet’s existing engineering standards.[3] Vue 3, TypeScript, the internal component library, Axios, Azure Blob Storage, Vitest, Vue Testing Library, and Storybook provided the technical foundation. This allowed development to focus on integrating the administrative workflows rather than selecting a new technology stack.
My main technical decision was to adopt TanStack Vue Query for cache-related request state while retaining Pinia for application state. I compared this approach with manually coordinating asynchronous requests through Axios and Pinia. In the completed application, Vue Query manages cache lookup and supporting list requests, while the feature flag store manages configuration loading, staged edits, saving, and baseline state in Pinia.
The manual Axios/Pinia approach would have avoided an additional dependency, but required more loading, error, and request-state coordination in each workflow. Vue Query provided reusable request-state handling and caching for the supporting lookup lists, reducing that repeated logic. The trade-off was an additional dependency within the application. Pinia remained appropriate for feature flags because staged changes, a previous-state baseline, and multi-environment saving are part of the operator’s editing workflow rather than independent read requests.[3]
For configuration persistence, I followed the existing Azure Blob Storage design rather than introducing a separate database. Whole-document writes retain the platform’s JSON configuration format, while preview and confirmation allow users to inspect changes before saving. This keeps the dashboard aligned with the existing services, although storage-level concurrency protection and historical restore are separate capabilities.
I maintained the functional and non-functional requirements alongside the implementation, recording revisions and dependencies on external services. This kept the project documentation aligned with the dashboard as development progressed.
2.3 Design Report
The Design Report established the layered single-page application architecture used in the implementation.[4] Presentation components, state management, data access, and authentication have separate responsibilities. I implemented role-sensitive controls, cache-refresh confirmation, feature flag JSON previews, failed-save feedback, and automated testing around these layers.
Authentication was adapted during implementation because the external teams did not have the enterprise SSO integration endpoints ready. I connected the dashboard to the deployed Azure authentication function using the revised Basic Authentication contract. Enterprise SSO and service-side security and auditing remained outside the capstone deliverables.
Feature flag persistence follows the design’s complete-document write approach. Each PUT request replaces an individual Blob document, while Pinia maintains the staged configuration and previous state for UI recovery. Environment writes are handled separately, so recovery of the interface after an error does not reverse a successful storage write.
3. Software Engineering Process
3.1 Requirements, Work Planning, and Acceptance Criteria
I followed Scrumban throughout development. Story-point estimates were established in week zero, and biweekly check-ins provided a regular opportunity to discuss progress, blockers, and integration dependencies. Requirements were organized as Jira work items with acceptance criteria, connecting the development tasks to release validation.
Work was grouped under the Profile App Dashboard epic and the PAAD_26/1.0.0 release, with separate stories for cache clearing, feature flag management, multi-environment support, and authentication.[6] The two feature flag stories each carried an eight-point estimate. This organization divided the requirements into manageable development tasks. The QA team created manual test cases from each release ticket’s acceptance criteria.
For version control, I used separate feature branches linked to Jira tickets. Cache, feature flag, pipeline, and debugging work could progress independently, with completed feature changes integrated into main through pull requests. The branch view below illustrates how this work was organized.
I refined the requirements as integration dependencies changed, particularly when the authentication approach moved from the proposed SSO integration to the available Azure function. The revised documentation records the implemented contract and separates the frontend work from services owned by other teams.
3.2 Design and Incremental Implementation
I developed the user interface components separately from the services that communicate with DPS, authentication endpoints, and Blob Storage. This separation made it easier to test workflows with controlled responses and integrate them with the deployed services. Shared WestJet components provided a consistent foundation for forms, toggles, dialogs, and feedback.
Each module was developed around its complete user workflow. Cache lookup includes input validation, loading, formatted results, copying, and error handling. Cache refresh includes resource selection and confirmation. Feature flag management includes filtering, staged changes, review, persistence, and failed-save handling. I also implemented read-only states so that users can inspect data without access to write controls.
I used Storybook to work with components in isolation and document their loading, populated, and error states. Automated tests cover service contracts, store transitions, component interactions, and routed workflows. This approach supported incremental development and made it easier to identify the source of a failure.
3.3 Integration, Feedback, and Problem Resolution
One integration challenge was the difference between local development requests and deployed browser requests. Vite proxies support local API access, while the deployed application relies on the remote service’s cross-origin resource sharing (CORS) configuration. This required the local and deployed request configuration to be handled separately.
I configured local feature flag requests to use proxies and deployed requests to use environment-specific Blob URLs. A cache-busting query parameter keeps deployed reads fresh without adding an unnecessary custom request header. Blob writes use the method and headers required by Azure Storage, with CORS permissions configured at the service. The project documentation records these configuration requirements.
4. Implementation
4.1 Application Architecture
I built the dashboard as a Vue 3 and TypeScript single-page application using Vite. Vue Router controls navigation, Pinia manages authentication and feature flag state, TanStack Vue Query coordinates cache-related request state, and Axios handles HTTP access. SCSS and the internal WestJet component library provide the visual foundation.
The application is organized into the following layers:
|
Layer |
Responsibility |
Implemented result |
|
Views and components |
Operator workflows, validation, dialogs, results, and feedback |
Administrators can inspect formatted cache data, select refresh operations, and review feature flag changes before saving. |
|
Services |
Endpoint selection, request construction, response validation, and error translation |
Requests target the selected environment, returned data is validated, and failures produce readable feedback. |
|
Stores |
Current identity, client capabilities, staged configuration, and save state |
The interface reflects the user’s role, tracks staged flag changes, and restores its previous state after a failed save. |
|
Routing and lifecycle |
Protected navigation, inactivity handling, and cross-tab session coordination |
Dashboard routes require a valid client session; inactivity ends the session, and logout is coordinated across browser tabs. |
4.2 Redis Cache Lookup and Refresh
I implemented cache lookup through DPS endpoints, with a service layer that prepares the returned data for display. Content fragment lookup uses a hosted list of keys. Partner-session lookup uses a hosted partner list and validates the partner, nine-digit WestJet ID, and thirty-two-character hexadecimal identifier before requesting a result.
Environment selectors begin without a selection, requiring an explicit operator choice. Production cache lookup and refresh are disabled in the current client. The selected environment appears in lookup results and refresh confirmation, reducing ambiguity when working across development, QA, and staging.
Successful lookup results are displayed as formatted JSON and can be copied. The service also handles responses in which JSON has been stored as an encoded string. Changing lookup tabs clears the previous inputs and result so that unrelated data is not carried into a different workflow. Invalid input and request failures produce feedback instead of misleading result content.
Cache refresh is a separate write workflow. A user with the cache-management capability selects an environment and resource types, reviews the confirmation, and submits the request to DPS. The service checks the response for succeeded and failed resource types, and the view displays progress and success or error feedback.
4.3 Feature Flag Management
I implemented feature flag management across development, QA, staging, and production. The interface combines flag names across the configuration documents, displays them alphabetically, and provides name/description search and enabled/disabled filters. Status filtering uses the development environment’s flag state.
Users with flag-management capabilities can create flags, edit descriptions, and change environment-specific statuses. Toggle changes can be staged and reviewed through a JSON preview and confirmation before saving. The Pinia store maintains a baseline so that changed environments can be identified and written without replacing every document unnecessarily.
The feature flag service validates the expected object schema and sends the full updated JSON document to the configured Blob write endpoint using a PUT request. Multiple changed environments are saved concurrently. On a successful save, the store updates its baseline. On failure, it restores the previous interface state and exposes an error.
The rollback restores the previous interface state. Each environment document is written separately, so successful storage writes remain in place if another environment fails. Storage-level recovery and concurrent-edit protection are separate from this UI behaviour.
4.4 Authentication, Capabilities, and Session Lifecycle
I integrated the dashboard with the deployed Azure authentication function using the Basic Authentication contract documented in DPA-7549.[6] The service provides /login, /me, and /logout endpoints. The client stores the access token in localStorage, validates a saved token through /me, and uses the returned identity to determine the available actions. Current-user validation and logout send the Bearer token explicitly, and logout clears the local session.
|
Authenticated role |
Cache lookup and flag viewing |
Cache refresh |
Feature flag writes |
|
cache-admin |
Available |
Available |
Unavailable |
|
feature-flag-admin or ff-admin |
Available |
Unavailable |
Available |
|
admin |
Available |
Available |
Available |
|
Other authenticated roles |
Available |
Unavailable |
Unavailable |
I added route guards to require an authenticated session and capability checks to hide or disable write controls. The feature flag store also checks write permission before changing or saving state. A read-only notice identifies the user’s current access. The frontend handles these interface controls, while remote services are responsible for enforcing authorization on requests.
I implemented a fifteen-minute inactivity timeout with cross-tab session coordination. User activity updates a shared timestamp, activity in another tab extends the idle window, and logout clears the shared token so that other tabs return to login. Session checks also run when the document becomes visible. The inactivity timer operates independently of the authentication service’s token lifetime and does not refresh the access token.
4.5 Requirements and Delivered Results
The following summary connects the main requirements to the completed dashboard workflows. It focuses on the implemented frontend rather than repeating the full requirements list.
|
Requirement area |
Delivered result |
|
Authentication and sessions |
The dashboard uses the deployed Basic Authentication function, restores the saved client session, and supports inactivity logout and cross-tab coordination. |
|
Cache inspection and validation |
Content fragment and partner-session lookups validate input, target the selected environment, display formatted JSON, and provide copying and error feedback. |
|
Controlled cache refresh |
Users with cache-management access select resource types and an environment, confirm the operation, and receive progress and outcome feedback. |
|
Feature flag management |
Users can search and filter flags, stage environment-specific changes, review JSON, confirm writes, and recover the previous UI state after a failed save. |
|
Read-only and administrative access |
Role-derived capabilities determine which write controls are available, while read-only users can inspect cache data and feature flags. |
|
Additional flag workflows |
Flag creation and editing extend the core toggle workflow. Permanent deletion and historical configuration restore are not implemented. |
|
Quality assurance |
All 170 automated tests passed, aggregate critical-path coverage exceeded eighty percent, type checking passed, and QA validated the Jira acceptance criteria. |
Enterprise SSO and service-side security and auditing remained outside the capstone deliverables. The Basic Authentication integration and client-side controls reflect the revised implementation scope.
4.6 Workflow Walkthrough
The following figures use local Storybook demo states and mock data to illustrate the implemented interface. They do not display live customer data or service credentials.
Cache lookup
The user selects an environment and a content key, then runs the lookup. The result identifies the environment and presents formatted JSON with a copy control. The example shows the sample tiers content in Development.
Cache refresh confirmation
The user selects the environment and cache resource types before opening the confirmation dialog. The dialog identifies the target environment and allows the user to cancel or confirm. This example stops at confirmation; no live cache operation was submitted.
Feature flag review
The user stages a flag change for an environment and selects Save changes to review the JSON. The preview identifies the changed flag and environment before the user continues to confirmation. This example enables a sample flag in Development and stops at the preview without writing a configuration document.
5. Test Plan and Verification
5.1 Objectives and Test Levels
I based the test plan on the Jira acceptance criteria and the main user workflows. Testing covers valid and invalid inputs, role-specific controls, request errors, environment selection, and session behaviour. Automated coverage checks and manual QA provide complementary validation of the application.
The Jira tickets defined the expected behaviour for login validation, read-only access, feature flag persistence and failed-save recovery, cache-refresh confirmation and feedback, and multi-environment request targeting.[6] They also included automated tests and representative Storybook states as part of the development work.
I used Vitest and Vue Testing Library for automated unit and integration tests, alongside manual testing of the application. Vue Testing Library exercises user-facing behaviour in a jsdom environment. Mock HTTP responses support repeatable success and failure scenarios, while fake timers allow the inactivity deadline to be tested without waiting for the full timeout period.
The QA team created manual test cases from the acceptance criteria for each release ticket and validated them as part of the release process. Storybook supports visual inspection of component states alongside the automated and manual tests.
5.2 Automated Test Plan
|
Area |
Behaviour validated |
Result |
|
Authentication |
Successful and failed login, identity validation, token persistence, logout, and role capabilities produced the expected session state. |
Automated checks passed. |
|
Navigation and login |
Protected navigation followed the authenticated session state, and login interactions handled valid and invalid submissions. |
Automated checks passed. |
|
Session lifecycle |
Idle expiry, activity-based deadline changes, cross-tab coordination, and the absence of an idle timer for unauthenticated users behaved as expected. |
Automated checks passed. |
|
Cache communication |
Requests used the expected URLs and keys; hosted lists and JSON responses were handled; production lookup was rejected; refresh failures were reported. |
Automated checks passed. |
|
Cache and role workflows |
Tab changes reset previous input and results, refresh required confirmation, and representative roles received the expected controls. |
Automated checks passed. |
|
Feature flag persistence |
Invalid schemas and failed requests produced errors, only changed documents were saved, and UI recovery and capability checks behaved correctly. |
Automated checks passed. |
|
Feature flag interface |
Search, filtering, staged changes, preview/confirmation, and read-only controls matched the expected interactions. |
Automated checks passed. |
These suites support regression testing of the services, stores, components, and routed workflows. I used them to check the main success and failure paths as the modules were developed and integrated.
5.3 Manual Integration and QA Plan
The manual test plan covers the following integration and regression scenarios:
|
Scenario |
Procedure |
Expected outcome |
|
Login and restored session |
Log in using representative test roles, reload, then repeat with an invalid or expired token. |
Identity validation controls access; rejected credentials do not preserve a usable client session. |
|
Capability separation |
Test cache-admin, feature-flag-admin, ff-admin, admin, and an authenticated role without write capabilities. |
Controls match the capability matrix; read-only flag access is clearly identified. Service authorization must be verified separately. |
|
Cache lookup |
Test valid content and partner keys, invalid identifiers, missing environment selection, missing data, and service errors. |
Valid results identify the environment; validation and errors do not display stale or misleading data. |
|
JSON display and copying |
Inspect long values at desktop and narrow viewport sizes, then copy a result. |
The display remains readable and the copied JSON preserves the original formatted content. |
|
Cache refresh |
Select environment/resource types, cancel confirmation, then confirm; exercise complete success and partial failure using approved test resources. |
Cancellation sends no refresh; confirmed outcomes distinguish success from failure. Production remains disabled. |
|
Flag review and persistence |
Stage a permitted change, inspect the preview, cancel or confirm, then reload the document. |
Cancellation leaves storage unchanged; a successful write is reflected in the intended environment after reload. |
|
Flag write failure |
Use a controlled failed write and separately simulate mixed success across environments. |
Error feedback and UI recovery are correct; storage is inspected independently for any successful partial writes. |
|
Session coordination |
Exercise inactivity, activity in another tab, logout in one tab, and return to a previously hidden tab. |
Idle handling and cross-tab logout follow the client lifecycle contract without treating activity as token refresh. |
|
Deployed requests |
Run browser reads and writes against approved test endpoints, inspecting methods, headers, CORS, and read/write document targets. |
Requests reach the intended services; no local proxy is assumed to exist in the deployed application. |
|
Visual and keyboard regression |
Inspect relevant Storybook states and application forms, dialogs, messages, and focus behaviour. |
Controls remain readable and operable without overlapping content; any accessibility defects are recorded rather than assuming certification. |
QA has passed, and the Jira acceptance criteria were validated. The manual QA process complements the automated unit and integration suite by checking the release against its expected user-facing behaviour.
5.4 Automated Test Results
I ran the Vitest suite with coverage enabled and used Vue/TypeScript static analysis to validate the application. The coverage configuration enforces an aggregate minimum of eighty percent for statements, branches, functions, and lines across the configured critical paths. This scope includes cache and feature flag workflows, service communication, application state, navigation, and session management.
The automated tests and static analysis produced the following results:
|
Check |
Result |
|
Automated suite |
170 tests passed across 16 test files. |
|
Statement coverage |
91.15% (618 of 678). |
|
Branch coverage |
84.88% (500 of 589). |
|
Function coverage |
90.70% (205 of 226). |
|
Line coverage |
90.80% (573 of 631). |
|
Vue/TypeScript validation |
Type checking passed. |
The suite passed all 170 tests and exceeded the configured eighty-percent aggregate threshold in each coverage category. The reported coverage measures the configured critical application paths collectively.
The reusable build workflow runs the coverage suite before building deployment artifacts. Automated coverage checks and manual QA validation of Jira acceptance criteria provide complementary release checks.
6. Deployment and Maintenance
The project uses Yarn 4.4.0 and private WestJet packages obtained through the authenticated corporate registry. Environment-specific Vite builds supply the API and Blob configuration needed by the browser. Local development proxy configuration is separate from deployed endpoint configuration.
GitHub Actions workflows implement reusable build and deployment steps, with static artifacts deployed to Azure Storage. The development workflow deploys to QA only after its QA build and development deployment have succeeded. The release workflow chains development, QA, staging, and production deployment dependencies; a separate SIT-staging deployment depends on QA. Environment builds can run independently before their deployment prerequisites are satisfied.
The workflows implement the staged deployment structure outlined in the earlier reports. Automated tests run before deployment artifacts are built, and each deployment depends on the required builds and preceding environment deployments. QA validation of the Jira acceptance criteria complements these automated checks.
I documented project setup, environment variables, permissions, development commands, and revised requirements. The documentation explains how to configure local and deployed environments, including the API endpoints, Blob read/write URLs, and CORS requirements needed for cache and feature flag operations. This supports continued development and maintenance within the team’s existing environment.
7. Changes, Limitations, and Future Work
7.1 Revisions to the Original Design
The original design described a broader enterprise solution. My implementation focused on the cache and feature flag workflows, the Basic Authentication integration, and client-side access controls. Enterprise SSO and service-side security and auditing remained outside the capstone deliverables. The following table summarizes the main implementation decisions:
|
Original expectation |
Delivered implementation or current boundary |
|
Enterprise SSO and secure-cookie session storage |
SSO deferred because external integration endpoints were unavailable; the client uses the agreed authentication API and a token in localStorage. |
|
super-admin and feature-flag-manager role names |
The client uses admin, cache-admin, and feature-flag-admin, with ff-admin accepted as an alias. |
|
Cache calls protected by the dashboard’s Bearer token |
Cache requests currently use build-configured Basic credentials through the Axios interceptor; this is separate from authentication API Bearer requests. |
|
Broad TanStack management of remote configuration |
Vue Query manages cache-related requests; Pinia explicitly coordinates feature flag configuration and writes. |
|
Atomic feature flag updates and rollback |
Individual documents are replaced; concurrent environment saves are not a transaction, and failed-save UI recovery does not undo successful storage writes. |
|
Service audit trails, configuration history, and restore |
A client operation log is not a durable audit trail; authoritative auditing and authorized version restoration require platform or API support. |
|
Enterprise hosting and identity controls |
Hosting and platform teams manage TLS/HSTS policy, network restrictions, service-side CSRF requirements, and operational SLAs outside the capstone scope. |
7.2 Security and Operational Limitations
The authentication integration stores the access token in localStorage, and the cache and Blob services use credentials supplied through build configuration. These credentials are available to the browser, and client-side controls govern the interface rather than access to the underlying services. Scripts running in the application’s origin can access the stored token, while a Blob SAS URL grants its permissions independently of the user’s dashboard role.
I focused on the frontend integration and role-sensitive workflows. Enterprise identity integration, service-enforced authorization, credential management, and authoritative audit logging remain the responsibility of the identity, API, and platform teams outside the capstone scope.
8. Conclusion
For this capstone, I implemented a Vue-based dashboard for cache investigation, controlled cache refresh, and feature flag management. The application follows the architecture established in the earlier reports and uses shared components, layered services and stores, automated tests, Storybook, and reusable deployment workflows within WestJet’s existing engineering environment.
The project brought together requirements analysis, design, implementation, testing, and documentation into a maintainable administrative application. The completed dashboard includes the Azure Basic Authentication integration, client-side access controls, and the two core administrative modules. The automated test suite passed its coverage thresholds, and QA validated the Jira acceptance criteria. Together, these activities connected the original requirements to the delivered workflows and their verification.
The main lesson from this project was that delivery within a business depends on more than the frontend implementation. Software access permissions, team availability, and work owned by external teams all affected when an integration could be completed. I learned to account for those dependencies when planning work rather than treating the original timeline as a fixed sequence. Scrumban and the biweekly check-ins helped me manage progress and adjust priorities through the schedule delays.
Corporate constraints also shaped the solution. The unavailable SSO integration required a change to the authentication approach, while the existing component library, APIs, and storage platform defined how the dashboard could be built. This reinforced the importance of adapting requirements to the available integrations and clearly separating my deliverables from work owned by other teams. Overall, the capstone demonstrated how requirements, architecture, verification, and delivery constraints need to be considered together when developing software within an established business environment.
9. References
[1] WestJet. (2026). WestJetting Since ’96. https://www.westjet.com/en-ca/who-we-are/brand
[2] Sabelli, A. (2026, August 26). Software Development Model Report. COMP 4911, Thompson Rivers University. https://comp4911.trubox.ca/2026/08/26/software-development-model-4/
[3] Sabelli, A. (2026, September 9). Requirements Report. COMP 4911, Thompson Rivers University. https://comp4911.trubox.ca/2026/09/09/analysis-report-2/
[4] Sabelli, A. (2026, September 29). Design Report. COMP 4911, Thompson Rivers University. https://comp4911.trubox.ca/2026/09/29/design-2/
[5] Sabelli, A. Original Requirements Report: functional and non-functional requirements. COMP 4911, Thompson Rivers University. Requirements tables supplied with this report.
[6] WestJet Digital Profile Apps. (2026). Profile App Dashboard Jira stories: Internal project records, exports generated November 17, 2026.