Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2797

Allow FeaturesService to specify options during feature uninstallation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.4.0, 3.0.1, 2.3.5, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None

      Description

      Feature unintallation causes refreshing all packages of OSGi system:

      org.osgi.service.packageadmin.PackageAdmin.refreshPackages(null)
      

      that's usually reasonable. But sometimes it'd be better to uninstall some features and then perform the refreshing.

      My case is a test scenarion when I want to iterate over available features and install+uninstall each of them. Refreshing all packages causes unexpected behaviour of e.g., PAX Exam system.

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              gzres Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: