Add features.sh to kernel images
Fixes #382. Adds features.sh to kernel images, runs features.sh if it is not run already in configure.sh
The PR is updated to rebase on 22.0.0.9 and adds back the eventually deprecated features (i.e. MP_MONITORING). The current change works as follows:
- Users who do not use
features.shwill get an error message indicating it is not an optimal build configuration (for kernel images only) and use installManager as normally would.-
helpers/build/features_installed.shis overriden in full images to not show the error message
-
- Users who opt-in to use
features.shwill switch to using featureManager infeatures.sh. In addition,configure.shwill act like in OpenLiberty/ci.docker by not running installManager.
Please let me know if any additional changes are needed to address.
switching to featureManager
@kabicin To make sure that featureUtility can download WebSphere Liberty's entitled features, please test with this feature in server.xml (within an application image that uses kernel WL image as the base)
usageMetering-1.0
I am hoping that it works as is, if not we probably have to specify the featurespom (as defined here)
@leochr usageMetering-1.0 installs correctly on WL kernel image with featureUtility alone. The recent changes also split the configure.sh xml files to move installing of <featureManager></featureManager> definitions into features.sh, retaining existing behaviour for configure.sh (using installUtility only) if features.sh wasn't used.