-
Notifications
You must be signed in to change notification settings - Fork 260
Implement managed nodes #865
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
72c3ff6
wip
ivanpauno d72dc29
wip 2
ivanpauno fb17060
Fix possible ownership issue
ivanpauno b0bf636
make basic example work
ivanpauno 19d5234
Make all the services work, checked by doing manual testing
ivanpauno c01fe6f
More consistent style
ivanpauno 0c3b02b
Add some docs, add ManagedEntity concept
ivanpauno 8efe11c
Make all linters happy
ivanpauno 581d030
Quick lifecycle publisher implementation
ivanpauno d8451be
Minor style change
ivanpauno f5967cf
Fix issues introduced when implementing LifecyclePublisher, automatic…
ivanpauno ed57e05
Fixes to make it work again
ivanpauno 30cb7a0
Modularize the implementation
ivanpauno b53bb36
Improve SimpleManagedEntity.when_enabled
ivanpauno d1ff708
Add some docs to lifecycle publisher
ivanpauno 2ac7da1
Register all necessary callbacks, add State abstraction, other minor …
ivanpauno 33157f1
Minor style changes, add local API to trigger transitions
ivanpauno ebd1d9a
Test LifecycleNode constructor, fix when enable_communication_interfa…
ivanpauno c6c4d73
test transitions + fixes
ivanpauno 7517641
Add tests for lifecycle publisher
ivanpauno ce0d256
Please flake8
ivanpauno bd253ac
Minor style change after writting the demos
ivanpauno 324d4ef
Fix misspelled word
ivanpauno 2616315
Make some attributes in Node "protected" instead of private for easie…
ivanpauno b57a779
Remove TODO, add better docs
ivanpauno 041ea6d
Remove TODO in __register_callback
ivanpauno a72645b
Remove TODO
ivanpauno bc98247
Check transition callbacks return code type. Check type of added mana…
ivanpauno 6c20f80
Check that state is 'unconfigured' also before transition
ivanpauno 928ee79
Test lifecycle services
ivanpauno 59fcc4c
Delete early debugging code
ivanpauno c31b4f6
Please linters
ivanpauno 4ca2a36
Test the two remaining shutdown transitions. Correct error handling w…
ivanpauno c693398
Address peer review comments
ivanpauno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.