Feat/cloudflare measurements v2#326
Open
vipulbhavsar94 wants to merge 304 commits into
Open
Conversation
…ckend into category-and-performance-merge-1
Category and performance merge 1
feat: Add ndtVersion field to MeasurementDto and MeasurementService
Dev/update
Dev/update
…elist Dev merge/category countries whitelist
…elist allow country iso2 to iso3
Dev/merge 11 9
adding deleted non count
Will be handled at service layer
Health Entity DB Implementation - Prisma Migration
…into sync-develop-admin-meter-landing-v2
adding chunks schools many update and also only targating status base…
adding new col external id and also serarchable
Add health entity tables
Add health columns to existing tables
Make school_id and giga_id_school id nullable
Seed entity_type table with data
…ty metrics extraction - Updated `package.json` and `package-lock.json` to use `@nestjs/schedule` version 6.1.3 and `cron` version 4.4.0. - Added new DTOs for Cloudflare measurements, including detailed metrics for data usage, access information, server information, and measurement results. - Implemented mapping functions to convert Cloudflare measurement data into the application's internal format. - Enhanced the `MeasurementController` to support creating measurements by protocol, specifically for Cloudflare. - Added validation for measurement list queries and protocols. - Introduced quality metrics extraction functions to derive metrics from Cloudflare results. - Updated service methods to handle Cloudflare measurements and persist relevant quality metrics. - Added tests to ensure correct functionality for Cloudflare measurement handling and quality metrics extraction. Co-authored-by: Cursor <cursoragent@cursor.com>
…chema, and update migration to drop related database constraints and tables.
…DME with links to new documentation files - Introduced a section in `CONTRIBUTING.md` outlining the process for documenting merged pull requests, including file naming conventions and required content. - Updated `README.md` to include links to `CONTRIBUTING.md`, `CHANGELOG.md`, and new documentation directories for per-PR history and AI agent rules. - Added `CONTEXT_RULES.md` to define operational directives for AI agents working within the repository. - Created `CHANGELOG.md` for maintaining an append-only log of merged PRs. - Established `CURRENT_STATE.md` to serve as the single source of truth for the current system state. - Added architecture decision records (ADR) to document significant architectural choices. This commit enhances the clarity and structure of the contribution process and documentation for future contributors.
- Removed the migration check from the PR template to streamline the validation process. - Updated the validation section in the Cloudflare measurements protocol documentation to reflect that manual testing is now marked as complete, removing the need for a separate migration check. These changes enhance clarity in the PR process and ensure accurate documentation of validation steps.
- Removed the `country-config` module, including its controller, service, and DTOs, as well as the associated database table and enum. - Updated the `CHANGELOG.md` to reflect the removal of the legacy `country-config` API and the introduction of the `protocol-config` module for country/school configuration management. - Enhanced documentation in `CURRENT_STATE.md` and ADR 001 to clarify the new structure and the rationale behind the removal of legacy components. - Adjusted the application module to unregister the `CountryConfigModule` and ensure all references to the legacy API are removed. These changes streamline the configuration management process and eliminate outdated components, promoting a more cohesive architecture.
…test isolation - Removed the direct provision of `AuthGuard` and `ThrottlerGuard` in the test setup. - Implemented overrides for these guards to return a resolved promise for `canActivate`, enhancing test reliability and isolation. - Updated `ProtocolConfigService` tests to include new properties in the country protocol configuration, ensuring alignment with the latest schema changes. These adjustments streamline the testing process and ensure that tests accurately reflect the current application logic.
…ete obsolete migration files related to country configuration and measurement protocol quality metrics. Introduce a new migration for the updated protocol configuration structure, including new tables and foreign key constraints.
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.
No description provided.