>>>>> Steinar Bang <s...@dod.no>: > Note: this project is currently in flux, I'm in the process of > reorganizing the project to be able to have a karaf integration test > that loads the feature (and sets up a simple schema and populates the > schema with some data).
So I created a bundle project with a PreHook java class, and in the feature.xml added a jdbc-config feature that creates the datasource and requires the PreHook feature. And then I created an integration test that loads the jdbc-config feature. And according to the karaf.log this just loads all features and then stops. What's needed to actually run the PreHook? Do I need to create another feature that requires the jdbc-config feature and expects a DatataSource service?