Initialize Infinispan earlier in the build chain (#21171)
Closes #24860 Signed-off-by: Martin Bartoš <mabartos@redhat.com>
This commit is contained in:
parent
c5bcdbdc3f
commit
b8467d80f1
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ import io.quarkus.deployment.builditem.ShutdownContextBuildItem;
|
|||
|
||||
public class CacheBuildSteps {
|
||||
|
||||
@Consume(KeycloakSessionFactoryPreInitBuildItem.class)
|
||||
@Record(ExecutionTime.RUNTIME_INIT)
|
||||
@Consume(ConfigBuildItem.class)
|
||||
@Record(ExecutionTime.STATIC_INIT)
|
||||
@BuildStep
|
||||
void configureInfinispan(KeycloakRecorder recorder, BuildProducer<SyntheticBeanBuildItem> syntheticBeanBuildItems, ShutdownContextBuildItem shutdownContext) {
|
||||
String configFile = getConfigValue("kc.spi-connections-infinispan-quarkus-config-file").getValue();
|
||||
|
|
Loading…
Reference in a new issue