Apache Sling Context-Aware Configuration - Override via OSGi configuration
I am investigating the feasibility of overriding the Context Aware values using OSGi configurations as stated in this document https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration-override.html#override-via-osgi-configuration
Essentially this is for having different values based on run mode configurations. Not for production environment.
For example, I am taking the a sample implementation created by Jörg here. If I want to overwrite the value of the property 'approverGroup' in caconfig file following the above doc by providing a run mode config for the factory for e.g org.apache.sling.caconfig.impl.override.OsgiConfigurationOverrideProvider-test1. Is the value for 'overrides' property something like this to do the job. I tried below and it doesn't seem to work. Or am I missing something else?
[/content/test/en]de.joerghoh.cqdump.caconfig.workflow.CaConfigParticipantStepChooserConfig/approverGroup =osgi-approver