Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1808

Support unbinding configurations through the Web Console

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-2.0.2
    • webconsole-2.0.4
    • Web Console
    • None

    Description

      There are times where configurations exist in the system which are bound to bundles which do not exist any more. This may for example happen if a bundle is being uninstalled while the Configuration Admin service is not running. Another cause might be explicit configuration binding as per a call to Configuration.setBundleLocation() as the trunk version of Apache Felix SCR does. A Bundle location set in this way is not removed even if the bundle is uninstalled.

      To fix these issues, it would be helpfull if the web console would allow explicit unbinding of configurations by calling Configuration.setBundleLocation() with a null location. This does not cause configurations to actually be removed from any ManagedService[Factory] services or DS components. In fact the configuration will be bound again once it assigned. But in case of wrong bundle bindings, the configuration may afterwards be used again by components now located in bundles with a different bundle location.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: