Amichai Rothman created KARAF-7606:
--------------------------------------
Summary: Install features in predictable order
Key: KARAF-7606
URL: https://issues.apache.org/jira/browse/KARAF-7606
Project: Karaf
Issue Type: Improvement
Components: karaf
Affects Versions: 4.4.2
Reporter: Amichai Rothman
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)