Skip to content

Conversation

@pkolbeck
Copy link
Contributor

New Features

Adjusted services and endpoints to be able to return dicts on get requests, and handle bad objects in returns.
Mixin class for services and interfaces to be able to execute gets, sets, and cmds.
Mixin class for services and endpoints to be able to respond to gets, sets, and cmds.

Fixes

Testing

Tests conducted on personal machine, using code in scripts/pkolbeck_scripts/dripline_testing
pytest in dripline-python/tests.
KNOWN ISSUES
A service querying an endpoint that it holds breaks the service somehow via creating new (bad?) channels in the rabbit-broker.
pytest throws two warnings, but has no errors.
2025-04-10 18:48:11.504 [WARNING] (7) endpoint.cc:213 -> Cannot send reply because the service pointer is not set 2025-04-10 18:48:11.506 [WARNING] (7) endpoint.cc:213 -> Cannot send reply because the service pointer is not set
unknown if this prevents functionality.

Prior to merging for releases:

  • [ ] update the project's version in the top-level CMakeLists.txt file
  • [ ] update the appVersion to be the new container image tag version in chart/Chart.yaml

@pkolbeck pkolbeck requested a review from nsoblath April 10, 2025 18:51
Copy link
Member

@nsoblath nsoblath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job on this. Just a small-ish change requested to simplify the definition of on_get() and on_set().

Copy link
Member

@nsoblath nsoblath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the fixes

@nsoblath nsoblath merged commit ff8e495 into main Apr 18, 2025
3 checks passed
@nsoblath nsoblath mentioned this pull request Apr 18, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants