-
Notifications
You must be signed in to change notification settings - Fork 29
✨ Adding director-v0 client to dynamic-scheduler #7001
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
✨ Adding director-v0 client to dynamic-scheduler #7001
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7001 +/- ##
==========================================
- Coverage 86.93% 86.84% -0.10%
==========================================
Files 1651 1519 -132
Lines 64740 61752 -2988
Branches 2035 1744 -291
==========================================
- Hits 56283 53629 -2654
+ Misses 8122 7841 -281
+ Partials 335 282 -53
Continue to review full report in Codecov by Sentry.
|
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.
I am not sure I understand the approach here.
The director V0 dynamic services facilities were only to be used via the director-v2, and now you are moving all this away.
Even if the director-v0 was upgraded to fastapi, we still want to deprecate the legacy services part. with what you are doing here, you are opening the door again unless I am missing something.
Also, why do you need to access the service labels via the dv-0? these are exposed by the catalog, which also adds up overrides, etc etc on top. This is all lost if you go straight for dv-0.
Let's maybe discuss the use-case. Thanks!
packages/service-library/src/servicelib/fastapi/http_client_thin.py
Outdated
Show resolved
Hide resolved
...dynamic-scheduler/src/simcore_service_dynamic_scheduler/services/director_v0/_thin_client.py
Outdated
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.
so you will remove the dv-0 forwarding calls from the dv-2?
|
What do these changes do?
Adding interface for
director-v0
insidedynamic-scheduler
. Only the functionality used by the dynamic backend was extracted fromdirector-v2
.Related issue/s
How to test
Dev-ops checklist