Skip to content

Commit

Permalink
Rename Keycloak realms to follow convention
Browse files Browse the repository at this point in the history
  • Loading branch information
jedla97 authored and michalvavrik committed Jan 14, 2025
1 parent 2bb6c73 commit 1c5d859
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@Tag("QUARKUS-1676")
public abstract class BaseOidcMtlsIT {
protected static final String REALM_DEFAULT = "test-mutual-tls-realm";
protected static final String DEFAULT_REALM_FILE = "/test-mutual-tls-realm-realm.json";
protected static final String RESOURCE_PATH = "/ping";
protected static final String NORMAL_USER = "test-normal-user";
protected static final String CLIENT_ID_DEFAULT = "test-mutual-tls";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.quarkus.ts.security.oidcclient.mtls;

import static io.quarkus.test.bootstrap.KeycloakService.DEFAULT_REALM_FILE;
import static io.quarkus.ts.security.oidcclient.mtls.MutualTlsKeycloakService.newKeycloakInstance;

import org.apache.http.HttpStatus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.quarkus.ts.security.oidcclient.mtls;

import static io.quarkus.test.bootstrap.KeycloakService.DEFAULT_REALM_FILE;
import static io.quarkus.ts.security.oidcclient.mtls.MutualTlsKeycloakService.newKeycloakInstance;

import org.junit.jupiter.api.Tag;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class OpenShiftRhSsoOidcMtlsIT extends KeycloakMtlsAuthN {

@KeycloakContainer(command = { "start-dev", "--import-realm" }, image = "${rhbk.image}")
static KeycloakService rhsso = newRhSsoInstance("/keycloak-realm.json", REALM_DEFAULT);
static KeycloakService rhsso = newRhSsoInstance(DEFAULT_REALM_FILE, REALM_DEFAULT);

/**
* Keystore file type is automatically detected by file extension by quarkus-oidc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.quarkus.ts.security.oidcclient.mtls;

import static io.quarkus.test.bootstrap.KeycloakService.DEFAULT_REALM_FILE;
import static io.quarkus.ts.security.oidcclient.mtls.MutualTlsKeycloakService.newKeycloakInstance;

import org.junit.jupiter.api.Tag;
Expand Down

0 comments on commit 1c5d859

Please sign in to comment.