RED-4515: Fixed kc config

This commit is contained in:
deiflaender 2023-03-24 09:17:02 +01:00
parent 336a34a55e
commit 09291ea39d
3 changed files with 2 additions and 6 deletions

View File

@ -36,10 +36,6 @@ public class UserListingService {
@Cacheable(value = USERS_CACHE, key = "'tenantId'")
public List<User> getAllUsers(String tenantId) {
if(tenantId == "master"){
return new ArrayList<>();
}
return retryTemplate.execute(context -> {
var realm = realmService.realm(tenantId);

View File

@ -139,7 +139,7 @@ keycloak:
commons:
keycloak:
applicationClientId: ${keycloak.resource:redaction-system}
applicationClientId: ${keycloak.resource:redaction}
clientId: ${keycloak.client.id}
clientSecret: ${keycloak.client.secret}
realm: ${keycloak.realm}

View File

@ -10,7 +10,6 @@ import java.util.stream.Stream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream;
import org.junit.Ignore;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
@ -32,6 +31,7 @@ public class DossierTemplateImportTest extends AbstractPersistenceServerServiceT
@SneakyThrows
@Test
@Disabled
public void testDossierTemplateImport() {
var importDir = new File("/Users/timobejan/work/dossier-templates-v2/dev");