-
Notifications
You must be signed in to change notification settings - Fork 32
♻️ Refactors catalog's update_service operation
#7181
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
♻️ Refactors catalog's update_service operation
#7181
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7181 +/- ##
==========================================
+ Coverage 87.66% 88.89% +1.23%
==========================================
Files 1641 1318 -323
Lines 64188 54971 -9217
Branches 1179 570 -609
==========================================
- Hits 56271 48868 -7403
+ Misses 7606 5974 -1632
+ Partials 311 129 -182
Continue to review full report in Codecov by Sentry.
|
update_service operation
update_service operationupdate_service operation
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.
lgtm
thanks a lot for the effort!
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.
Nice, thanks!
|
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 a lot for your fix of the ci. Please see my comment.



What do these changes do?
This PR refactors the
Serviceresource (models and APIs) in thecatalog, accessed via REST from theapi-serverand RPC from thewebserver.update_servicecatalog's RESTupdate_serviceentry point (PATCH /service/{*}/{*}), as an alternative is now available in therpcinterface.ServiceUpdatein favor ofServiceUpdateV2.catalog's client in thewebserverthat calls to deprecated catalog entries.ModelClass.model_json_schema()["examples"]instead ofModelClass.model_config["json_schema_extra"]["examples"]error_codein the context.api-specsjob failed becausegithub.event.afterresolves asnullRelated issue/s
How to test
Dev-ops
None