Hello, What is the best strategy options for implementing a bundle repository accessible over HTTP, where I can deploy a minimal instance of Felix (as in, only a small set of bundles), then allow it to add bundles from the repository to complete the application's feature set?
For example, the minimum application may have a dependency on a javax.sql.DataSource (looking for a ServiceReference). I'd like to detect this unsatisfied requirement and then I could implement an appropriate administrative UI to fetch and install the bundle providing the service, based on a choice matching the customer's database platform. Have I missed some API that provides this sort of information/notification? I could probably parse this information for package dependencies (if I can detect a failure to resolve the bundle), but I've not seen any way to parse service requirements. I'm not sure if declarative services would fit with the repository idea either. And bonus question, is there any standard way to handle the case where the repository provides a more recent version and then fetch/install it, IF it matches the version range specified in the import range of the class/interface used when looking up the service? Thanks, Christopher

