Konrad Windszus created FELIX-6732:
--------------------------------------
Summary: Provide post processor hook for
InterpolationConfigurationPlugin
Key: FELIX-6732
URL: https://issues.apache.org/jira/browse/FELIX-6732
Project: Felix
Issue Type: New Feature
Components: Configuration Admin
Reporter: Konrad Windszus
Currently the
[InterpolationConfigurationPlugin|https://github.com/apache/felix-dev/blob/master/configadmin-plugins/interpolation/src/main/java/org/apache/felix/configadmin/plugin/interpolation/InterpolationConfigurationPlugin.java]
cannot be extended. If one needs to add some post processing to the
interpolated values one needs to come up with a completely new
{{org.osgi.service.cm.ConfigurationPlugin}}.
For some edge cases it would be helpful to plugin post processors (which kick
in after doing the interpolation as provided by
{{InterpolationConfigurationPlugin}} but before doing the type conversion (i.e.
always acting on String values). I would propose to call all registered
{{InterpolationConfigurationPluginPostProcessor}} services in order of their
service ranking. The method signature could be a
[UnaryOperator](https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)