-
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
✨ Implementing new list_services_paginated
entrypoint in web-api (part 1)
#5991
✨ Implementing new list_services_paginated
entrypoint in web-api (part 1)
#5991
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5991 +/- ##
=========================================
+ Coverage 84.5% 87.7% +3.2%
=========================================
Files 10 1289 +1279
Lines 214 55418 +55204
Branches 25 1101 +1076
=========================================
+ Hits 181 48648 +48467
- Misses 23 6531 +6508
- Partials 10 239 +229
Flags with carried forward coverage won't be shown. Click here to find out more.
|
6872f4c
to
6faffb9
Compare
1321962
to
32162b6
Compare
list_services_paginated
entrypoint in web-api (part 1)
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.
thanks
services/catalog/src/simcore_service_catalog/api/rest/_services.py
Outdated
Show resolved
Hide resolved
services/catalog/src/simcore_service_catalog/db/repositories/services.py
Show resolved
Hide resolved
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.
👍
a3e63f3
to
1550b6c
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.
Thanks
What do these changes do?
In PR #6003 we implemented a new
rpc
interface in thecatalog
and connected it with therest
api of thewebserver
service. This PR partially implementsapi.rpc._services.list_services_paginated
.Specifically:
db.repositories.services
)services.catalog.list_services_paginated
)api.rpc._services
) to service layerServiceGetV2
model in coordination with @odeimaizFollowing up PRs will cover:
Related issue/s
How to test
Driving tests
/dev/catalog/services-
WEBSERVER_DEV_FEATURE_ENABLED=1
(i.e. configuration in master deploy)/dev/doc
GET /dev/catalog/services/-/latest
. Expected fast and short response bodyGET /catalog/services/latest
. Expected slow and long response bodyDev-ops checklist
None