Skip to content
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

Switch to rivets.{Server,Task} types and the TaskHandler interface #176

Merged
merged 11 commits into from
Aug 15, 2024

Conversation

joelrebel
Copy link
Member

What does this PR do

  • Removes internal Component, Asset types and switches to the rivets equivalents.
  • Switches to the ctrl TaskHandler and Publisher interfaces.

This mainly sets the stage for inband work along with enabling Task persistence.

@joelrebel joelrebel changed the title Switch to rivets.{Server,Task} types and the updated ctrl interface Switch to rivets.{Server,Task} types and the TaskHandler interface Aug 9, 2024
jakeschuurmans
jakeschuurmans previously approved these changes Aug 9, 2024
As a prerequisite to using the rivets.Task type
since we're transitioning to use the rivets.Task type
This is based on the changes in the previous commit
The rivets.Task type is to be used by all controllers to execute work
recieved as conditions
This prepares the way to add inband fimware update support
The ctrl.NatsController deals with the Condition and passes a Task
object to the controller handler. This way the controller itself does
not have to deal with the Condition type and works with the Task type.
@joelrebel
Copy link
Member Author

rebased on main

@joelrebel joelrebel merged commit 207d95a into main Aug 15, 2024
7 checks passed
@joelrebel joelrebel deleted the ctrllib branch August 15, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants