Closed karoldrazek closed 4 years ago
@karoldrazek thanks for suggesting this improvement.
Unfortunately it is not so easy to warmup AET bundles in the same fashion as basic Karaf and features dependencies.
Some of the AET bundles require connection to external services (e.g. ActiveMQ or MongoDB). Without the successful connection, bundle will not be started and Karaf startup generally fails.
In the current (0.9.0
) version of the AET Docker images OSGi configuration is a separate layer and is not coupled with the Karaf image (it is stored in the volumen and delivered to the image after it the build). Warming up AET bundles would require delivering some basic configs, that might be cached and cause problems with custom configs usage when deploying image.
Hi, finally I had some time to fix it - see #27 .
Right now karaf is pre-provisioned with only based bundles and dependencies. The AET bundles are installed afterwards.
Please kindly consider moving pre-provisioning or adding second pre-provisioning after installation of AET bundles.