Details
Description
I would like a utility method that allows me get the feature repository name at a given URI.
Use case: User has uploaded a feature file to Maven repository, added the feature repository and installed features. Now the user builds their project and produces a .kar file containing the feature file. Upon deploying the .kar there are now two feature repositories with the same name (different uri) and the changes occurring to bundles in the kar are not installed.
Prior to adding a new feature repository I'd like to determine its name and first remove all existing feature repositories, then add the repository.