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

Dynamic plugin configuration #103

Open
Enet4 opened this issue Aug 30, 2015 · 0 comments
Open

Dynamic plugin configuration #103

Enet4 opened this issue Aug 30, 2015 · 0 comments

Comments

@Enet4
Copy link
Collaborator

Enet4 commented Aug 30, 2015

As part of what we had in mind during the development of our Lucene plugin, we lack the means of reconfiguring a plugin while Dicoogle is running. I propose that we expose this feature with a web service and internally via the SDK. Something like this:

Getting: GET /management/settings/plugin/<plugin-name> : would return an XML document

Setting: POST/PUT /management/settings/plugin/<plugin-name> : I'm not sure how I'd design this one. Providing a full XML document in the HTTP body is impractical because the user might only need to redefine one property. On the other hand, defining an XML element is more than just a key-value pair.

ConfigurationHolder DicooglePlatformInterface#getPluginSettings(String pluginName);
// not sure about this one either
DicooglePlatformInterface#setPluginSettings(String pluginName, ConfigurationHolder config);

Let us use this issue to make a decision on the API.

@bastiao bastiao added this to the 2.1 milestone Aug 30, 2015
@bastiao bastiao modified the milestones: 3.0.0, 2.2.0 Dec 26, 2015
@bastiao bastiao modified the milestones: 3.0.0, 4.0.0 Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants