keycloak-uncached
Changes
testsuite/integration-arquillian/servers/app-server/jboss/common/add-adapter-log-level.xsl 44(+0 -44)
Details
diff --git a/testsuite/integration-arquillian/servers/app-server/jboss/common/cli/add-adapter-log-level.cli b/testsuite/integration-arquillian/servers/app-server/jboss/common/cli/add-adapter-log-level.cli
new file mode 100644
index 0000000..eab4cb2
--- /dev/null
+++ b/testsuite/integration-arquillian/servers/app-server/jboss/common/cli/add-adapter-log-level.cli
@@ -0,0 +1 @@
+/subsystem=logging/logger=org.keycloak.adapters:add(level=DEBUG)
\ No newline at end of file
diff --git a/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.bat b/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.bat
index 8a424c0..849e65e 100644
--- a/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.bat
+++ b/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.bat
@@ -64,6 +64,8 @@ if "%SAML_SUPPORTED%" == "true" (
)
)
+call %JBOSS_HOME%\bin\jboss-cli.bat -c --file="%CLI_PATH%\add-adapter-log-level.cli"
+
:shutdown_jboss
echo Shutting down with error code: "%ERROR%"
call %JBOSS_HOME%\bin\jboss-cli.bat -c --command=":shutdown"
diff --git a/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.sh b/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.sh
index 7a6e877..6570791 100755
--- a/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.sh
+++ b/testsuite/integration-arquillian/servers/app-server/jboss/common/install-adapters.sh
@@ -45,6 +45,8 @@ do
fi
fi
+ ./jboss-cli.sh -c --file="$CLI_PATH/add-adapter-log-level.cli"
+
./jboss-cli.sh -c --command=":shutdown"
rm -rf $JBOSS_HOME/standalone/data
rm -rf $JBOSS_HOME/standalone/log
diff --git a/testsuite/integration-arquillian/servers/app-server/jboss/pom.xml b/testsuite/integration-arquillian/servers/app-server/jboss/pom.xml
index f70e6af..dbbce65 100644
--- a/testsuite/integration-arquillian/servers/app-server/jboss/pom.xml
+++ b/testsuite/integration-arquillian/servers/app-server/jboss/pom.xml
@@ -16,7 +16,8 @@
~ limitations under the License.
-->
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<parent>
<groupId>org.keycloak.testsuite</groupId>
@@ -40,7 +41,7 @@
</properties>
<profiles>
-
+
<profile>
<id>app-server-jboss-submodules</id>
<activation>
@@ -50,7 +51,7 @@
</activation>
<build>
<plugins>
-
+
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
@@ -73,7 +74,7 @@
</execution>
</executions>
</plugin>
-
+
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
@@ -104,31 +105,12 @@
</execution>
</executions>
</plugin>
-
+
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions>
<execution>
- <id>configure-adapter-debug-log</id>
- <phase>process-test-resources</phase>
- <goals>
- <goal>transform</goal>
- </goals>
- <configuration>
- <transformationSets>
- <transformationSet>
- <dir>${app.server.jboss.home}/standalone/configuration</dir>
- <includes>
- <include>standalone.xml</include>
- </includes>
- <stylesheet>${common.resources}/add-adapter-log-level.xsl</stylesheet>
- <outputDir>${app.server.jboss.home}/standalone/configuration</outputDir>
- </transformationSet>
- </transformationSets>
- </configuration>
- </execution>
- <execution>
<id>io-worker-threads</id>
<phase>process-resources</phase>
<goals>
@@ -160,7 +142,7 @@
</execution>
</executions>
</plugin>
-
+
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>