Skip to content
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

#266 - Change validation information #271

Merged
merged 6 commits into from
Mar 22, 2024

Conversation

michael-82
Copy link
Collaborator

No description provided.

@michael-82 michael-82 self-assigned this Mar 21, 2024
@michael-82 michael-82 linked an issue Mar 21, 2024 that may be closed by this pull request
@michael-82
Copy link
Collaborator Author

Changes to swagger doc are still missing. Rest can be used for testing already.

- add mutable criterion and structured query classes that can be easily annotated during validation. Provide converters to convert immutable to mutable and vice versa
- remove validatedstructuredquery
- add validation issues
- remove invalidCriteria from entities
- rename TermCodeValidation to StructuredQueryValidation
- remove ValidationIssues and directly use List<ValidationIssue>
- rename getinvalidcriteria
- modify tests
- add skipValidation parameter to get query and get template
@michael-82 michael-82 force-pushed the feature/266-change-validation-information branch from 26b08ba to 2ca7f48 Compare March 21, 2024 14:47
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

Attention: Patch coverage is 96.31336% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 77.01%. Comparing base (ca4b4e2) to head (3783b08).

Files Patch % Lines
...minology/validation/StructuredQueryValidation.java 92.30% 1 Missing and 3 partials ⚠️
..._gui_backend/query/api/MutableStructuredQuery.java 90.00% 1 Missing and 2 partials ⚠️
...ility_gui_backend/common/api/MutableCriterion.java 93.75% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #271      +/-   ##
=============================================
+ Coverage      75.48%   77.01%   +1.53%     
- Complexity       543      595      +52     
=============================================
  Files            125      128       +3     
  Lines           2235     2367     +132     
  Branches         109      132      +23     
=============================================
+ Hits            1687     1823     +136     
+ Misses           483      475       -8     
- Partials          65       69       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@michael-82 michael-82 marked this pull request as ready for review March 22, 2024 10:28
@michael-82 michael-82 added the enhancement New feature or request label Mar 22, 2024
@michael-82 michael-82 merged commit e592f79 into develop Mar 22, 2024
8 checks passed
@michael-82 michael-82 deleted the feature/266-change-validation-information branch March 22, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change validation information
2 participants