Using sling:OsgiConfig nodes and the Felix UI
I'm experimenting with configuration for an OSGi bundle, and getting some results I don't understand.
In CQ 5.4 I created a sling:OsgiConfig node at /apps/client/project/config/package.className with a property of "currentEnvironment". If I view this in the Felix UI, I see my value correctly. But if I edit it in the Felix UI, I don't know where the change is persisted to. The config node still has the same value. I tried stopping and starting the service, and my changes continue to be in effect, but I can't find where it's stored, which leaves me uncertain how it's persisted, or what might cause my changes to be lost. Where is it?
In AEM 5.6.1, I did a similar thing, but when I edit the value in Felix UI, the sling:OsgiConfig node has been deleted and replaced by a nt:file node, with the data stored in text. Is this expected behavior, and is there a way to keep the sling:OsgiConfig node?