Skip to content

Feature/health entity api impl#335

Open
rashan-smith wants to merge 25 commits into
developfrom
feature/health-entity-api-impl
Open

Feature/health entity api impl#335
rashan-smith wants to merge 25 commits into
developfrom
feature/health-entity-api-impl

Conversation

@rashan-smith

Copy link
Copy Markdown
Collaborator

No description provided.

shantanunagarro-tech and others added 25 commits January 29, 2026 14:57
(STAGE) :: aggregated Availability as API endpoint | TECH-5738
Co-authored-by: Cursor <cursoragent@cursor.com>
….4.0; enhance tests with redis client mocks and update query keys in PingAggregationService tests
Expose guarded country and school set/delete routes with DTO validation, service persistence, and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
… controller integration

- Added Cloudflare measurement DTOs for data usage, access information, server information, and measurement results.
- Implemented mapping functions to convert Cloudflare measurement DTOs to the internal AddMeasurementDto format.
- Created a controller method to handle Cloudflare measurement submissions, including protocol validation and error handling.
- Introduced unit tests for the mapping functions and controller logic to ensure correct functionality.
- Updated package.json to include a seed script for database initialization.
- Introduced new fields for measurement protocol and quality metrics (latency, jitter, packet loss, and network quality score) in the measurements model.
- Implemented logic to handle Cloudflare and mlab protocols, enriching measurements with appropriate quality metrics.
- Added validation for measurement query parameters, including protocol filtering.
- Created unit tests to ensure correct functionality of measurement creation and quality metrics extraction.
- Updated API documentation to reflect new fields and query parameters.
…nd feature flags

- Updated @nestjs/cli to version 10.4.9 in package.json and package-lock.json.
- Added new V2 endpoints for connectivity and feature flags, including:
  - `POST /api/v2/connectivity` for facility-aware connectivity checks.
  - `GET /api/v2/feature-flags` for retrieving feature flags.
- Enhanced health API to support government ID filtering.
- Introduced new DTOs and services for handling V2 data structures.
- Updated existing services and controllers to accommodate new V2 functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants