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

Add support for configuring options in plugins #48

Open
3 tasks
jpower432 opened this issue Feb 13, 2025 · 0 comments
Open
3 tasks

Add support for configuring options in plugins #48

jpower432 opened this issue Feb 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jpower432
Copy link
Member

Feature Objective

For the v2 implementation, add a new method to the policy plugin interface to pass global configuration options. The goal of the configuration would be to tune the behavior of the plugin, but not on a granular level (like per policy). The goal would be allowing the plugin to apply the configuration after its initialization, but before any transformation method were called.

Caveats/Assumptions

  • This may not be applicable to many plugins, thus it should be optional

Completion Criteria

  • The plugin must have a way to specify validation options along with default values. Recommend the configuration be specified in the plugin.Manifest
  • In the framework, the plugin should be configured after initialization
  • The framework must accept per plugin configuration options and reconcile that with the defaults
@jpower432 jpower432 added the enhancement New feature or request label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant