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

Allow custom plugin loader injection #213

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

fantayeneh
Copy link
Contributor

The PR addresses the following issue.

The problem

We want the ability to use a custom PluginsLoader that is not sourced from the yaml configs.

Detailed description

Right now the method that allow injecting a custom PluginsLoader in the styx system is package private

https://github.com/HotelsDotCom/styx/blob/41238747919cbe7acf937b6268bfd94aa935a240/components/proxy/src/main/java/com/hotels/styx/startup/StyxServerComponents.java#L144-L148

Acceptance criteria

• A developer should be able to inject a custom PluginsLoader when building a styx server

Copy link
Contributor

@mikkokar mikkokar left a comment

Choose a reason for hiding this comment

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

For the record: @fantayeneh wants to use a custom plugin loader because they need to share expensively created objects between the plugins.

@mikkokar mikkokar merged commit 281d716 into ExpediaGroup:master Jul 12, 2018
mikkokar added a commit to mikkokar/styx that referenced this pull request Jul 13, 2018
mikkokar added a commit that referenced this pull request Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants