Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: webconsole-1.2.10
    • Fix Version/s: webconsole-2.0.0
    • Component/s: Web Console
    • Labels:
      None

      Description

      Currently the WebConsole in general and parts of the included plugins depend on a number of OSGi compendium services to be present (at least for package wiring).

      For example the ConfigurationRender plugin rendering the output of the ConfigurationPlugin services has dependencies on the Preferences Service API and the Configuration Admin API. If either or both API packages cannot be wired to the web console, the ConfigurationRender plugin fails to load and provide service. The fix here is factor out these two functionalities into separate ConfigurationRender implementations, which themselves may load or not depending on satisified dependencies.

      Likewise the web console depends on the OSGi ServiceTracker to be exported by some other bundle. This may not always be the case (though the Felix framework exports this package in the system bundle). So the ServiceTracker should be included as a private package in the WebConsole for additional independence.

        Activity

        Hide
        Felix Meschberger added a comment -

        Implemented this dependency refactoring in Rev. 817967:

        Create AbstractConfigurationPrinter from which new PreferencesConfigurationPrinter and ConfigurationAdminConfigurationPrinter extend. The latter two take the Preferences Service and Configuration Admin printing functionality formerly included in the ConfigurationRender itself. Also include the OSGi ServiceTracker in the bundle directly.

        Show
        Felix Meschberger added a comment - Implemented this dependency refactoring in Rev. 817967: Create AbstractConfigurationPrinter from which new PreferencesConfigurationPrinter and ConfigurationAdminConfigurationPrinter extend. The latter two take the Preferences Service and Configuration Admin printing functionality formerly included in the ConfigurationRender itself. Also include the OSGi ServiceTracker in the bundle directly.

          People

          • Assignee:
            Felix Meschberger
            Reporter:
            Felix Meschberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development