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

Install features in predictable order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.4.2
    • None
    • karaf
    • None

    Description

      The order in which features are installed can make a difference due to some conflicts, refreshes, etc. When installing features e.g. via featuresBoot, they seem to get installed in arbitrary order and not in the specified order, which makes it impossible to control the order, and have predictable application startup and behavior. This is likely due to the use of HashSets and HashMaps in the featuresServiceImpl processing (and possibly elsewhere). Using LinkedHashSets or similar when processing/mapping/creating sets can help keep the order predictable. Or just use Lists and remove duplicates once at the beginning.

      Attachments

        Activity

          People

            Unassigned Unassigned
            amichai Amichai Rothman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: