-
Notifications
You must be signed in to change notification settings - Fork 27
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
♻️ project CRUD routes: updates OAS and model schemas (part 1) #4064
♻️ project CRUD routes: updates OAS and model schemas (part 1) #4064
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4064 +/- ##
========================================
- Coverage 85.4% 85.4% -0.1%
========================================
Files 952 954 +2
Lines 41350 41294 -56
Branches 962 946 -16
========================================
- Hits 35350 35283 -67
- Misses 5782 5794 +12
+ Partials 218 217 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
82871a6
to
8b6e9e1
Compare
11f1632
to
f4c146e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 5118 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 14393 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 14407 lines exceeds the maximum allowed for the inline comments feature.
61a4db3
to
92c2a1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 14850 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 14849 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 14882 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 14886 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
14k files... you're doing a competition? ;)
looking forward to seeing my PRs in conflicts...
2707818
to
8a637dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24666 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24677 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24677 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24677 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24738 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24757 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24850 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24880 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24880 lines exceeds the maximum allowed for the inline comments feature.
Code Climate has analyzed commit 6b105be and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
This PR reviews the specs and implementation of CRUD operations on the
project
resource. The OAS now exposes a PATCH as well and all the schemas have been reviewed:This PR is very verbose and therefore, for the sake of clarity, is the first of many parts.
Highlights
project
and creates multiple pydantic models for projects inprojects/_rest_schemas.py
test_projects__rest_schemas.py
where new models are tested against data captured from real fe-be communications.api/specs/webserver/scripts/openapi_projects_crud.py
PATCH /project/*
interface (Implementation will follow in next PR)project_crud_handlers
projects/_utils*.py
POST /projects
validate now request body with new modelsapi/schemas
filesmypy
in ⬆️Maintenance: update mypy to 1.2.0 #4108 resurfaced new issuesRelated issue/s
How to test
cd services/web/server make install-dev pytest -vv tests/unit/isolated/test_project*.py