-
Notifications
You must be signed in to change notification settings - Fork 3
VED-798 Validation Engine - integration with backend #996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VED-798 Validation Engine - integration with backend #996
Conversation
…980) * Bump @redocly/cli from 2.11.0 to 2.11.1 in the npm-minor-patch group Bumps the npm-minor-patch group with 1 update: [@redocly/cli](https://github.com/Redocly/redocly-cli). Updates `@redocly/cli` from 2.11.0 to 2.11.1 - [Release notes](https://github.com/Redocly/redocly-cli/releases) - [Commits](https://github.com/Redocly/redocly-cli/compare/@redocly/cli@2.11.0...@redocly/cli@2.11.1) --- updated-dependencies: - dependency-name: "@redocly/cli" dependency-version: 2.11.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Trigger Build --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Yip <daniel.yip4@nhs.net>
* init: move recordforwarder, copy src/models
* temp: sonar.cpd.exclusions
* nosonar
* temp: sonar.exclusions
* test: remove Dockerfile path
* test: remove Dockerfile path II
* test: remove Dockerfile path III
* fix source_path
* lint
* init: move batch source and tests, duplicate testing_utils
* backend -> lambdas
* cleanup docker tags
* sonar
* lambdas/backend
* sonar
* source_path
* clients/redis_client
* errors
* ruff
* shared/src/common/models
* TEMP: sonar exclusions
* TEMP: sonar exclusions II
* ruff
* cache
* interim - for merge
* interim - for merge II
* path fix
* backend tests
* ruff
* poetry.lock
* smells
* smell: pydantic.ValidationError
* smell: expression_attribute_values
* ApiValidationError
* errors / api_errors
* errors / api_errors II
* backend -> shared
* :${{ env.SHARED_PATH }}/tests
* recordforwarder -> shared
* sonar
* S5332
* smells
* smells II
* smells III
* constants
* ruff
* errors
* rest of errors
* ruff
* singleton s3 client
* shared s3 client II
* mesh_processor env
* assert bug fix attempt
* move_file
* move_file II
* reworked test_clients
* bucket cleanup
* get_nhs_number
* make_*_pk
* make_*_pk II
* cleanup
* remove cpd.exclusions
* utils -> aws_s3_utils
* backend/src/constants
* backend/src/constants II
* utils -> aws_s3_utils II
* remove PII
* revert PK stuff from generic_utils
|
This branch is working on a ticket in the NHS England VED JIRA Project. Here's a handy link to the ticket: VED-798 |
|
|
Work has been paused on this approach. Worth considering closing the PR. Especially if we get a clear outcome from VED-947 which results in us redesigning the approach. |
|
Closing for now. Can keep the branch for now, if we need in future. |



Summary
** Parked pending design/implementation of the validator with JSON Schemas
NB: this is a WIP. The changes only action the backend at the moment - not the batch processor.
Some tests have been patched pending update of the validation engine.
recordforwarder tests work, though they have been patched temporarily.
e2e tests don't work at the moment. Reason: the schema isn't in redis, therefore the validator is trying to parse an empty schema and returning an HTTP 400. We would have to add the schema into redis via terraform.
Reviews Required
Review Checklist
ℹ️ This section is to be filled in by the reviewer.