Karaf
  1. Karaf
  2. KARAF-1878

Feature bundle start up order by startLvl

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 3.0.0.RC1
    • Fix Version/s: 2.3.0, 3.0.0.RC1
    • Component/s: karaf-feature
    • Labels:
      None

      Description

      Currently all features are read, all bundles installed and then started in the order they had been installed. Basically this is not a bad behavior, but independently it would be even better if we would/could sort the bundles by their start lvl before kicking them up. The attached patch shows this behavior.

      1. KARAF-1878-v2.3.x.patch.txt
        6 kB
        Andreas Pieber
      2. KARAF-1878-master.patch.txt
        9 kB
        Andreas Pieber

        Issue Links

          Activity

          Hide
          Andreas Pieber added a comment - - edited

          Required improvement: Add a property to switch back to the old behavior (thanks to Freeman for the hint)

          Show
          Andreas Pieber added a comment - - edited Required improvement: Add a property to switch back to the old behavior (thanks to Freeman for the hint)
          Hide
          Andreas Pieber added a comment -

          Required improvement: Document the new behavior in the docs (thanks to Jamie for the hint)

          Show
          Andreas Pieber added a comment - Required improvement: Document the new behavior in the docs (thanks to Jamie for the hint)
          Hide
          Andreas Pieber added a comment -

          Patch including all proposed enhancements for the master; I'll also provide an adapted version for 2.3.x soon

          Show
          Andreas Pieber added a comment - Patch including all proposed enhancements for the master; I'll also provide an adapted version for 2.3.x soon
          Hide
          Andreas Pieber added a comment -

          Update for 2.3.x

          Show
          Andreas Pieber added a comment - Update for 2.3.x
          Hide
          Andreas Pieber added a comment -

          Committed r1395933
          M assemblies/apache-karaf/src/main/filtered-resources/minimal/org.apache.karaf.features.cfg
          M manual/src/main/webapp/users-guide/provisioning.conf
          M features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
          M features/core/src/main/resources/OSGI-INF/blueprint/gshell-features.xml
          r1395933 = 0d3f714a5ea08a7a36b05f7697039004bb2510a4 (refs/remotes/origin/karaf-2.3.x)

          Committed r1395934
          M assemblies/features/framework/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg
          M manual/src/main/webapp/users-guide/provisioning.conf
          M features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
          M features/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
          r1395934 = 5f12c6bb9e37d13dd36a8114f9fa348ce9b36d68 (refs/remotes/origin/trunk)

          Show
          Andreas Pieber added a comment - Committed r1395933 M assemblies/apache-karaf/src/main/filtered-resources/minimal/org.apache.karaf.features.cfg M manual/src/main/webapp/users-guide/provisioning.conf M features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java M features/core/src/main/resources/OSGI-INF/blueprint/gshell-features.xml r1395933 = 0d3f714a5ea08a7a36b05f7697039004bb2510a4 (refs/remotes/origin/karaf-2.3.x) Committed r1395934 M assemblies/features/framework/src/main/filtered-resources/resources/etc/org.apache.karaf.features.cfg M manual/src/main/webapp/users-guide/provisioning.conf M features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java M features/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml r1395934 = 5f12c6bb9e37d13dd36a8114f9fa348ce9b36d68 (refs/remotes/origin/trunk)
          Hide
          Christian Schneider added a comment -

          svn commit -m "KARAF-1878 Adding property to features.cfg of standard distro"
          Sending apache-karaf/src/main/filtered-resources/etc/org.apache.karaf.features.cfg
          Transmitting file data .
          Committed revision 1396519.

          Show
          Christian Schneider added a comment - svn commit -m " KARAF-1878 Adding property to features.cfg of standard distro" Sending apache-karaf/src/main/filtered-resources/etc/org.apache.karaf.features.cfg Transmitting file data . Committed revision 1396519.

            People

            • Assignee:
              Andreas Pieber
              Reporter:
              Andreas Pieber
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development