[MODULES-158] Add resource discovery API
Alling BundleWiring.listResources() with resource discovery API