Skip to content

feat: enhance PluginFactory with properties management#104

Merged
chirino merged 1 commit intoroastedroot:mainfrom
chirino:with-properties
Jul 17, 2025
Merged

feat: enhance PluginFactory with properties management#104
chirino merged 1 commit intoroastedroot:mainfrom
chirino:with-properties

Conversation

@chirino
Copy link
Collaborator

@chirino chirino commented Jul 17, 2025

  • Added a properties field to the PluginFactory.Builder for managing plugin properties.
  • Introduced methods withProperties and withProperty to set multiple or single properties respectively.
  • Updated the Plugin constructor to accept properties and ensure they are properly initialized.
  • return a value for the pluign_root_id property

This commit enhances the PluginFactory by allowing users to define and manage properties for plugin instances. The new methods facilitate easier configuration of properties, improving the flexibility and usability of the PluginFactory. This change is expected to streamline the process of setting up plugins with specific configurations, ultimately leading to a more robust implementation of the proxy-wasm functionality.

- Added a properties field to the PluginFactory.Builder for managing plugin properties.
- Introduced methods `withProperties` and `withProperty` to set multiple or single properties respectively.
- Updated the Plugin constructor to accept properties and ensure they are properly initialized.
- return a value for the pluign_root_id property 

This commit enhances the PluginFactory by allowing users to define and manage properties for plugin instances. The new methods facilitate easier configuration of properties, improving the flexibility and usability of the PluginFactory. This change is expected to streamline the process of setting up plugins with specific configurations, ultimately leading to a more robust implementation of the proxy-wasm functionality.

Signed-off-by: Hiram Chirino <hiram@hiramchirino.com>
@chirino chirino merged commit 5243e53 into roastedroot:main Jul 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant