keycloak-aplcache

Details

diff --git a/testsuite/integration-arquillian/servers/auth-server/jboss/pom.xml b/testsuite/integration-arquillian/servers/auth-server/jboss/pom.xml
index 72c2f98..8d23106 100644
--- a/testsuite/integration-arquillian/servers/auth-server/jboss/pom.xml
+++ b/testsuite/integration-arquillian/servers/auth-server/jboss/pom.xml
@@ -57,6 +57,9 @@
         <unpacked.artifact.version>${auth.server.dist.version}</unpacked.artifact.version>
         
         <auth.server.home>${project.build.directory}/unpacked/${auth.server.dist.unpacked.folder.name}</auth.server.home>
+        
+        <!--used in profile auth-server-cluster. profile jpa sets this to true-->
+        <skip.h2.tcp>false</skip.h2.tcp>
     </properties>
                         
     <profiles>
@@ -268,6 +271,7 @@
             <id>jpa</id>
             <properties>
                 <jdbc.mvn.driver.deployment.dir>${auth.server.home}/modules/system/layers/base/com/${jdbc.mvn.artifactId}/main</jdbc.mvn.driver.deployment.dir>
+                <skip.h2.tcp>true</skip.h2.tcp>
             </properties>
             <build>
                 <pluginManagement>
@@ -344,7 +348,7 @@
                                             <!-- create module.xml in modules -->
                                             <transformationSet>
                                                 <dir>${auth.server.home}/modules/system/layers/base/com/h2database/h2/main</dir>
-                                                <stylesheet>src/main/resources/module.xsl</stylesheet>
+                                                <stylesheet>src/main/resources/xslt/module.xsl</stylesheet>
                                                 <includes>
                                                     <include>module.xml</include>
                                                 </includes>
@@ -366,6 +370,7 @@
                                                 <stylesheet>${common.resources}/datasource.xsl</stylesheet>
                                                 <includes>
                                                     <include>standalone.xml</include>
+                                                    <include>standalone-ha.xml</include>
                                                 </includes>
                                                 <outputDir>${auth.server.home}/standalone/configuration</outputDir>
                                                 <parameters>
@@ -421,14 +426,13 @@
                             <artifactId>xml-maven-plugin</artifactId>
                             <executions>
                                 <execution>
-                                    <id>configure-wildfly-datasource</id>
+                                    <id>jpa-h2-tcp</id>
                                     <phase>process-resources</phase>
                                     <goals>
                                         <goal>transform</goal>
                                     </goals>
                                     <configuration>
                                         <transformationSets>
-                                            <!-- point KeycloakDS datasource to H2 running on TCP port -->
                                             <transformationSet>
                                                 <dir>${auth.server.home}/standalone/configuration</dir>
                                                 <includes>
@@ -447,6 +451,18 @@
                                                     </parameter>
                                                 </parameters>
                                             </transformationSet>
+                                        </transformationSets>
+                                        <skip>${skip.h2.tcp}</skip>
+                                    </configuration>
+                                </execution>
+                                <execution>
+                                    <id>keycloak-ispn-caches</id>
+                                    <phase>process-resources</phase>
+                                    <goals>
+                                        <goal>transform</goal>
+                                    </goals>
+                                    <configuration>
+                                        <transformationSets>
                                             <transformationSet>
                                                 <dir>${auth.server.home}/standalone/configuration</dir>
                                                 <includes>