Hi, the OSGi spec groups are working on something called the configurator (RFC 218), see https://github.com/osgi/design/tree/master/rfcs/rfc0218 which - simply put - allows to provide configurations through resources in a bundle.
I've started an initial implementation which should be feature complete but is not really tested atm, a smoke test succeeds at least :) The implementation is at: https://svn.apache.org/repos/asf/felix/sandbox/configurator The configurator is based on new features in configuration admin (RFC 227), see https://github.com/osgi/design/tree/master/rfcs/rfc0227 The initial implementation is at: https://svn.apache.org/repos/asf/felix/sandbox/configadmin-r7 As with the configurator, the implementation is feature complete but only partially tested. In addition the configurator requires the new converter service (implemented by David) at https://svn.apache.org/repos/asf/felix/trunk/converter and a yaml parser. It currently uses snakeyaml ( https://bitbucket.org/asomov/snakeyaml) In order to get the configurator running you need to deploy those for bundles. Feedback, improvements, bug reports welcome of course :) But please note that it would be better to have the discussions about the RFCs itself via the OSGi feedback mechanism, which is the OSGi issue tracker and/or the OSGi mailing list. Of course we can prediscuss things here and then bring it forward. Regards Carsten -- Carsten Ziegeler Adobe Research Switzerland [email protected]
