WAR File Name in WildFly Keycloak Config

Hi,

Is there a way to use an expression in the element of the WildFly Keycloak subsystem config? The artifact names change from release to release.

I’ve looked into skipping this by packing a .json, but then I need to handle varying URLs throughout the QA deployments.

Thanks,
Carl

I think I resolved this. The docs mention that you can use “module-name” in the web.xml. Going to the WildFly config, I can just put in module-name followed by a .war suffix. For instance, I can deploy carl-1.0-SNAPSHOT.war, have it register module “carl” in the web.xml, then point to that deployment in WildFly as name=“carl.war” (even though there is no carl.war).