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

Follow up on plugins life-cycle / per connection scoped. #4562

Merged
merged 3 commits into from
Mar 14, 2019

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Mar 14, 2019

Follow-up of the #4521 PR that introduced per connection scoped on plug-ins

Runners need now to be notified when client is disconnected and the usage of static needs to be removed to ensure we get correct instances every time.

benoitf added 3 commits March 14, 2019 11:54
…ed as now there can have several clients connected

Change-Id: I604b9c44c4278b64c0572716beb053891ad7ae4c
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
…ost.

Change-Id: I511fc3690f8a553dbec15839eefc811f97d8d37f
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
…nstances of the class.

- Add helper method stopContext() (like initContext but for stopping)
- Also introduce cleanup of the require cache to be sure to always have a proper initialization.

Change-Id: Id536d9d524d5d39a43033eba20e9d2bb6209d18a
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@benoitf benoitf added the plug-in system issues related to the plug-in system label Mar 14, 2019
@benoitf
Copy link
Contributor Author

benoitf commented Mar 14, 2019

@akosyakov let me know if I need to add clientClosed() call in interfaces in Changelog or if it's already handled by the 'introduction of per-scoped bindings'

@akosyakov
Copy link
Member

@benoitf if you want you can do it now, it looks like Ericsson team goes over issues before a release and groom CHANGELOG. I'm trying to make sure that breaking changes don't get missed.

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

I've tested that multiple windows with plugins still work good.

@benoitf benoitf merged commit f8b3be0 into master Mar 14, 2019
@benoitf benoitf deleted the plugins-lifecycle branch March 14, 2019 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants