KEYCLOAK-19461 Add dependency for openshift restclient to quarkus dist to make the OpenShiftClientStorageTest work.

This commit is contained in:
Dominik 2021-10-12 15:10:55 +02:00 committed by Pedro Igor
parent d069ec7949
commit 8f3940032e
2 changed files with 16 additions and 2 deletions

View file

@ -13,7 +13,6 @@
<name>Keycloak Quarkus Server Extension</name> <name>Keycloak Quarkus Server Extension</name>
<artifactId>keycloak-quarkus-server</artifactId> <artifactId>keycloak-quarkus-server</artifactId>
<description>Keycloak Server</description> <description>Keycloak Server</description>
<dependencies> <dependencies>
<!-- Quarkus --> <!-- Quarkus -->
<dependency> <dependency>
@ -484,10 +483,25 @@
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<!-- twitter api -->
<dependency> <dependency>
<groupId>org.twitter4j</groupId> <groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId> <artifactId>twitter4j-core</artifactId>
</dependency> </dependency>
<!-- Openshift -->
<dependency>
<groupId>com.openshift</groupId>
<artifactId>openshift-restclient-java</artifactId>
<version>${version.com.openshift.openshift-restclient-java}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies> </dependencies>
<build> <build>

View file

@ -66,7 +66,7 @@ import static org.keycloak.testsuite.admin.ApiUtil.findUserByUsername;
* *
* @author <a href="mailto:psilva@redhat.com">Pedro Igor</a> * @author <a href="mailto:psilva@redhat.com">Pedro Igor</a>
*/ */
@AuthServerContainerExclude({AuthServer.REMOTE, AuthServer.QUARKUS}) @AuthServerContainerExclude({AuthServer.REMOTE})
@EnableFeature(value = OPENSHIFT_INTEGRATION, skipRestart = true) @EnableFeature(value = OPENSHIFT_INTEGRATION, skipRestart = true)
public final class OpenshiftClientStorageTest extends AbstractTestRealmKeycloakTest { public final class OpenshiftClientStorageTest extends AbstractTestRealmKeycloakTest {