I have created config node with type of sling:osgiConfig inside my application and was able to fetch the values successfully based on the run mode. But the problem is if update the values for any properties thro felix console then the sling:osgiConfig node becomes nt:file under /apps/<myapp>/config/<myconfig>. If i open the file it just a property file with key/value pair.
I am facing this problem with AEM 5.6 only but in 5.4 and 5.5 i dont have any issues
It is expected behaviour & not sure what issue you are facing. In case you want to disable rewrite, then uncheck "Enable Write Back" at http://<host>:<port>/system/console/configMgr/org.apache.sling.installer.provider.jcr.impl.JcrIns taller
I dont want to disable to write back option instead i want to maintain config node type of sling:osgiConfig even though i change the values from felix console.